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.001226/0.001226, allocations: 171.4 kB / 14.1 MB, free: 1.219 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.581/1.581, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008747/0.0008746, allocations: 90.31 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.543e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.09975, allocations: 47.57 MB / 370 MB, free: 1.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2779/0.3777, allocations: 76.3 MB / 446.3 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.3779, allocations: 64.84 kB / 446.4 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00796/0.3859, allocations: 3.114 MB / 449.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.3859, allocations: 0 / 449.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.386, allocations: 4 kB / 449.5 MB, free: 14.26 MB / 330.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.0006685/0.3866, allocations: 462.1 kB / 450 MB, free: 13.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.3867, allocations: 8.031 kB / 450 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.123e-05/0.3868, allocations: 23.72 kB / 450 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.387, allocations: 207.5 kB / 450.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.3871, allocations: 18.64 kB / 450.2 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.3871, allocations: 22.72 kB / 450.2 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.3874, allocations: 165.8 kB / 450.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3874, allocations: 2.078 kB / 450.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3875, allocations: 10.94 kB / 450.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3875, allocations: 8 kB / 450.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.3877, allocations: 116 kB / 450.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.3888, allocations: 0.7579 MB / 451.3 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002482/0.3891, allocations: 130 kB / 451.4 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3892, allocations: 87.53 kB / 451.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3892, allocations: 256 / 451.5 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3893, allocations: 42.06 kB / 451.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.3893, allocations: 0 / 451.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002675/0.3896, allocations: 117 kB / 451.7 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.3896, allocations: 55.41 kB / 451.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.3898, allocations: 144.6 kB / 451.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3898, allocations: 25.7 kB / 451.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.3899, allocations: 139.5 kB / 452 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.806e-05/0.3899, allocations: 50.77 kB / 452.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.39, allocations: 7.812 kB / 452.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3901, allocations: 322.8 kB / 452.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.3901, allocations: 39.38 kB / 452.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.51e-05/0.3902, allocations: 64.88 kB / 452.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.688e-05/0.3903, allocations: 50.17 kB / 452.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3903, allocations: 0 / 452.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000211/0.3905, allocations: 148.2 kB / 452.7 MB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3906, allocations: 8.031 kB / 452.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3906, allocations: 7.938 kB / 452.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3906, allocations: 3.953 kB / 452.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.3908, allocations: 47.91 kB / 452.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.3908, allocations: 0 / 452.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.3909, allocations: 15.84 kB / 452.8 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.391, allocations: 4 kB / 452.8 MB, free: 11.25 MB / 330.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.362e-05/0.391, allocations: 116.7 kB / 452.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.3911, allocations: 11.91 kB / 452.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.313e-05/0.3911, allocations: 20.42 kB / 452.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3911, allocations: 3.984 kB / 452.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3911, allocations: 3.953 kB / 452.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3912, allocations: 0 / 452.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.3914, allocations: 272.1 kB / 453.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3915, allocations: 0 / 453.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.3917, allocations: 43.91 kB / 453.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3917, allocations: 4 kB / 453.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3917, allocations: 3.562 kB / 453.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.3917, allocations: 4 kB / 453.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3917, allocations: 0 / 453.2 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.392, allocations: 276.5 kB / 453.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.3921, allocations: 85.02 kB / 453.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.3921, allocations: 0 / 453.6 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3923, allocations: 23.91 kB / 453.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3923, allocations: 7.984 kB / 453.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.3923, allocations: 0 / 453.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.521e-05/0.3924, allocations: 122.5 kB / 453.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3924, allocations: 0 / 453.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000239/0.3927, allocations: 47.78 kB / 453.8 MB, free: 10.27 MB / 330.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.0001433/0.3928, allocations: 99.38 kB / 453.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.393, allocations: 117.9 kB / 454 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.393, allocations: 0 / 454 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.3931, allocations: 51.06 kB / 454 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3934, allocations: 27.72 kB / 454.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007576/0.3941, allocations: 407.2 kB / 454.5 MB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.3944, allocations: 0.7282 MB / 455.2 MB, free: 8.875 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.668e-05/0.3945, allocations: 13.14 kB / 455.2 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.3946, allocations: 19.44 kB / 455.2 MB, free: 8.84 MB / 330.7 MB Notification: Performance of SimCode: time 3.306e-06/0.3946, allocations: 0 / 455.2 MB, free: 8.84 MB / 330.7 MB Notification: Performance of Templates: time 0.003792/0.3984, allocations: 1.463 MB / 456.7 MB, free: 7.391 MB / 330.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/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