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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 172.2 kB / 17.39 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 223.3 MB / 241.4 MB, free: 11.71 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008774/0.0008778, allocations: 95.88 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003779, allocations: 15.94 kB / 352.3 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2852, allocations: 50.4 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3861, allocations: 77.95 MB / 480.7 MB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.3864, allocations: 74.8 kB / 480.8 MB, free: 2.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008429/0.3949, allocations: 3.258 MB / 484 MB, free: 15.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3949, allocations: 0 / 484 MB, free: 15.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.3949, allocations: 4 kB / 484 MB, free: 15.07 MB / 362.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.0006385/0.3956, allocations: 470.8 kB / 484.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.3956, allocations: 8.031 kB / 484.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.3957, allocations: 20.75 kB / 484.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.396, allocations: 220 kB / 484.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.396, allocations: 12.38 kB / 484.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.396, allocations: 24.38 kB / 484.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.3964, allocations: 186 kB / 484.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3964, allocations: 192 / 485 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.3964, allocations: 11.94 kB / 485 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.3965, allocations: 4 kB / 485 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.3968, allocations: 147.9 kB / 485.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.398, allocations: 0.7624 MB / 485.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.3985, allocations: 174.5 kB / 486 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.3987, allocations: 100.8 kB / 486.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.3987, allocations: 0 / 486.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.3987, allocations: 34.55 kB / 486.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3988, allocations: 0 / 486.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005289/0.3993, allocations: 208.9 kB / 486.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.3994, allocations: 59.33 kB / 486.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.3995, allocations: 149.8 kB / 486.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3996, allocations: 25.7 kB / 486.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.3997, allocations: 136.2 kB / 486.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.3997, allocations: 51.2 kB / 486.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.3998, allocations: 8 kB / 486.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3999, allocations: 318.8 kB / 487.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.4, allocations: 55.97 kB / 487.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.4002, allocations: 77.69 kB / 487.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.4005, allocations: 128.4 kB / 487.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4005, allocations: 3.938 kB / 487.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003629/0.4009, allocations: 181.5 kB / 487.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.4009, allocations: 4 kB / 487.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4009, allocations: 0 / 487.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.4009, allocations: 0 / 487.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.4012, allocations: 55.84 kB / 487.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4012, allocations: 0 / 487.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.4013, allocations: 19.88 kB / 487.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.4013, allocations: 8 kB / 487.6 MB, free: 11.22 MB / 362.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.0001483/0.4015, allocations: 125.8 kB / 487.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.4015, allocations: 11.89 kB / 487.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.355e-05/0.4016, allocations: 16.84 kB / 487.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.4016, allocations: 3.938 kB / 487.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4016, allocations: 4 kB / 487.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4016, allocations: 3.984 kB / 487.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.402, allocations: 269.5 kB / 488.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.402, allocations: 0 / 488.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.4022, allocations: 39.97 kB / 488.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4022, allocations: 0 / 488.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.4022, allocations: 4 kB / 488.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/0.4022, allocations: 3.938 kB / 488.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.4022, allocations: 3.984 kB / 488.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.4027, allocations: 313.6 kB / 488.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.746e-05/0.4028, allocations: 96.89 kB / 488.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.662e-05/0.4029, allocations: 4 kB / 488.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.403, allocations: 27.92 kB / 488.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.4031, allocations: 7.984 kB / 488.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4031, allocations: 8 kB / 488.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.4032, allocations: 105.5 kB / 488.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4032, allocations: 4 kB / 488.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003088/0.4035, allocations: 51.84 kB / 488.7 MB, free: 10.05 MB / 362.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.0001728/0.4037, allocations: 99.23 kB / 488.8 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.404, allocations: 139.8 kB / 488.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.404, allocations: 0 / 488.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.4042, allocations: 67.91 kB / 489 MB, free: 9.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.4046, allocations: 28.05 kB / 489 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.4056, allocations: 0.6261 MB / 489.7 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.4059, allocations: 0.7282 MB / 490.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.656e-05/0.406, allocations: 9.422 kB / 490.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.859e-05/0.406, allocations: 15.44 kB / 490.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.406, allocations: 0 / 490.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of Templates: time 0.004194/0.4102, allocations: 1.478 MB / 491.9 MB, free: 6.82 MB / 362.7 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","../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