Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008916/0.0008914, allocations: 93.55 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00081/0.0008101, allocations: 40.03 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1931, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003161/0.1963, allocations: 2.186 MB / 376 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008094/0.1971, allocations: 0.57 MB / 376.6 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1973, allocations: 7.188 kB / 376.6 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.1974, allocations: 22.64 kB / 376.6 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.611e-05/0.1975, allocations: 46.3 kB / 376.6 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001402/0.1976, allocations: 40.81 kB / 376.7 MB, free: 43.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.1978, allocations: 223 kB / 376.9 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.198, allocations: 73.27 kB / 377 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.193e-05/0.1981, allocations: 79.95 kB / 377.1 MB, free: 43.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.914e-05/0.1982, allocations: 99.33 kB / 377.2 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.1982, allocations: 14.41 kB / 377.2 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.324e-05/0.1982, allocations: 14.5 kB / 377.2 MB, free: 43.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.97e-05/0.1983, allocations: 37.53 kB / 377.2 MB, free: 43.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.1984, allocations: 100.7 kB / 377.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.1985, allocations: 221.7 kB / 377.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1985, allocations: 0 / 377.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.1985, allocations: 4 kB / 377.5 MB, free: 42.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1986, allocations: 0 / 377.5 MB, free: 42.96 MB / 298.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.000576/0.1991, allocations: 494.9 kB / 378 MB, free: 42.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1992, allocations: 9.5 kB / 378 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.1992, allocations: 23.25 kB / 378.1 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.1994, allocations: 225.9 kB / 378.3 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1994, allocations: 11.41 kB / 378.3 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.1995, allocations: 20.75 kB / 378.3 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.1998, allocations: 183.9 kB / 378.5 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1998, allocations: 0 / 378.5 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1998, allocations: 10.25 kB / 378.5 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1998, allocations: 4.625 kB / 378.5 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.2001, allocations: 137.7 kB / 378.6 MB, free: 42.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009165/0.201, allocations: 0.7446 MB / 379.4 MB, free: 41.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003228/0.2013, allocations: 161.1 kB / 379.5 MB, free: 41.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2015, allocations: 91.83 kB / 379.6 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2015, allocations: 1.094 kB / 379.6 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.2015, allocations: 35.75 kB / 379.7 MB, free: 41.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.213e-06/0.2016, allocations: 5 kB / 379.7 MB, free: 41.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003866/0.2019, allocations: 183.3 kB / 379.8 MB, free: 41.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.202, allocations: 57.47 kB / 379.9 MB, free: 41.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.757e-05/0.2021, allocations: 159.8 kB / 380.1 MB, free: 40.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.2021, allocations: 30.8 kB / 380.1 MB, free: 40.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.2021, allocations: 133.7 kB / 380.2 MB, free: 40.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.2022, allocations: 44.86 kB / 380.3 MB, free: 40.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.2022, allocations: 32.38 kB / 380.3 MB, free: 40.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.2023, allocations: 325.6 kB / 380.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.2024, allocations: 50.59 kB / 380.7 MB, free: 40.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.2025, allocations: 71.25 kB / 380.7 MB, free: 40.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.2027, allocations: 127.2 kB / 380.9 MB, free: 40.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2027, allocations: 0 / 380.9 MB, free: 40.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002761/0.203, allocations: 179.1 kB / 381 MB, free: 40.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.203, allocations: 6.5 kB / 381 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.203, allocations: 3.938 kB / 381 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2031, allocations: 4.938 kB / 381 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.2033, allocations: 44.59 kB / 381.1 MB, free: 40.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.2033, allocations: 1.188 kB / 381.1 MB, free: 40.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.2034, allocations: 17.5 kB / 381.1 MB, free: 40.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.2034, allocations: 12.36 kB / 381.1 MB, free: 40.07 MB / 298.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 () * 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 6.399e-05/0.2035, allocations: 124.9 kB / 381.2 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.2035, allocations: 14.55 kB / 381.3 MB, free: 39.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.2035, allocations: 18.91 kB / 381.3 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2035, allocations: 1 kB / 381.3 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2035, allocations: 1.25 kB / 381.3 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2036, allocations: 0 / 381.3 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.2038, allocations: 269.9 kB / 381.5 MB, free: 39.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.2038, allocations: 0 / 381.5 MB, free: 39.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.204, allocations: 46.25 kB / 381.6 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.204, allocations: 0 / 381.6 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.204, allocations: 5.25 kB / 381.6 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.204, allocations: 0 / 381.6 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.204, allocations: 5.469 kB / 381.6 MB, free: 39.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.2057, allocations: 1.521 MB / 383.1 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.511e-05/0.2057, allocations: 95.86 kB / 383.2 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.2058, allocations: 1.344 kB / 383.2 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2059, allocations: 20.39 kB / 383.2 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/0.2059, allocations: 8 kB / 383.2 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-06/0.206, allocations: 3 kB / 383.2 MB, free: 38.2 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.464e-05/0.206, allocations: 120 kB / 383.4 MB, free: 38.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.206, allocations: 0 / 383.4 MB, free: 38.1 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002921/0.2063, allocations: 57.94 kB / 383.4 MB, free: 38.09 MB / 298.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 () * 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 8.994e-05/0.2064, allocations: 108.2 kB / 383.5 MB, free: 38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.2067, allocations: 127.7 kB / 383.6 MB, free: 37.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2067, allocations: 3.938 kB / 383.6 MB, free: 37.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001098/0.2068, allocations: 68.41 kB / 383.7 MB, free: 37.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.2071, allocations: 22.7 kB / 383.7 MB, free: 37.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008579/0.208, allocations: 0.7296 MB / 384.5 MB, free: 37.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.2081, allocations: 0.723 MB / 385.2 MB, free: 36.58 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.911e-05/0.2082, allocations: 13.77 kB / 385.2 MB, free: 36.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.2082, allocations: 27.19 kB / 385.2 MB, free: 36.56 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.2083, allocations: 0 / 385.2 MB, free: 36.56 MB / 298.7 MB Notification: Performance of Templates: time 0.003723/0.212, allocations: 1.85 MB / 387.1 MB, free: 35.65 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","../files/Modelica_3.2.3_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