Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.001111, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 221.3 MB / 235.5 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008335/0.0008333, allocations: 93.83 kB / 286.5 MB, free: 228 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.943e-05, allocations: 4 kB / 343.8 MB, free: 4.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09004/0.09007, allocations: 50.42 MB / 394.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2846/0.3747, allocations: 77.84 MB / 472.1 MB, free: 9.684 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000204/0.375, allocations: 71.8 kB / 472.2 MB, free: 9.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008338/0.3833, allocations: 3.257 MB / 475.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3833, allocations: 0 / 475.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3834, allocations: 4 kB / 475.4 MB, free: 6.352 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000512/0.3839, allocations: 454.6 kB / 475.9 MB, free: 5.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3839, allocations: 16.03 kB / 475.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.384, allocations: 23.66 kB / 475.9 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.3842, allocations: 206.9 kB / 476.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3843, allocations: 12 kB / 476.1 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.3843, allocations: 23.91 kB / 476.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.3846, allocations: 161.6 kB / 476.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3846, allocations: 0 / 476.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.3846, allocations: 15.94 kB / 476.3 MB, free: 5.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.3846, allocations: 4 kB / 476.3 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.3848, allocations: 119.9 kB / 476.4 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.3859, allocations: 0.774 MB / 477.2 MB, free: 4.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3862, allocations: 130.6 kB / 477.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.3863, allocations: 84.86 kB / 477.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.3863, allocations: 0 / 477.4 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3863, allocations: 46.55 kB / 477.5 MB, free: 4.125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.3864, allocations: 0 / 477.5 MB, free: 4.125 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002415/0.3866, allocations: 121.8 kB / 477.6 MB, free: 4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.3866, allocations: 55.41 kB / 477.6 MB, free: 3.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.3867, allocations: 129.5 kB / 477.8 MB, free: 3.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3868, allocations: 29.7 kB / 477.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.3868, allocations: 132.2 kB / 477.9 MB, free: 3.629 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.3869, allocations: 47.27 kB / 478 MB, free: 3.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.3869, allocations: 4 kB / 478 MB, free: 3.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.387, allocations: 326.8 kB / 478.3 MB, free: 3.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.3871, allocations: 43.95 kB / 478.3 MB, free: 3.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.3871, allocations: 61.7 kB / 478.4 MB, free: 3.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.822e-05/0.3872, allocations: 45.23 kB / 478.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3872, allocations: 0 / 478.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002114/0.3875, allocations: 154.7 kB / 478.6 MB, free: 2.941 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.3875, allocations: 4 kB / 478.6 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3875, allocations: 4.031 kB / 478.6 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3875, allocations: 4 kB / 478.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.3877, allocations: 43.92 kB / 478.6 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.3877, allocations: 7.984 kB / 478.7 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/0.3878, allocations: 15.84 kB / 478.7 MB, free: 2.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3879, allocations: 3.938 kB / 478.7 MB, free: 2.859 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.3879, allocations: 116.9 kB / 478.8 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.393e-05/0.388, allocations: 15.91 kB / 478.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.62e-05/0.388, allocations: 16.73 kB / 478.8 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.388, allocations: 4 kB / 478.8 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.388, allocations: 0 / 478.8 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.388, allocations: 0 / 478.8 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.3883, allocations: 269.3 kB / 479.1 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3883, allocations: 0 / 479.1 MB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.3885, allocations: 43.92 kB / 479.1 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3885, allocations: 3.984 kB / 479.1 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3885, allocations: 4 kB / 479.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.3886, allocations: 0 / 479.1 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3886, allocations: 4 kB / 479.1 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002837/0.3889, allocations: 269.7 kB / 479.4 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.3889, allocations: 88.95 kB / 479.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3889, allocations: 4 kB / 479.5 MB, free: 1.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3891, allocations: 20.03 kB / 479.5 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.3891, allocations: 11.98 kB / 479.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.3891, allocations: 0 / 479.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.3e-05/0.3892, allocations: 123 kB / 479.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3892, allocations: 0 / 479.6 MB, free: 1.805 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.3895, allocations: 51.84 kB / 479.7 MB, free: 1.754 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.3896, allocations: 99.25 kB / 479.8 MB, free: 1.645 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.3898, allocations: 107.9 kB / 479.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3898, allocations: 0 / 479.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.28e-05/0.3899, allocations: 55.55 kB / 480 MB, free: 1.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.3901, allocations: 29.81 kB / 480 MB, free: 1.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.3908, allocations: 410 kB / 480.4 MB, free: 1.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.3911, allocations: 0.7321 MB / 481.1 MB, free: 284 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.62e-05/0.3911, allocations: 9.203 kB / 481.1 MB, free: 272 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.437e-05/0.3912, allocations: 15.44 kB / 481.1 MB, free: 260 kB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3912, allocations: 4 kB / 481.1 MB, free: 256 kB / 346.7 MB Notification: Performance of Templates: time 0.003509/0.3947, allocations: 1.459 MB / 482.6 MB, free: 14.81 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.v,C2.C,C2.v,G.G,G.T,G.T_heatPort,G.T_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,time