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.00117/0.001169, allocations: 109.1 kB / 17.06 MB, free: 6.023 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.001133/0.001133, allocations: 191 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 47.92 kB / 351.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4034, allocations: 49.44 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003783/0.4072, allocations: 2.152 MB / 402.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.4083, allocations: 0.5376 MB / 403.4 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.4084, allocations: 4 kB / 403.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.4086, allocations: 23.72 kB / 403.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.4087, allocations: 55.48 kB / 403.5 MB, free: 6.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.4089, allocations: 59.86 kB / 403.6 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002679/0.4092, allocations: 239 kB / 403.8 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.4094, allocations: 69.66 kB / 403.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.4095, allocations: 87.72 kB / 403.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.4098, allocations: 103.6 kB / 404.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.4098, allocations: 20 kB / 404.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.448e-05/0.4098, allocations: 24 kB / 404.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.4099, allocations: 43.84 kB / 404.1 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.41, allocations: 103.5 kB / 404.2 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.4104, allocations: 236.3 kB / 404.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.4104, allocations: 0 / 404.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4104, allocations: 0 / 404.5 MB, free: 5.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.4104, allocations: 0 / 404.5 MB, free: 5.129 MB / 318.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.0008963/0.4113, allocations: 0.491 MB / 405 MB, free: 4.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4114, allocations: 8.031 kB / 405 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.4114, allocations: 20.75 kB / 405 MB, free: 4.562 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.4118, allocations: 220 kB / 405.2 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.4118, allocations: 12.38 kB / 405.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.4119, allocations: 20.38 kB / 405.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.4123, allocations: 181.9 kB / 405.4 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4123, allocations: 0 / 405.4 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.4123, allocations: 4 kB / 405.4 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4123, allocations: 8 kB / 405.4 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.4126, allocations: 147.8 kB / 405.6 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.4139, allocations: 0.7467 MB / 406.3 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.4143, allocations: 150.6 kB / 406.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.4146, allocations: 104.8 kB / 406.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.4146, allocations: 0 / 406.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/0.4146, allocations: 34.56 kB / 406.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.4147, allocations: 7.938 kB / 406.6 MB, free: 2.809 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005217/0.4152, allocations: 184.8 kB / 406.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.4153, allocations: 59.34 kB / 406.8 MB, free: 2.555 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001698/0.4154, allocations: 159.2 kB / 407 MB, free: 2.391 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.4155, allocations: 25.7 kB / 407 MB, free: 2.359 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.4156, allocations: 140.1 kB / 407.2 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.4157, allocations: 43.36 kB / 407.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.4157, allocations: 29.72 kB / 407.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4159, allocations: 322.8 kB / 407.5 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.4161, allocations: 51.97 kB / 407.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4162, allocations: 77.64 kB / 407.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.4165, allocations: 125.6 kB / 407.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.4165, allocations: 0 / 407.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003438/0.4168, allocations: 179.7 kB / 408 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4168, allocations: 4.031 kB / 408 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4169, allocations: 4 kB / 408 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.675e-05/0.4169, allocations: 7.938 kB / 408 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.4171, allocations: 39.97 kB / 408 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.4172, allocations: 0 / 408 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.514e-05/0.4173, allocations: 19.78 kB / 408 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4173, allocations: 8 kB / 408.1 MB, free: 1.293 MB / 318.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.000145/0.4174, allocations: 125.8 kB / 408.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.4175, allocations: 11.91 kB / 408.2 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.4175, allocations: 28.78 kB / 408.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4176, allocations: 0 / 408.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4176, allocations: 0 / 408.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4176, allocations: 0 / 408.2 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.4179, allocations: 261.5 kB / 408.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4179, allocations: 0 / 408.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002111/0.4181, allocations: 43.97 kB / 408.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4181, allocations: 0 / 408.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4182, allocations: 3.938 kB / 408.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4182, allocations: 0 / 408.5 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4182, allocations: 4 kB / 408.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.4187, allocations: 303.2 kB / 408.8 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.4188, allocations: 89.02 kB / 408.9 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.4188, allocations: 7.938 kB / 408.9 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.419, allocations: 16.03 kB / 408.9 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.4191, allocations: 11.98 kB / 408.9 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.4191, allocations: 0 / 408.9 MB, free: 316 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.4192, allocations: 113.3 kB / 409.1 MB, free: 204 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4192, allocations: 0 / 409.1 MB, free: 204 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.4195, allocations: 51.78 kB / 409.1 MB, free: 152 kB / 318.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.0001946/0.4197, allocations: 115.6 kB / 409.2 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.4201, allocations: 123.9 kB / 409.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4201, allocations: 0 / 409.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.4202, allocations: 59.91 kB / 409.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4206, allocations: 31.97 kB / 409.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.4216, allocations: 0.5103 MB / 409.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.422, allocations: 0.72 MB / 410.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.261e-05/0.4221, allocations: 17.42 kB / 410.7 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.263e-05/0.4221, allocations: 15.38 kB / 410.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4221, allocations: 0 / 410.7 MB, free: 14.5 MB / 334.1 MB Notification: Performance of Templates: time 0.004862/0.427, allocations: 1.652 MB / 412.3 MB, free: 12.86 MB / 334.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/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.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