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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001713/0.001712, allocations: 108.5 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.253/2.253, allocations: 222.9 MB / 241.8 MB, free: 15.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 51.95 kB / 300.6 MB, free: 6.316 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1648, allocations: 49.44 MB / 350.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005938/0.1708, allocations: 2.19 MB / 352.2 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1722, allocations: 0.5299 MB / 352.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.1724, allocations: 7.938 kB / 352.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.1726, allocations: 31.77 kB / 352.8 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.1728, allocations: 43.61 kB / 352.9 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1731, allocations: 47.95 kB / 352.9 MB, free: 2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000393/0.1735, allocations: 223 kB / 353.1 MB, free: 1.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002596/0.1738, allocations: 70.08 kB / 353.2 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.1739, allocations: 75.72 kB / 353.3 MB, free: 1.637 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1742, allocations: 91.61 kB / 353.3 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.1743, allocations: 12 kB / 353.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.955e-05/0.1743, allocations: 19.94 kB / 353.4 MB, free: 1.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.878e-05/0.1744, allocations: 39.89 kB / 353.4 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.1746, allocations: 95.52 kB / 353.5 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003297/0.1749, allocations: 175.8 kB / 353.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.175, allocations: 0 / 353.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.175, allocations: 0 / 353.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.175, allocations: 0 / 353.7 MB, free: 1.211 MB / 286.1 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.001267/0.1763, allocations: 490.8 kB / 354.2 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1763, allocations: 12.03 kB / 354.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.512e-05/0.1764, allocations: 24.66 kB / 354.2 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004804/0.1769, allocations: 216.1 kB / 354.4 MB, free: 408 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.177, allocations: 12.38 kB / 354.4 MB, free: 396 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.177, allocations: 20.38 kB / 354.4 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.1778, allocations: 181.8 kB / 354.6 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1779, allocations: 0 / 354.6 MB, free: 188 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.553e-05/0.1779, allocations: 8 kB / 354.6 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.178, allocations: 4 kB / 354.6 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.1785, allocations: 143.9 kB / 354.8 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.1807, allocations: 0.7623 MB / 355.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007198/0.1814, allocations: 158.5 kB / 355.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.1817, allocations: 100.8 kB / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1818, allocations: 0 / 355.8 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.1818, allocations: 34.56 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 5.119e-06/0.1819, allocations: 4 kB / 355.8 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000896/0.1828, allocations: 183.2 kB / 356 MB, free: 14.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.1828, allocations: 59.59 kB / 356.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.1831, allocations: 141.8 kB / 356.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.1831, allocations: 37.62 kB / 356.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.1834, allocations: 128.2 kB / 356.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.1834, allocations: 55.27 kB / 356.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.1836, allocations: 37.62 kB / 356.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.1838, allocations: 330.8 kB / 356.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.1841, allocations: 51.92 kB / 356.8 MB, free: 13.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.1844, allocations: 73.7 kB / 356.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.1848, allocations: 125.7 kB / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1848, allocations: 0 / 357 MB, free: 13.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006701/0.1855, allocations: 180.5 kB / 357.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1856, allocations: 4 kB / 357.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1856, allocations: 4 kB / 357.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1856, allocations: 7.938 kB / 357.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.186, allocations: 43.91 kB / 357.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.1861, allocations: 0 / 357.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.1863, allocations: 19.94 kB / 357.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.1863, allocations: 4 kB / 357.3 MB, free: 13.36 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.1865, allocations: 117.8 kB / 357.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1866, allocations: 15.89 kB / 357.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.513e-05/0.1867, allocations: 24.78 kB / 357.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1867, allocations: 3.938 kB / 357.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1867, allocations: 0 / 357.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1867, allocations: 0 / 357.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007255/0.1875, allocations: 265.4 kB / 357.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1875, allocations: 8 kB / 357.7 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.1879, allocations: 43.91 kB / 357.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1879, allocations: 0 / 357.7 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.188, allocations: 3.938 kB / 357.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.188, allocations: 0 / 357.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.188, allocations: 4 kB / 357.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/0.1889, allocations: 298.3 kB / 358 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/0.189, allocations: 97.12 kB / 358.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.189, allocations: 7.938 kB / 358.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.1894, allocations: 15.98 kB / 358.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.1895, allocations: 7.984 kB / 358.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1895, allocations: 3.938 kB / 358.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1897, allocations: 112.8 kB / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1897, allocations: 4 kB / 358.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007137/0.1904, allocations: 47.84 kB / 358.3 MB, free: 12.21 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001673/0.1906, allocations: 107.2 kB / 358.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005587/0.1912, allocations: 127.9 kB / 358.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1912, allocations: 0 / 358.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.1915, allocations: 59.91 kB / 358.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.1923, allocations: 31.98 kB / 358.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.1941, allocations: 0.6109 MB / 359.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005349/0.1947, allocations: 0.7243 MB / 360 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.1948, allocations: 15.44 kB / 360 MB, free: 10.47 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1948, allocations: 0 / 360 MB, free: 10.47 MB / 302.1 MB Notification: Performance of Templates: time 0.006242/0.2011, allocations: 2.008 MB / 362 MB, free: 8.469 MB / 302.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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.v,C2.v,L.i,time