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.001319/0.001319, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001418, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.12 kB / 306.3 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1355, allocations: 50.53 MB / 356.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004084/0.1397, allocations: 2.214 MB / 359 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1409, allocations: 0.5649 MB / 359.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.141, allocations: 4 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001635/0.1412, allocations: 23.83 kB / 359.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.1413, allocations: 47.61 kB / 359.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.1415, allocations: 47.95 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.1418, allocations: 223 kB / 359.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.142, allocations: 74.06 kB / 360 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1422, allocations: 75.77 kB / 360.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.1423, allocations: 91.61 kB / 360.1 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.1424, allocations: 20 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.706e-05/0.1425, allocations: 16 kB / 360.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.1425, allocations: 35.84 kB / 360.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.1426, allocations: 91.53 kB / 360.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.1429, allocations: 227.5 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1429, allocations: 4 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1429, allocations: 0 / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1429, allocations: 0 / 360.5 MB, free: 10.74 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.0008666/0.1438, allocations: 0.5012 MB / 361 MB, free: 10.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.1439, allocations: 11.97 kB / 361 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.1439, allocations: 20.75 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.1442, allocations: 216.1 kB / 361.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.1443, allocations: 12.38 kB / 361.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.623e-05/0.1443, allocations: 20.38 kB / 361.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.1447, allocations: 173.9 kB / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1447, allocations: 4 kB / 361.5 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.1448, allocations: 8 kB / 361.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1448, allocations: 7.984 kB / 361.5 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.1451, allocations: 143.9 kB / 361.6 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.1463, allocations: 0.7507 MB / 362.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003872/0.1467, allocations: 158.4 kB / 362.5 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.1469, allocations: 96.83 kB / 362.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.147, allocations: 0 / 362.6 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.147, allocations: 34.56 kB / 362.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 2.514e-06/0.147, allocations: 0 / 362.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.000456/0.1475, allocations: 193.4 kB / 362.9 MB, free: 8.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.1475, allocations: 63.34 kB / 362.9 MB, free: 8.156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1477, allocations: 153 kB / 363.1 MB, free: 8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.1477, allocations: 29.7 kB / 363.1 MB, free: 7.965 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.1478, allocations: 136.2 kB / 363.2 MB, free: 7.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.1478, allocations: 51.2 kB / 363.3 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.1479, allocations: 29.72 kB / 363.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.148, allocations: 326.8 kB / 363.6 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.1481, allocations: 51.97 kB / 363.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1483, allocations: 69.69 kB / 363.7 MB, free: 7.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.1485, allocations: 125.6 kB / 363.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.1485, allocations: 0 / 363.9 MB, free: 7.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000317/0.1488, allocations: 172.3 kB / 364 MB, free: 6.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.1489, allocations: 8 kB / 364 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1489, allocations: 32 / 364 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1489, allocations: 7.938 kB / 364.1 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1491, allocations: 47.89 kB / 364.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1492, allocations: 4 kB / 364.1 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.1493, allocations: 11.91 kB / 364.1 MB, free: 6.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1493, allocations: 7.984 kB / 364.1 MB, free: 6.902 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.0001155/0.1494, allocations: 133.7 kB / 364.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1494, allocations: 7.906 kB / 364.3 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.1495, allocations: 28.78 kB / 364.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1495, allocations: 0 / 364.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1495, allocations: 0 / 364.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.1495, allocations: 4 kB / 364.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.1498, allocations: 261.4 kB / 364.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1498, allocations: 0 / 364.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.15, allocations: 39.97 kB / 364.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.15, allocations: 0 / 364.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.1501, allocations: 3.938 kB / 364.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1501, allocations: 4 kB / 364.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1501, allocations: 0 / 364.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.1505, allocations: 311.2 kB / 364.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.1506, allocations: 89.02 kB / 365 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1506, allocations: 3.938 kB / 365 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1508, allocations: 19.92 kB / 365 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.1508, allocations: 15.98 kB / 365 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.1509, allocations: 4 kB / 365 MB, free: 5.902 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.061e-05/0.151, allocations: 114.6 kB / 365.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.151, allocations: 0 / 365.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1512, allocations: 47.84 kB / 365.2 MB, free: 5.746 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.0001417/0.1514, allocations: 103.2 kB / 365.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.1517, allocations: 123.9 kB / 365.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1517, allocations: 0 / 365.4 MB, free: 5.512 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1518, allocations: 59.91 kB / 365.5 MB, free: 5.453 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.1523, allocations: 23.98 kB / 365.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.1533, allocations: 0.5821 MB / 366.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.1536, allocations: 0.7204 MB / 366.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.291e-05/0.1537, allocations: 13.41 kB / 366.8 MB, free: 4.055 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.672e-05/0.1538, allocations: 19.44 kB / 366.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of SimCode: time 1.473e-06/0.1538, allocations: 0 / 366.8 MB, free: 4.035 MB / 302.1 MB Notification: Performance of Templates: time 0.004786/0.1586, allocations: 1.52 MB / 368.3 MB, free: 2.531 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