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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009744/0.0009745, allocations: 96.62 kB / 17 MB, free: 6.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001433, allocations: 198.2 kB / 17.91 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002454/0.0002459, allocations: 8 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1353, allocations: 51.53 MB / 358.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002614/0.138, allocations: 1.786 MB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1392, allocations: 0.5457 MB / 361 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1394, allocations: 4 kB / 361 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.1395, allocations: 19.78 kB / 361 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.1397, allocations: 51.61 kB / 361 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.1399, allocations: 39.95 kB / 361.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.1402, allocations: 211.1 kB / 361.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.1404, allocations: 62.02 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.1406, allocations: 71.77 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.1409, allocations: 79.67 kB / 361.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.1409, allocations: 12 kB / 361.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.141, allocations: 12 kB / 361.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.141, allocations: 35.84 kB / 361.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.644e-05/0.1411, allocations: 57.64 kB / 361.6 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.1414, allocations: 171.8 kB / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.1414, allocations: 0 / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.668e-06/0.1414, allocations: 0 / 361.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1414, allocations: 0 / 361.8 MB, free: 10.49 MB / 302.1 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.0009895/0.1424, allocations: 474.6 kB / 362.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.045e-05/0.1425, allocations: 12.02 kB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.1426, allocations: 23.75 kB / 362.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.143, allocations: 218.7 kB / 362.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.1431, allocations: 12 kB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.121e-05/0.1431, allocations: 20 kB / 362.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.1436, allocations: 181.5 kB / 362.7 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.1436, allocations: 4 kB / 362.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.741e-05/0.1437, allocations: 12 kB / 362.7 MB, free: 9.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1437, allocations: 4 kB / 362.7 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003932/0.1441, allocations: 143.9 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.1454, allocations: 0.7663 MB / 363.6 MB, free: 8.477 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003871/0.1458, allocations: 166.5 kB / 363.8 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.146, allocations: 112.8 kB / 363.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.146, allocations: 0 / 363.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.1461, allocations: 34.56 kB / 363.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.1461, allocations: 0 / 363.9 MB, free: 8.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005105/0.1466, allocations: 201.6 kB / 364.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.1467, allocations: 55.41 kB / 364.2 MB, free: 7.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1468, allocations: 146.4 kB / 364.3 MB, free: 7.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1469, allocations: 25.7 kB / 364.3 MB, free: 7.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.147, allocations: 132.2 kB / 364.5 MB, free: 7.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.147, allocations: 51.34 kB / 364.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.147, allocations: 4 kB / 364.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1472, allocations: 326.8 kB / 364.9 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.1473, allocations: 55.97 kB / 364.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1475, allocations: 76.27 kB / 365 MB, free: 7.047 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.1477, allocations: 63.89 kB / 365 MB, free: 6.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1477, allocations: 0 / 365 MB, free: 6.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003703/0.148, allocations: 188 kB / 365.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1481, allocations: 8 kB / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1481, allocations: 0 / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1481, allocations: 0 / 365.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1484, allocations: 48 kB / 365.3 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1484, allocations: 7.891 kB / 365.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.1485, allocations: 23.78 kB / 365.3 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1485, allocations: 8 kB / 365.3 MB, free: 6.703 MB / 302.1 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.0001339/0.1487, allocations: 129.8 kB / 365.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.1487, allocations: 7.906 kB / 365.5 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.1488, allocations: 20.83 kB / 365.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1488, allocations: 4 kB / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1488, allocations: 0 / 365.5 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1488, allocations: 7.891 kB / 365.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1492, allocations: 273.4 kB / 365.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.1492, allocations: 0 / 365.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.1494, allocations: 39.91 kB / 365.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.1494, allocations: 4 kB / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.1494, allocations: 0 / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1494, allocations: 0 / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1494, allocations: 0 / 365.8 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.15, allocations: 314.8 kB / 366.1 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.15, allocations: 92.95 kB / 366.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.1501, allocations: 4 kB / 366.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.1502, allocations: 20.08 kB / 366.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.1503, allocations: 7.984 kB / 366.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.1503, allocations: 0 / 366.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1504, allocations: 119.4 kB / 366.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1504, allocations: 0 / 366.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1507, allocations: 47.84 kB / 366.4 MB, free: 5.547 MB / 302.1 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.0001792/0.1509, allocations: 107.2 kB / 366.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.1513, allocations: 135.9 kB / 366.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1513, allocations: 0 / 366.6 MB, free: 5.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.1515, allocations: 68.03 kB / 366.7 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1518, allocations: 27.94 kB / 366.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1529, allocations: 0.6302 MB / 367.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002815/0.1532, allocations: 0.7243 MB / 368.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.23e-05/0.1533, allocations: 13.42 kB / 368.1 MB, free: 3.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.1534, allocations: 15.44 kB / 368.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1534, allocations: 4 kB / 368.1 MB, free: 3.762 MB / 302.1 MB Notification: Performance of Templates: time 0.005013/0.1584, allocations: 1.453 MB / 369.6 MB, free: 2.324 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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