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.001291/0.001291, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.648/1.648, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 62.94 kB / 306.9 MB, free: 0.6602 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1564, allocations: 50.54 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005954/0.1624, allocations: 2.145 MB / 359.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002089/0.1646, allocations: 0.5805 MB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.1652, allocations: 4 kB / 360.2 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1655, allocations: 27.66 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003102/0.1659, allocations: 55.48 kB / 360.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004124/0.1663, allocations: 59.92 kB / 360.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.1668, allocations: 223.1 kB / 360.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.1672, allocations: 85.62 kB / 360.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.1676, allocations: 91.59 kB / 360.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.1678, allocations: 99.59 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.403e-05/0.1679, allocations: 20 kB / 360.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.784e-05/0.1679, allocations: 20 kB / 360.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.168, allocations: 43.84 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1682, allocations: 107.6 kB / 361 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000359/0.1685, allocations: 231.5 kB / 361.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.1686, allocations: 0 / 361.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.326e-06/0.1686, allocations: 0 / 361.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.1686, allocations: 0 / 361.2 MB, free: 10.33 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.001181/0.1698, allocations: 0.4987 MB / 361.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.121e-05/0.1699, allocations: 11.97 kB / 361.8 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.17, allocations: 20.75 kB / 361.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.1704, allocations: 212.1 kB / 362 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.385e-05/0.1704, allocations: 12.38 kB / 362 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.1705, allocations: 20.38 kB / 362 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.171, allocations: 185.8 kB / 362.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.171, allocations: 4 kB / 362.2 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.1711, allocations: 8 kB / 362.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1711, allocations: 4 kB / 362.2 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.1715, allocations: 143.9 kB / 362.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.1733, allocations: 0.739 MB / 363.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.1738, allocations: 170.5 kB / 363.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.174, allocations: 88.83 kB / 363.3 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1741, allocations: 4 kB / 363.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.1741, allocations: 34.56 kB / 363.4 MB, free: 8.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.535e-06/0.1741, allocations: 0 / 363.4 MB, free: 8.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005897/0.1747, allocations: 189.7 kB / 363.6 MB, free: 7.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.1748, allocations: 55.34 kB / 363.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.175, allocations: 149.2 kB / 363.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.1751, allocations: 33.64 kB / 363.8 MB, free: 7.562 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1752, allocations: 132.2 kB / 363.9 MB, free: 7.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.935e-05/0.1753, allocations: 59.2 kB / 364 MB, free: 7.371 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.1754, allocations: 33.7 kB / 364 MB, free: 7.332 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1756, allocations: 326.8 kB / 364.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1757, allocations: 51.97 kB / 364.4 MB, free: 6.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/0.1759, allocations: 72.09 kB / 364.5 MB, free: 6.879 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.1762, allocations: 120.7 kB / 364.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1763, allocations: 0 / 364.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004336/0.1767, allocations: 177.4 kB / 364.7 MB, free: 6.578 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.1767, allocations: 11.94 kB / 364.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1768, allocations: 0 / 364.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.1768, allocations: 3.938 kB / 364.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.1771, allocations: 43.91 kB / 364.8 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1771, allocations: 8.031 kB / 364.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1772, allocations: 11.91 kB / 364.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1772, allocations: 4 kB / 364.8 MB, free: 6.496 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001859/0.1774, allocations: 129.8 kB / 365 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.508e-05/0.1775, allocations: 7.906 kB / 365 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.825e-05/0.1776, allocations: 24.77 kB / 365 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1776, allocations: 0 / 365 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.1776, allocations: 4 kB / 365 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1776, allocations: 4 kB / 365 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.178, allocations: 269.4 kB / 365.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.178, allocations: 0 / 365.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.1782, allocations: 39.91 kB / 365.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1783, allocations: 0 / 365.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1783, allocations: 7.938 kB / 365.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1783, allocations: 0 / 365.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1783, allocations: 4 kB / 365.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005671/0.1789, allocations: 309.3 kB / 365.6 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.179, allocations: 89.05 kB / 365.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.179, allocations: 3.938 kB / 365.7 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.1792, allocations: 15.98 kB / 365.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.1793, allocations: 4 kB / 365.7 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.1793, allocations: 7.938 kB / 365.7 MB, free: 5.508 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001214/0.1794, allocations: 120.4 kB / 365.8 MB, free: 5.391 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1794, allocations: 3.938 kB / 365.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003345/0.1798, allocations: 47.84 kB / 365.9 MB, free: 5.34 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002126/0.18, allocations: 99.25 kB / 366 MB, free: 5.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.1804, allocations: 127.9 kB / 366.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.1804, allocations: 0 / 366.1 MB, free: 5.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.1806, allocations: 67.97 kB / 366.2 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.1811, allocations: 26.48 kB / 366.2 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.1826, allocations: 0.5101 MB / 366.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.1831, allocations: 0.7279 MB / 367.4 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1832, allocations: 9.422 kB / 367.5 MB, free: 3.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.1833, allocations: 15.44 kB / 367.5 MB, free: 3.695 MB / 302.1 MB Notification: Performance of SimCode: time 1.342e-06/0.1833, allocations: 3.938 kB / 367.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of Templates: time 0.007096/0.1904, allocations: 1.63 MB / 369.1 MB, free: 2.074 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