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.0009086/0.0009088, allocations: 96.42 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008967/0.0008969, allocations: 205.8 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.678/1.678, allocations: 227.8 MB / 246.9 MB, free: 11.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002963, allocations: 4 kB / 307.8 MB, free: 0.7773 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1673, allocations: 51.54 MB / 359.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002709/0.17, allocations: 1.848 MB / 361.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1713, allocations: 0.5612 MB / 361.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1714, allocations: 7.938 kB / 361.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1715, allocations: 19.84 kB / 361.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1717, allocations: 47.61 kB / 361.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.1719, allocations: 47.94 kB / 361.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.1722, allocations: 219 kB / 362.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.1724, allocations: 70.08 kB / 362.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1725, allocations: 79.64 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.1727, allocations: 87.61 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.1727, allocations: 12 kB / 362.3 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.404e-05/0.1728, allocations: 12 kB / 362.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.1728, allocations: 31.84 kB / 362.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.173, allocations: 113.3 kB / 362.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.1732, allocations: 215.4 kB / 362.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.1733, allocations: 4 kB / 362.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1733, allocations: 0 / 362.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.1733, allocations: 4 kB / 362.7 MB, free: 9.859 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.0008401/0.1741, allocations: 470.8 kB / 363.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.1742, allocations: 12.02 kB / 363.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.251e-05/0.1743, allocations: 28.75 kB / 363.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.1746, allocations: 212 kB / 363.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1746, allocations: 12.38 kB / 363.4 MB, free: 9.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.1747, allocations: 24.31 kB / 363.4 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.1751, allocations: 193.7 kB / 363.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1751, allocations: 0 / 363.6 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.1751, allocations: 8 kB / 363.6 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1752, allocations: 4 kB / 363.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.1755, allocations: 151.9 kB / 363.8 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001306/0.1768, allocations: 0.7546 MB / 364.5 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.1773, allocations: 170.5 kB / 364.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.1775, allocations: 104.8 kB / 364.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.1775, allocations: 0 / 364.8 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.1776, allocations: 38.56 kB / 364.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.1776, allocations: 0 / 364.8 MB, free: 7.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005499/0.1781, allocations: 197.3 kB / 365 MB, free: 7.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/0.1782, allocations: 55.34 kB / 365.1 MB, free: 7.262 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.1784, allocations: 156.8 kB / 365.2 MB, free: 7.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1784, allocations: 25.7 kB / 365.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.1785, allocations: 136.1 kB / 365.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.63e-05/0.1786, allocations: 51.3 kB / 365.5 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.1786, allocations: 21.7 kB / 365.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1788, allocations: 326.8 kB / 365.8 MB, free: 6.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1789, allocations: 55.97 kB / 365.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.1791, allocations: 73.12 kB / 365.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.1794, allocations: 137.7 kB / 366.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1794, allocations: 0 / 366.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003729/0.1798, allocations: 183.8 kB / 366.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1798, allocations: 7.984 kB / 366.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1798, allocations: 0 / 366.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1798, allocations: 7.938 kB / 366.2 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1801, allocations: 47.95 kB / 366.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.1801, allocations: 4 kB / 366.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.1802, allocations: 11.89 kB / 366.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.1802, allocations: 8 kB / 366.3 MB, free: 5.988 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.0001255/0.1804, allocations: 121.8 kB / 366.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.1804, allocations: 15.81 kB / 366.5 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.1805, allocations: 20.77 kB / 366.5 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1805, allocations: 8 kB / 366.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1805, allocations: 0 / 366.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1805, allocations: 0 / 366.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.1809, allocations: 269.5 kB / 366.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1809, allocations: 0 / 366.7 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.1812, allocations: 47.86 kB / 366.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1812, allocations: 0 / 366.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.1812, allocations: 11.92 kB / 366.8 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.1812, allocations: 4 kB / 366.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1812, allocations: 0 / 366.8 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.1818, allocations: 313.4 kB / 367.1 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.1819, allocations: 81.02 kB / 367.2 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.1819, allocations: 15.94 kB / 367.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1821, allocations: 12.03 kB / 367.2 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.1822, allocations: 15.92 kB / 367.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1822, allocations: 4 kB / 367.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001284/0.1823, allocations: 118.8 kB / 367.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1823, allocations: 0 / 367.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004169/0.1827, allocations: 47.84 kB / 367.4 MB, free: 4.816 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.0001797/0.1829, allocations: 99.25 kB / 367.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.1835, allocations: 131.9 kB / 367.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1835, allocations: 0 / 367.6 MB, free: 4.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.1837, allocations: 75.91 kB / 367.7 MB, free: 4.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.1843, allocations: 23.98 kB / 367.7 MB, free: 4.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.186, allocations: 0.646 MB / 368.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004949/0.1865, allocations: 0.7243 MB / 369.1 MB, free: 3.055 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.1866, allocations: 9.438 kB / 369.1 MB, free: 3.047 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.741e-05/0.1867, allocations: 15.44 kB / 369.1 MB, free: 3.031 MB / 302.1 MB Notification: Performance of SimCode: time 4.8e-07/0.1867, allocations: 4 kB / 369.1 MB, free: 3.027 MB / 302.1 MB Notification: Performance of Templates: time 0.006855/0.1935, allocations: 1.502 MB / 370.6 MB, free: 1.539 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.1.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