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.001197/0.001198, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.95 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1511, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.006037/0.1572, allocations: 2.157 MB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.159, allocations: 0.5688 MB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.1594, allocations: 4 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.1597, allocations: 31.7 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1598, allocations: 55.48 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.1601, allocations: 51.94 kB / 361.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.1605, allocations: 235 kB / 362 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002612/0.1608, allocations: 85.64 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.1609, allocations: 87.75 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1611, allocations: 91.61 kB / 362.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.1612, allocations: 24 kB / 362.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.961e-05/0.1612, allocations: 20 kB / 362.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.508e-05/0.1613, allocations: 43.84 kB / 362.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1614, allocations: 107.5 kB / 362.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.1617, allocations: 235.2 kB / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1617, allocations: 0 / 362.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.079e-06/0.1618, allocations: 4 kB / 362.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1618, allocations: 3.938 kB / 362.7 MB, free: 9.531 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.000859/0.1626, allocations: 498.7 kB / 363.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.1627, allocations: 8.031 kB / 363.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1628, allocations: 24.69 kB / 363.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.1633, allocations: 223 kB / 363.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.1634, allocations: 8.375 kB / 363.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1634, allocations: 20.38 kB / 363.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004957/0.1639, allocations: 181.9 kB / 363.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.164, allocations: 0 / 363.6 MB, free: 8.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.164, allocations: 8 kB / 363.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.164, allocations: 8 kB / 363.6 MB, free: 8.484 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003444/0.1644, allocations: 135.9 kB / 363.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.1657, allocations: 0.7468 MB / 364.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004179/0.1662, allocations: 158.5 kB / 364.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.1664, allocations: 100.8 kB / 364.8 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1664, allocations: 3.938 kB / 364.8 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1665, allocations: 42.56 kB / 364.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.1665, allocations: 0 / 364.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005675/0.167, allocations: 185 kB / 365 MB, free: 7.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.1671, allocations: 63.33 kB / 365.1 MB, free: 6.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1673, allocations: 144.8 kB / 365.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1673, allocations: 33.7 kB / 365.2 MB, free: 6.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.1675, allocations: 136.2 kB / 365.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.1675, allocations: 47.2 kB / 365.4 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.1676, allocations: 37.7 kB / 365.5 MB, free: 6.543 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1678, allocations: 322.8 kB / 365.8 MB, free: 6.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1679, allocations: 47.97 kB / 365.8 MB, free: 6.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.1681, allocations: 72.09 kB / 365.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.1683, allocations: 125.9 kB / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1684, allocations: 0 / 366 MB, free: 5.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003622/0.1687, allocations: 172.3 kB / 366.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.1688, allocations: 11.98 kB / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1688, allocations: 0 / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.1688, allocations: 3.938 kB / 366.2 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.1691, allocations: 43.95 kB / 366.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/0.1691, allocations: 4 kB / 366.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.1692, allocations: 15.89 kB / 366.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1692, allocations: 4 kB / 366.3 MB, free: 5.715 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.0001338/0.1693, allocations: 133.7 kB / 366.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1694, allocations: 7.906 kB / 366.4 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.482e-05/0.1694, allocations: 24.77 kB / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1694, allocations: 0 / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1695, allocations: 0 / 366.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1695, allocations: 7.938 kB / 366.4 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.1698, allocations: 277.4 kB / 366.7 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1698, allocations: 4 kB / 366.7 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.1701, allocations: 31.98 kB / 366.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.1701, allocations: 0 / 366.7 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1701, allocations: 11.86 kB / 366.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1701, allocations: 4 kB / 366.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1701, allocations: 0 / 366.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004979/0.1706, allocations: 303.2 kB / 367 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.1707, allocations: 81.02 kB / 367.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.1707, allocations: 7.938 kB / 367.1 MB, free: 4.746 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.1709, allocations: 16.03 kB / 367.2 MB, free: 4.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.1709, allocations: 7.984 kB / 367.2 MB, free: 4.723 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.1709, allocations: 4 kB / 367.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.441e-05/0.171, allocations: 122.8 kB / 367.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1711, allocations: 0 / 367.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002946/0.1714, allocations: 47.84 kB / 367.3 MB, free: 4.555 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.0001647/0.1715, allocations: 99.25 kB / 367.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.1719, allocations: 127.9 kB / 367.6 MB, free: 4.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1719, allocations: 0 / 367.6 MB, free: 4.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.172, allocations: 67.97 kB / 367.6 MB, free: 4.254 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.1724, allocations: 19.98 kB / 367.6 MB, free: 4.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.1736, allocations: 0.514 MB / 368.2 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1741, allocations: 0.724 MB / 368.9 MB, free: 2.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.39e-05/0.1741, allocations: 13.42 kB / 368.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.1742, allocations: 15.44 kB / 368.9 MB, free: 2.91 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1742, allocations: 4 kB / 368.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of Templates: time 0.004938/0.1792, allocations: 1.635 MB / 370.5 MB, free: 1.285 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/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