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.001257/0.001257, allocations: 110.5 kB / 17.75 MB, free: 5.305 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.001471/0.001471, allocations: 183 kB / 18.68 MB, free: 4.383 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.539/1.539, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3712, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004115/0.3754, allocations: 2.135 MB / 403.6 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3768, allocations: 0.5415 MB / 404.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.3769, allocations: 4 kB / 404.1 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002136/0.3771, allocations: 35.7 kB / 404.1 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.3773, allocations: 55.48 kB / 404.2 MB, free: 6.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3776, allocations: 51.88 kB / 404.2 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.378, allocations: 235 kB / 404.5 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.3782, allocations: 77.64 kB / 404.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.3783, allocations: 83.77 kB / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3785, allocations: 103.5 kB / 404.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.652e-05/0.3786, allocations: 20 kB / 404.8 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.239e-05/0.3786, allocations: 20 kB / 404.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.006e-05/0.3787, allocations: 43.89 kB / 404.8 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3788, allocations: 111.5 kB / 404.9 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.3791, allocations: 231 kB / 405.1 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3791, allocations: 4 kB / 405.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3791, allocations: 0 / 405.2 MB, free: 5.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3792, allocations: 0 / 405.2 MB, free: 5.109 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.0009221/0.3801, allocations: 494.6 kB / 405.6 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3801, allocations: 8.031 kB / 405.6 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.77e-05/0.3802, allocations: 32.73 kB / 405.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.3806, allocations: 220.1 kB / 405.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.3807, allocations: 16.38 kB / 405.9 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.3807, allocations: 12.38 kB / 405.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.3812, allocations: 185.9 kB / 406.1 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3812, allocations: 3.984 kB / 406.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.3812, allocations: 8 kB / 406.1 MB, free: 4.059 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3812, allocations: 4 kB / 406.1 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.3816, allocations: 147.8 kB / 406.3 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.3829, allocations: 0.7508 MB / 407 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004158/0.3834, allocations: 162.5 kB / 407.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.3836, allocations: 93.06 kB / 407.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3836, allocations: 4 kB / 407.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3837, allocations: 42.56 kB / 407.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.3837, allocations: 0 / 407.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005049/0.3842, allocations: 176.7 kB / 407.5 MB, free: 2.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3842, allocations: 59.39 kB / 407.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3844, allocations: 155.1 kB / 407.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.3844, allocations: 29.7 kB / 407.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.3845, allocations: 136.3 kB / 407.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.014e-05/0.3846, allocations: 51.53 kB / 407.9 MB, free: 2.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.3847, allocations: 33.7 kB / 407.9 MB, free: 2.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3848, allocations: 322.8 kB / 408.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.3849, allocations: 51.97 kB / 408.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.3851, allocations: 72.78 kB / 408.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.3853, allocations: 128.9 kB / 408.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3853, allocations: 0 / 408.5 MB, free: 1.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003087/0.3856, allocations: 169.5 kB / 408.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.3857, allocations: 15.92 kB / 408.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3857, allocations: 0 / 408.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.3857, allocations: 7.969 kB / 408.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.3859, allocations: 39.98 kB / 408.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/0.386, allocations: 4 kB / 408.7 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.3861, allocations: 15.88 kB / 408.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3861, allocations: 7.938 kB / 408.8 MB, free: 1.266 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.0001317/0.3862, allocations: 129.8 kB / 408.9 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.3863, allocations: 7.953 kB / 408.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.3863, allocations: 20.83 kB / 408.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.3864, allocations: 7.938 kB / 408.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3864, allocations: 0 / 408.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.3865, allocations: 96.95 kB / 409 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3865, allocations: 0 / 409 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.3867, allocations: 11.98 kB / 409 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.3867, allocations: 11.98 kB / 409 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005214/0.3873, allocations: 240.9 kB / 409.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000508/0.3878, allocations: 382 kB / 409.6 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001407/0.3879, allocations: 52.02 kB / 409.7 MB, free: 280 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.767e-05/0.388, allocations: 117.5 kB / 409.8 MB, free: 164 kB / 318.1 MB Notification: Performance of Backend: time 7.72e-07/0.388, allocations: 4 kB / 409.8 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006071/0.3887, allocations: 160.8 kB / 410 MB, free: 15.99 MB / 334.1 MB Notification: Performance of SimCode: time 0.001161/0.3898, allocations: 0.9445 MB / 410.9 MB, free: 15 MB / 334.1 MB Notification: Performance of Templates: time 0.005518/0.3954, allocations: 2.046 MB / 413 MB, free: 12.96 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/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.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