Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002675/0.002675, allocations: 200.5 kB / 18.11 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 226.5 MB / 245.4 MB, free: 6.41 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009464/0.0009463, allocations: 102.3 kB / 297.5 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002705/0.0002706, allocations: 8 kB / 358.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2872, allocations: 51.3 MB / 409.4 MB, free: 27.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4127, allocations: 78.66 MB / 488 MB, free: 12.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/0.4131, allocations: 67.97 kB / 488.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01255/0.4256, allocations: 3.311 MB / 491.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.4257, allocations: 0 / 491.4 MB, free: 9.418 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.4257, allocations: 4 kB / 491.4 MB, free: 9.414 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.000917/0.4267, allocations: 474.8 kB / 491.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4267, allocations: 8.031 kB / 491.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/0.4268, allocations: 20.75 kB / 491.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.4271, allocations: 212.1 kB / 492.1 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.4272, allocations: 16.38 kB / 492.1 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.4272, allocations: 20.36 kB / 492.2 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.4278, allocations: 190 kB / 492.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4278, allocations: 192 / 492.3 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.4278, allocations: 11.94 kB / 492.4 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.4279, allocations: 4 kB / 492.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004725/0.4283, allocations: 147.9 kB / 492.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.43, allocations: 0.7585 MB / 493.3 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.4306, allocations: 177.8 kB / 493.4 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/0.4309, allocations: 100.8 kB / 493.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.4309, allocations: 0 / 493.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.4309, allocations: 38.56 kB / 493.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.415e-06/0.431, allocations: 0 / 493.6 MB, free: 7.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006676/0.4316, allocations: 201.2 kB / 493.8 MB, free: 6.883 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.4317, allocations: 51.41 kB / 493.8 MB, free: 6.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.4319, allocations: 160.6 kB / 494 MB, free: 6.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.4319, allocations: 29.7 kB / 494 MB, free: 6.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.807e-05/0.432, allocations: 140.1 kB / 494.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.745e-05/0.4321, allocations: 51.25 kB / 494.2 MB, free: 6.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.156e-05/0.4321, allocations: 4 kB / 494.2 MB, free: 6.426 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4323, allocations: 322.8 kB / 494.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.4325, allocations: 51.97 kB / 494.6 MB, free: 6.051 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.4327, allocations: 80.09 kB / 494.6 MB, free: 5.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.4331, allocations: 128.3 kB / 494.8 MB, free: 5.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4331, allocations: 0 / 494.8 MB, free: 5.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005074/0.4336, allocations: 189.4 kB / 494.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.4336, allocations: 4 kB / 495 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/0.4337, allocations: 0 / 495 MB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4337, allocations: 4 kB / 495 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.434, allocations: 47.84 kB / 495 MB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.4341, allocations: 7.938 kB / 495 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.4342, allocations: 19.88 kB / 495 MB, free: 5.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.4343, allocations: 7.984 kB / 495 MB, free: 5.559 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.0001407/0.4344, allocations: 125.8 kB / 495.2 MB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.177e-05/0.4345, allocations: 11.91 kB / 495.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.4345, allocations: 12.84 kB / 495.2 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.4346, allocations: 7.938 kB / 495.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.4346, allocations: 0 / 495.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4346, allocations: 0 / 495.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.435, allocations: 265.4 kB / 495.5 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.435, allocations: 4 kB / 495.5 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003271/0.4354, allocations: 43.91 kB / 495.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.4354, allocations: 0 / 495.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.4354, allocations: 0 / 495.5 MB, free: 5.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.4354, allocations: 3.938 kB / 495.5 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4354, allocations: 4 kB / 495.5 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007005/0.4361, allocations: 307.4 kB / 495.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.316e-05/0.4362, allocations: 92.92 kB / 495.9 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.4363, allocations: 3.938 kB / 495.9 MB, free: 4.598 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.4365, allocations: 27.97 kB / 495.9 MB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.4366, allocations: 7.984 kB / 495.9 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.4366, allocations: 4 kB / 495.9 MB, free: 4.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4367, allocations: 118.6 kB / 496.1 MB, free: 4.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4368, allocations: 0 / 496.1 MB, free: 4.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004727/0.4372, allocations: 47.84 kB / 496.1 MB, free: 4.398 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.000174/0.4374, allocations: 103.2 kB / 496.2 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.4379, allocations: 139.9 kB / 496.3 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4379, allocations: 0 / 496.3 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.4381, allocations: 59.92 kB / 496.4 MB, free: 4.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.4386, allocations: 32.03 kB / 496.4 MB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.44, allocations: 0.6343 MB / 497.1 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.4403, allocations: 0.7282 MB / 497.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001064/0.4405, allocations: 9.422 kB / 497.8 MB, free: 2.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.4405, allocations: 15.44 kB / 497.8 MB, free: 2.621 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4405, allocations: 0 / 497.8 MB, free: 2.621 MB / 362.7 MB Notification: Performance of Templates: time 0.005557/0.4461, allocations: 1.476 MB / 499.3 MB, free: 1.164 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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