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.001113/0.001113, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 221.5 MB / 230.3 MB, free: 7.516 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.0008453/0.0008452, allocations: 91.2 kB / 281.2 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.614e-05/1.616e-05, allocations: 8 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.09867, allocations: 50.41 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2763/0.375, allocations: 77.19 MB / 464.6 MB, free: 1.695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.3752, allocations: 67.97 kB / 464.7 MB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007948/0.3832, allocations: 3.233 MB / 467.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3832, allocations: 0 / 467.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.3832, allocations: 4 kB / 467.9 MB, free: 14.39 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.0005738/0.3838, allocations: 454.6 kB / 468.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3838, allocations: 8.031 kB / 468.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.3839, allocations: 24.47 kB / 468.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3841, allocations: 219.4 kB / 468.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3842, allocations: 4 kB / 468.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.3842, allocations: 15.91 kB / 468.7 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002002/0.3844, allocations: 111.9 kB / 468.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.3847, allocations: 137.6 kB / 468.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.3847, allocations: 3.953 kB / 468.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.3847, allocations: 0 / 468.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3847, allocations: 11.94 kB / 468.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3858, allocations: 0.7084 MB / 469.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.386, allocations: 126.6 kB / 469.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.3861, allocations: 80.78 kB / 469.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3861, allocations: 4 kB / 469.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.3862, allocations: 34.56 kB / 469.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.163e-06/0.3862, allocations: 0 / 469.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002209/0.3864, allocations: 109.5 kB / 470 MB, free: 12.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3864, allocations: 59.41 kB / 470 MB, free: 12.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.3865, allocations: 127.2 kB / 470.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.3866, allocations: 25.7 kB / 470.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.3866, allocations: 132.2 kB / 470.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.3867, allocations: 47.27 kB / 470.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.3867, allocations: 0 / 470.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3868, allocations: 322.8 kB / 470.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.416e-05/0.3869, allocations: 39.95 kB / 470.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.315e-05/0.387, allocations: 67.77 kB / 470.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.134e-05/0.387, allocations: 45.33 kB / 470.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3871, allocations: 0 / 470.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001975/0.3873, allocations: 138.7 kB / 471 MB, free: 11.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3873, allocations: 8 kB / 471 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3873, allocations: 0 / 471 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.3873, allocations: 0 / 471 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.3875, allocations: 47.95 kB / 471 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3875, allocations: 7.969 kB / 471 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.847e-05/0.3876, allocations: 15.84 kB / 471 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3877, allocations: 11.94 kB / 471 MB, free: 11.07 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 7.312e-05/0.3877, allocations: 104.9 kB / 471.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.3878, allocations: 7.906 kB / 471.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.3878, allocations: 20.73 kB / 471.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3878, allocations: 0 / 471.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.3878, allocations: 8 kB / 471.2 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3878, allocations: 7.922 kB / 471.2 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.3881, allocations: 234.2 kB / 471.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3881, allocations: 0 / 471.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.3883, allocations: 31.98 kB / 471.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3883, allocations: 4 kB / 471.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3883, allocations: 0 / 471.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3883, allocations: 3.984 kB / 471.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3883, allocations: 0 / 471.5 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.3886, allocations: 263.4 kB / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.3887, allocations: 88.97 kB / 471.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.3887, allocations: 0 / 471.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3889, allocations: 19.97 kB / 471.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3889, allocations: 7.984 kB / 471.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.3889, allocations: 8 kB / 471.8 MB, free: 10.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.938e-05/0.389, allocations: 103.3 kB / 471.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.389, allocations: 0 / 471.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.3893, allocations: 51.73 kB / 472 MB, free: 10.04 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.0001171/0.3894, allocations: 99.19 kB / 472.1 MB, free: 9.938 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.3896, allocations: 99.94 kB / 472.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3896, allocations: 0 / 472.2 MB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.695e-05/0.3896, allocations: 51.94 kB / 472.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.3899, allocations: 27.25 kB / 472.3 MB, free: 9.766 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/0.3906, allocations: 393.5 kB / 472.6 MB, free: 9.359 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.3909, allocations: 0.7318 MB / 473.4 MB, free: 8.602 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.3909, allocations: 5.219 kB / 473.4 MB, free: 8.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.391, allocations: 15.44 kB / 473.4 MB, free: 8.578 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.391, allocations: 0 / 473.4 MB, free: 8.578 MB / 346.7 MB Notification: Performance of Templates: time 0.003213/0.3942, allocations: 1.275 MB / 474.7 MB, free: 7.312 MB / 346.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_ref,G.alpha,L.L,L.i,Nr.Ga,Nr.Gb,Nr.Ve,Ro.R,Ro.T,Ro.T_ref,Ro.alpha,time