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.001212/0.001212, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009089/0.0009091, allocations: 91.02 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.927e-05, allocations: 8 kB / 350.5 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09979/0.09984, allocations: 51.48 MB / 402 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3042/0.4041, allocations: 78.66 MB / 480.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000149/0.4043, allocations: 72.72 kB / 480.8 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007531/0.4118, allocations: 3.319 MB / 484.1 MB, free: 7.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4118, allocations: 0 / 484.1 MB, free: 7.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.4119, allocations: 4 kB / 484.1 MB, free: 7.93 MB / 346.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.0004739/0.4123, allocations: 451.5 kB / 484.5 MB, free: 7.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4124, allocations: 12.03 kB / 484.5 MB, free: 7.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.4124, allocations: 19.72 kB / 484.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4126, allocations: 215.3 kB / 484.8 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4127, allocations: 11.69 kB / 484.8 MB, free: 7.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.4127, allocations: 26.7 kB / 484.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.413, allocations: 164.5 kB / 485 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.413, allocations: 4 kB / 485 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.413, allocations: 6.562 kB / 485 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.413, allocations: 4 kB / 485 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.4132, allocations: 122.8 kB / 485.1 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.4142, allocations: 0.7613 MB / 485.9 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.4144, allocations: 130.8 kB / 486 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.4145, allocations: 90.03 kB / 486.1 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.4146, allocations: 0 / 486.1 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.4146, allocations: 38.25 kB / 486.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.4146, allocations: 4 kB / 486.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000217/0.4148, allocations: 117.1 kB / 486.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.4149, allocations: 51.41 kB / 486.3 MB, free: 5.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.4149, allocations: 146.1 kB / 486.4 MB, free: 5.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.415, allocations: 29.33 kB / 486.4 MB, free: 5.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.415, allocations: 135 kB / 486.6 MB, free: 5.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.415, allocations: 54.47 kB / 486.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.643e-06/0.4151, allocations: 0 / 486.6 MB, free: 5.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.397e-05/0.4151, allocations: 327.9 kB / 487 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.4152, allocations: 38.12 kB / 487 MB, free: 5.227 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.986e-05/0.4152, allocations: 58.41 kB / 487 MB, free: 5.184 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.218e-05/0.4153, allocations: 46.67 kB / 487.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4153, allocations: 7.938 kB / 487.1 MB, free: 5.148 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001861/0.4155, allocations: 147.2 kB / 487.2 MB, free: 5.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.4155, allocations: 4 kB / 487.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4156, allocations: 0 / 487.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4156, allocations: 7.953 kB / 487.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.4158, allocations: 48.16 kB / 487.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4158, allocations: 7.938 kB / 487.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.4159, allocations: 14.78 kB / 487.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.4159, allocations: 8.031 kB / 487.3 MB, free: 4.949 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 () * 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 5.207e-05/0.416, allocations: 112.4 kB / 487.4 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.416, allocations: 15.89 kB / 487.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.4161, allocations: 12.25 kB / 487.5 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4161, allocations: 7.938 kB / 487.5 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4161, allocations: 3.953 kB / 487.5 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4161, allocations: 0 / 487.5 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.4163, allocations: 267.4 kB / 487.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4163, allocations: 0 / 487.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001996/0.4165, allocations: 43.97 kB / 487.8 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.4165, allocations: 3.984 kB / 487.8 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4166, allocations: 0 / 487.8 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4166, allocations: 0 / 487.8 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4166, allocations: 0 / 487.8 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.4168, allocations: 283.4 kB / 488.1 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.4169, allocations: 84.95 kB / 488.2 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.4169, allocations: 13.59 kB / 488.2 MB, free: 4.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.417, allocations: 11.69 kB / 488.2 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.4171, allocations: 7.984 kB / 488.2 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.4171, allocations: 4 kB / 488.2 MB, free: 4.121 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.593e-05/0.4172, allocations: 125.2 kB / 488.3 MB, free: 4.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4172, allocations: 0 / 488.3 MB, free: 4.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.4174, allocations: 47.72 kB / 488.4 MB, free: 3.973 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 () * 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.0001015/0.4175, allocations: 99.25 kB / 488.5 MB, free: 3.863 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.4177, allocations: 113.1 kB / 488.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4177, allocations: 0 / 488.6 MB, free: 3.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/0.4178, allocations: 57.38 kB / 488.6 MB, free: 3.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.418, allocations: 19.3 kB / 488.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006503/0.4187, allocations: 407.6 kB / 489 MB, free: 3.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001394/0.4188, allocations: 0.7204 MB / 489.8 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.448e-05/0.4189, allocations: 17.2 kB / 489.8 MB, free: 2.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.4189, allocations: 15.44 kB / 489.8 MB, free: 2.574 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4189, allocations: 0 / 489.8 MB, free: 2.574 MB / 346.7 MB Notification: Performance of Templates: time 0.003397/0.4224, allocations: 1.467 MB / 491.3 MB, free: 1.172 MB / 346.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/jenkins/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