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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002368/0.002368, allocations: 117.6 kB / 18.5 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003083/0.003083, allocations: 201 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.689/1.689, allocations: 230.2 MB / 254.5 MB, free: 15.29 MB / 206.1 MB " [Timeout remaining time 178] 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=50000,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=50000,variableFilter="time|C1.v|C2.v|L.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.88 kB / 373.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1555, allocations: 53.31 MB / 427.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003474/0.159, allocations: 2.167 MB / 429.3 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1601, allocations: 0.5766 MB / 429.9 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1602, allocations: 4 kB / 429.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.1603, allocations: 27.7 kB / 429.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.1604, allocations: 51.5 kB / 430 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.1607, allocations: 63.86 kB / 430 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.1609, allocations: 231 kB / 430.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.1611, allocations: 65.64 kB / 430.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1613, allocations: 83.77 kB / 430.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.1614, allocations: 99.61 kB / 430.5 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.1615, allocations: 23.94 kB / 430.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.746e-05/0.1615, allocations: 20 kB / 430.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.802e-05/0.1616, allocations: 43.89 kB / 430.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1617, allocations: 107.5 kB / 430.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.162, allocations: 227.1 kB / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.162, allocations: 0 / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.162, allocations: 0 / 430.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.162, allocations: 0 / 430.9 MB, free: 0.7148 MB / 350.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.000832/0.1628, allocations: 0.4974 MB / 431.4 MB, free: 176 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1629, allocations: 12.03 kB / 431.4 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.1629, allocations: 20.8 kB / 431.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.1632, allocations: 227.9 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.1633, allocations: 12.38 kB / 431.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1633, allocations: 20.38 kB / 431.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.1637, allocations: 181.9 kB / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1637, allocations: 0 / 431.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1637, allocations: 12 kB / 431.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.1637, allocations: 4 kB / 431.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.164, allocations: 135.9 kB / 432 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.1653, allocations: 0.747 MB / 432.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.1657, allocations: 158.5 kB / 432.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1658, allocations: 84.83 kB / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.1659, allocations: 4 kB / 433 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.1659, allocations: 34.56 kB / 433.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1659, allocations: 0 / 433.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004788/0.1664, allocations: 193.7 kB / 433.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.1664, allocations: 55.34 kB / 433.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1666, allocations: 156.6 kB / 433.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.1666, allocations: 25.7 kB / 433.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1667, allocations: 140.2 kB / 433.6 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.35e-05/0.1667, allocations: 47.64 kB / 433.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.1668, allocations: 25.72 kB / 433.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.167, allocations: 326.8 kB / 434 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1671, allocations: 55.92 kB / 434.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.1672, allocations: 73.67 kB / 434.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.1675, allocations: 127.9 kB / 434.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1675, allocations: 4 kB / 434.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003393/0.1678, allocations: 165.5 kB / 434.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1678, allocations: 8 kB / 434.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.1678, allocations: 0 / 434.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1679, allocations: 3.938 kB / 434.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1681, allocations: 47.91 kB / 434.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1681, allocations: 4 kB / 434.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1682, allocations: 15.88 kB / 434.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1682, allocations: 8.031 kB / 434.5 MB, free: 12.88 MB / 366.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.0001067/0.1683, allocations: 129.8 kB / 434.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1683, allocations: 19.84 kB / 434.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.1684, allocations: 16.78 kB / 434.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1684, allocations: 4 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1684, allocations: 0 / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.1684, allocations: 3.984 kB / 434.7 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.1687, allocations: 261.5 kB / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1687, allocations: 0 / 434.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.1689, allocations: 39.97 kB / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1689, allocations: 0 / 435 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.169, allocations: 11.94 kB / 435 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.169, allocations: 0 / 435 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.169, allocations: 0 / 435 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004818/0.1694, allocations: 305.9 kB / 435.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.1695, allocations: 93.02 kB / 435.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1695, allocations: 7.938 kB / 435.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.1697, allocations: 12.03 kB / 435.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1697, allocations: 7.984 kB / 435.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1697, allocations: 12 kB / 435.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.675e-05/0.1698, allocations: 114.5 kB / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1698, allocations: 0 / 435.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1701, allocations: 47.89 kB / 435.6 MB, free: 11.73 MB / 366.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.0001335/0.1702, allocations: 103.2 kB / 435.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.1705, allocations: 118.1 kB / 435.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1705, allocations: 0 / 435.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1707, allocations: 59.91 kB / 435.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.171, allocations: 28.05 kB / 435.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.172, allocations: 0.5211 MB / 436.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1723, allocations: 0.724 MB / 437.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.253e-05/0.1724, allocations: 9.422 kB / 437.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.1724, allocations: 15.44 kB / 437.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1724, allocations: 0 / 437.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of Templates: time 0.004896/0.1773, allocations: 1.68 MB / 438.8 MB, free: 8.434 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 659] "" 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 [Calling sys.exit(0), Time elapsed: 6.231601430103183]