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.001482/0.001481, allocations: 182.3 kB / 18.04 MB, free: 3.781 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.431/1.431, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.0007677/0.0007677, allocations: 77.31 kB / 272.5 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003365, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2392, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08941/0.3287, allocations: 76.43 MB / 453.4 MB, free: 4.137 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.329, allocations: 67.97 kB / 453.5 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00859/0.3376, allocations: 3.117 MB / 456.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3376, allocations: 0 / 456.6 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.3376, allocations: 4 kB / 456.6 MB, free: 0.9414 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.0006668/0.3383, allocations: 474.8 kB / 457.1 MB, free: 436 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3383, allocations: 8.031 kB / 457.1 MB, free: 428 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.3384, allocations: 24.73 kB / 457.1 MB, free: 404 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.3386, allocations: 212.1 kB / 457.3 MB, free: 152 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3387, allocations: 12.38 kB / 457.4 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.3387, allocations: 24.38 kB / 457.4 MB, free: 116 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003845/0.3391, allocations: 178.5 kB / 457.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3391, allocations: 192 / 457.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3392, allocations: 11.94 kB / 457.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3392, allocations: 4 kB / 457.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.3395, allocations: 155.8 kB / 457.7 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.3408, allocations: 0.7681 MB / 458.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003911/0.3412, allocations: 166.6 kB / 458.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.3414, allocations: 104.8 kB / 458.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3414, allocations: 4.234 kB / 458.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.108e-05/0.3415, allocations: 34.5 kB / 458.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.394e-06/0.3415, allocations: 4 kB / 458.8 MB, free: 14.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004832/0.342, allocations: 201.4 kB / 459 MB, free: 14.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3421, allocations: 51.41 kB / 459 MB, free: 14.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.3422, allocations: 157.9 kB / 459.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3422, allocations: 25.7 kB / 459.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.3423, allocations: 132.2 kB / 459.3 MB, free: 14.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.87e-05/0.3423, allocations: 55.2 kB / 459.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.3423, allocations: 4 kB / 459.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3425, allocations: 318.8 kB / 459.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3426, allocations: 55.97 kB / 459.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3427, allocations: 83.69 kB / 459.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.343, allocations: 132.9 kB / 460 MB, free: 13.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.343, allocations: 4 kB / 460 MB, free: 13.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003236/0.3433, allocations: 177.4 kB / 460.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.3433, allocations: 4 kB / 460.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3434, allocations: 0 / 460.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.3434, allocations: 0 / 460.2 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.3436, allocations: 55.94 kB / 460.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3436, allocations: 0 / 460.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.3437, allocations: 19.83 kB / 460.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3437, allocations: 8 kB / 460.2 MB, free: 13.09 MB / 346.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.3439, allocations: 125.8 kB / 460.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.3439, allocations: 11.91 kB / 460.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.595e-05/0.3439, allocations: 12.84 kB / 460.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.344, allocations: 7.938 kB / 460.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.344, allocations: 7.938 kB / 460.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.344, allocations: 0 / 460.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3443, allocations: 265.5 kB / 460.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3443, allocations: 4 kB / 460.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.3445, allocations: 39.97 kB / 460.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3445, allocations: 3.938 kB / 460.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3445, allocations: 4 kB / 460.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3445, allocations: 3.938 kB / 460.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3445, allocations: 3.984 kB / 460.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.345, allocations: 318 kB / 461 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.3451, allocations: 88.95 kB / 461.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.3451, allocations: 8 kB / 461.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.3453, allocations: 19.97 kB / 461.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.3453, allocations: 7.984 kB / 461.2 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3453, allocations: 8 kB / 461.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.763e-05/0.3454, allocations: 115.2 kB / 461.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3454, allocations: 0 / 461.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.3457, allocations: 47.84 kB / 461.3 MB, free: 11.91 MB / 346.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 (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.0001449/0.3459, allocations: 103.2 kB / 461.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003003/0.3462, allocations: 138.9 kB / 461.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3462, allocations: 0 / 461.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.3463, allocations: 64.05 kB / 461.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.3467, allocations: 23.98 kB / 461.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3477, allocations: 0.6348 MB / 462.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.348, allocations: 0.7281 MB / 463 MB, free: 10.17 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.3481, allocations: 13.36 kB / 463 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.3481, allocations: 15.44 kB / 463 MB, free: 10.14 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3481, allocations: 4 kB / 463 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Templates: time 0.00392/0.352, allocations: 1.469 MB / 464.5 MB, free: 8.68 MB / 346.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/jenkins1/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