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.001064/0.001064, allocations: 98.41 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009683/0.0009684, allocations: 204.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003534, allocations: 8 kB / 306.6 MB, free: 1.438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1403, allocations: 51.49 MB / 358.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003417/0.1438, allocations: 1.705 MB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1454, allocations: 0.5536 MB / 360.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.1457, allocations: 4 kB / 360.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.668e-05/0.1459, allocations: 23.83 kB / 360.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.1461, allocations: 67.84 kB / 360.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.1463, allocations: 35.95 kB / 360.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1466, allocations: 155.7 kB / 360.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1468, allocations: 68.81 kB / 360.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1469, allocations: 67.78 kB / 360.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.1471, allocations: 87.66 kB / 360.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.1471, allocations: 12 kB / 360.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.281e-05/0.1472, allocations: 15.94 kB / 360.9 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.1472, allocations: 31.84 kB / 360.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.1473, allocations: 65.64 kB / 360.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1475, allocations: 163.8 kB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1475, allocations: 0 / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1475, allocations: 4 kB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1475, allocations: 0 / 361.1 MB, free: 10.88 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.0007686/0.1483, allocations: 478.6 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1483, allocations: 8.031 kB / 361.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.1484, allocations: 23.69 kB / 361.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/0.1487, allocations: 214.8 kB / 361.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.1487, allocations: 16 kB / 361.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.1487, allocations: 19.98 kB / 361.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003724/0.1491, allocations: 181.5 kB / 362 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.1491, allocations: 0 / 362 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.1492, allocations: 8 kB / 362 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1492, allocations: 4 kB / 362 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.1495, allocations: 147.9 kB / 362.2 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.1508, allocations: 0.7546 MB / 362.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.1512, allocations: 178.5 kB / 363.1 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1512, allocations: 3.984 kB / 363.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.1513, allocations: 34.56 kB / 363.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.1513, allocations: 0 / 363.2 MB, free: 8.648 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005247/0.1518, allocations: 201.7 kB / 363.4 MB, free: 8.445 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1519, allocations: 55.41 kB / 363.4 MB, free: 8.379 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.1521, allocations: 150.3 kB / 363.6 MB, free: 8.223 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1521, allocations: 29.7 kB / 363.6 MB, free: 8.188 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1522, allocations: 136.2 kB / 363.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.007e-05/0.1523, allocations: 39.36 kB / 363.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.1523, allocations: 8 kB / 363.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.1525, allocations: 322.8 kB / 364.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1526, allocations: 59.97 kB / 364.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1528, allocations: 76.78 kB / 364.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.1529, allocations: 59.98 kB / 364.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.279e-06/0.1529, allocations: 0 / 364.3 MB, free: 7.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003436/0.1533, allocations: 193.2 kB / 364.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1533, allocations: 4 kB / 364.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1533, allocations: 0 / 364.5 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1534, allocations: 4 kB / 364.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.1536, allocations: 43.97 kB / 364.5 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1536, allocations: 15.83 kB / 364.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.1537, allocations: 15.88 kB / 364.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1537, allocations: 4 kB / 364.5 MB, free: 7.203 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.000119/0.1539, allocations: 125.8 kB / 364.7 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.1539, allocations: 11.91 kB / 364.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.871e-05/0.154, allocations: 16.83 kB / 364.7 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.154, allocations: 4 kB / 364.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.154, allocations: 0 / 364.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.154, allocations: 7.953 kB / 364.7 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.1543, allocations: 269.4 kB / 365 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1543, allocations: 4 kB / 365 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.1545, allocations: 43.91 kB / 365 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1545, allocations: 0 / 365 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.1545, allocations: 4 kB / 365 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1546, allocations: 4 kB / 365 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1546, allocations: 0 / 365 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004939/0.1551, allocations: 311.1 kB / 365.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/0.1551, allocations: 89.05 kB / 365.4 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.1552, allocations: 4 kB / 365.4 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.1553, allocations: 19.98 kB / 365.4 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.1554, allocations: 4 kB / 365.4 MB, free: 6.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1554, allocations: 8 kB / 365.4 MB, free: 6.207 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001008/0.1555, allocations: 119.4 kB / 365.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.893e-06/0.1555, allocations: 0 / 365.6 MB, free: 6.094 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000271/0.1558, allocations: 55.69 kB / 365.6 MB, free: 6.039 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.0001543/0.1559, allocations: 99.25 kB / 365.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.1563, allocations: 130.4 kB / 365.8 MB, free: 5.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.1563, allocations: 4 kB / 365.8 MB, free: 5.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.1564, allocations: 67.84 kB / 365.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.1567, allocations: 35.98 kB / 365.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.1577, allocations: 0.6227 MB / 366.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.1581, allocations: 0.736 MB / 367.3 MB, free: 4.285 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.701e-05/0.1582, allocations: 9.422 kB / 367.3 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1582, allocations: 15.44 kB / 367.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1582, allocations: 0 / 367.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of Templates: time 0.004281/0.1625, allocations: 1.449 MB / 368.8 MB, free: 2.828 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","../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