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.00107/0.00107, allocations: 92.59 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 204.3 kB / 18.28 MB, free: 5.477 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.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 4 kB / 307.7 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 51.54 MB / 359.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003131/0.1516, allocations: 1.848 MB / 361.1 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.153, allocations: 0.5611 MB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.1531, allocations: 4 kB / 361.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.1533, allocations: 23.83 kB / 361.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.1534, allocations: 47.61 kB / 361.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1537, allocations: 43.91 kB / 361.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.1541, allocations: 219 kB / 362 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002452/0.1543, allocations: 81.06 kB / 362.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.1545, allocations: 67.72 kB / 362.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1547, allocations: 91.55 kB / 362.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.1547, allocations: 12 kB / 362.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.1548, allocations: 12 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.1548, allocations: 31.84 kB / 362.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.155, allocations: 117.3 kB / 362.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.1553, allocations: 219.4 kB / 362.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1553, allocations: 0 / 362.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1553, allocations: 0 / 362.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1553, allocations: 0 / 362.6 MB, free: 9.883 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.0009267/0.1563, allocations: 478.8 kB / 363.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1563, allocations: 8.031 kB / 363.1 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.563e-05/0.1564, allocations: 20.75 kB / 363.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.1568, allocations: 216 kB / 363.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.841e-05/0.1568, allocations: 16.38 kB / 363.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.1569, allocations: 16.38 kB / 363.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/0.1576, allocations: 189.8 kB / 363.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1576, allocations: 0 / 363.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1577, allocations: 8 kB / 363.6 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.1577, allocations: 4 kB / 363.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.1582, allocations: 155.8 kB / 363.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/0.16, allocations: 0.7546 MB / 364.5 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.1605, allocations: 174.5 kB / 364.6 MB, free: 7.699 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.1607, allocations: 100.8 kB / 364.7 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.1608, allocations: 3.938 kB / 364.7 MB, free: 7.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1608, allocations: 42.5 kB / 364.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.1608, allocations: 0 / 364.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004926/0.1613, allocations: 193.8 kB / 365 MB, free: 7.348 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.1613, allocations: 55.34 kB / 365 MB, free: 7.281 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1615, allocations: 149.8 kB / 365.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1615, allocations: 29.7 kB / 365.2 MB, free: 7.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.1616, allocations: 140.1 kB / 365.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.1617, allocations: 47.28 kB / 365.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.1617, allocations: 21.7 kB / 365.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1619, allocations: 326.8 kB / 365.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.162, allocations: 51.97 kB / 365.8 MB, free: 6.496 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.1622, allocations: 81.62 kB / 365.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1624, allocations: 129.7 kB / 366 MB, free: 6.277 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.1625, allocations: 4 kB / 366 MB, free: 6.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003458/0.1628, allocations: 191.7 kB / 366.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1628, allocations: 4 kB / 366.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1628, allocations: 0 / 366.2 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1629, allocations: 7.938 kB / 366.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.1631, allocations: 47.98 kB / 366.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.603e-05/0.1631, allocations: 4 kB / 366.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.1632, allocations: 15.91 kB / 366.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.1632, allocations: 0 / 366.3 MB, free: 6.004 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.0001115/0.1634, allocations: 129.7 kB / 366.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1634, allocations: 15.81 kB / 366.4 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.527e-05/0.1635, allocations: 24.77 kB / 366.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1635, allocations: 4 kB / 366.4 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1635, allocations: 4 kB / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1635, allocations: 0 / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.1638, allocations: 257.5 kB / 366.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1638, allocations: 0 / 366.7 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/0.164, allocations: 47.95 kB / 366.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.164, allocations: 0 / 366.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1641, allocations: 7.875 kB / 366.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1641, allocations: 4 kB / 366.7 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1641, allocations: 0 / 366.7 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/0.1646, allocations: 311.3 kB / 367 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.838e-05/0.1646, allocations: 89.05 kB / 367.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.1647, allocations: 7.938 kB / 367.1 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1648, allocations: 19.98 kB / 367.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.1649, allocations: 4 kB / 367.2 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-06/0.1649, allocations: 4 kB / 367.2 MB, free: 5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.247e-05/0.165, allocations: 122.8 kB / 367.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.165, allocations: 0 / 367.3 MB, free: 4.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1653, allocations: 47.84 kB / 367.3 MB, free: 4.836 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.0001358/0.1654, allocations: 107.2 kB / 367.4 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.1657, allocations: 135.6 kB / 367.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.1658, allocations: 0 / 367.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.1659, allocations: 67.97 kB / 367.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.1662, allocations: 23.98 kB / 367.7 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.1673, allocations: 0.646 MB / 368.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004569/0.1678, allocations: 0.7243 MB / 369 MB, free: 3.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.141e-05/0.1678, allocations: 17.41 kB / 369 MB, free: 3.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.1679, allocations: 19.38 kB / 369.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1679, allocations: 0 / 369.1 MB, free: 3.039 MB / 302.1 MB Notification: Performance of Templates: time 0.004428/0.1723, allocations: 1.505 MB / 370.6 MB, free: 1.551 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