Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 54.83 kB / 300.6 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1328, allocations: 49.45 MB / 350 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004446/0.1373, allocations: 2.133 MB / 352.2 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1387, allocations: 0.5493 MB / 352.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.1388, allocations: 0 / 352.7 MB, free: 1.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.1391, allocations: 35.64 kB / 352.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.1392, allocations: 55.55 kB / 352.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1395, allocations: 51.88 kB / 352.9 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.1398, allocations: 231 kB / 353.1 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.1401, allocations: 81.64 kB / 353.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.1402, allocations: 83.77 kB / 353.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1404, allocations: 99.61 kB / 353.4 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.1404, allocations: 23.94 kB / 353.4 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.675e-05/0.1405, allocations: 20 kB / 353.4 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.1405, allocations: 47.83 kB / 353.4 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1407, allocations: 107.5 kB / 353.6 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.1409, allocations: 227.5 kB / 353.8 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.1409, allocations: 4 kB / 353.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1409, allocations: 0 / 353.8 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.141, allocations: 0 / 353.8 MB, free: 0.6719 MB / 286.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.000863/0.1418, allocations: 497.4 kB / 354.3 MB, free: 144 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.1419, allocations: 11.89 kB / 354.3 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.142, allocations: 24.66 kB / 354.3 MB, free: 108 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1423, allocations: 220 kB / 354.5 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1423, allocations: 12.38 kB / 354.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.1424, allocations: 20.38 kB / 354.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.1428, allocations: 181.9 kB / 354.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1428, allocations: 0 / 354.7 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.1428, allocations: 12 kB / 354.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1428, allocations: 4 kB / 354.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.1432, allocations: 143.8 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.1445, allocations: 0.7584 MB / 355.6 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.1449, allocations: 150.6 kB / 355.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.1452, allocations: 96.83 kB / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1452, allocations: 0 / 355.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.1452, allocations: 38.5 kB / 355.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.1453, allocations: 0 / 355.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005215/0.1458, allocations: 188.7 kB / 356.1 MB, free: 14.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.685e-05/0.1459, allocations: 63.28 kB / 356.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.146, allocations: 153.8 kB / 356.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.146, allocations: 25.7 kB / 356.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.1461, allocations: 132.2 kB / 356.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/0.1462, allocations: 47.3 kB / 356.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.364e-05/0.1463, allocations: 41.61 kB / 356.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1464, allocations: 326.8 kB / 356.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1466, allocations: 51.94 kB / 356.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.1467, allocations: 77.67 kB / 357 MB, free: 13.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.147, allocations: 117.6 kB / 357.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.147, allocations: 0 / 357.1 MB, free: 13.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003331/0.1473, allocations: 175.9 kB / 357.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1474, allocations: 12.03 kB / 357.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1474, allocations: 4 kB / 357.3 MB, free: 12.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1474, allocations: 3.938 kB / 357.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.1476, allocations: 39.97 kB / 357.3 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.1476, allocations: 4 kB / 357.3 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.816e-05/0.1477, allocations: 15.89 kB / 357.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1478, allocations: 4 kB / 357.4 MB, free: 12.83 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.0001097/0.1479, allocations: 129.8 kB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.1479, allocations: 11.91 kB / 357.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.148, allocations: 24.72 kB / 357.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.148, allocations: 0 / 357.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.148, allocations: 0 / 357.5 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.148, allocations: 7.984 kB / 357.5 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004271/0.1485, allocations: 265.4 kB / 357.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1485, allocations: 0 / 357.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.1487, allocations: 35.98 kB / 357.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1487, allocations: 0 / 357.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1487, allocations: 3.938 kB / 357.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1487, allocations: 7.938 kB / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1487, allocations: 4 kB / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.1493, allocations: 299.3 kB / 358.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.1493, allocations: 93.09 kB / 358.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.1494, allocations: 3.938 kB / 358.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1495, allocations: 20.03 kB / 358.3 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.1496, allocations: 7.984 kB / 358.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.1496, allocations: 4 kB / 358.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.682e-05/0.1497, allocations: 116.8 kB / 358.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1497, allocations: 0 / 358.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.15, allocations: 47.84 kB / 358.4 MB, free: 11.68 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.0001199/0.1501, allocations: 107.7 kB / 358.5 MB, free: 11.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003333/0.1505, allocations: 131.8 kB / 358.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1505, allocations: 0 / 358.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.1506, allocations: 63.91 kB / 358.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.151, allocations: 24 kB / 358.7 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009785/0.152, allocations: 0.5139 MB / 359.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1523, allocations: 0.724 MB / 360 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.528e-05/0.1524, allocations: 13.42 kB / 360 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.1524, allocations: 15.44 kB / 360 MB, free: 10.03 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1525, allocations: 0 / 360 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Templates: time 0.004394/0.1569, allocations: 1.631 MB / 361.6 MB, free: 8.41 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_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