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.0009565/0.0009566, allocations: 93.88 kB / 16.3 MB, free: 6.457 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.001136/0.001136, allocations: 184.9 kB / 17.2 MB, free: 6.34 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.431/1.431, allocations: 223.2 MB / 241.1 MB, free: 5.359 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003264/0.0003266, allocations: 8.469 kB / 300.7 MB, free: 6.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.142, allocations: 50.42 MB / 351.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002262/0.1443, allocations: 1.682 MB / 352.8 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.1452, allocations: 0.5225 MB / 353.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1453, allocations: 4 kB / 353.3 MB, free: 9.59 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.658e-05/0.1454, allocations: 23.83 kB / 353.4 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.1456, allocations: 67.78 kB / 353.4 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.1458, allocations: 39.95 kB / 353.5 MB, free: 9.461 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002381/0.146, allocations: 151.7 kB / 353.6 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.1462, allocations: 74.14 kB / 353.7 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1463, allocations: 67.78 kB / 353.8 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1465, allocations: 83.67 kB / 353.8 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.1465, allocations: 12 kB / 353.9 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.1465, allocations: 8 kB / 353.9 MB, free: 9.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.1466, allocations: 39.83 kB / 353.9 MB, free: 9.031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.1466, allocations: 57.64 kB / 354 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.1468, allocations: 171.4 kB / 354.1 MB, free: 8.801 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1468, allocations: 4 kB / 354.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1468, allocations: 0 / 354.1 MB, free: 8.797 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1468, allocations: 0 / 354.1 MB, free: 8.797 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.0007441/0.1476, allocations: 470.7 kB / 354.6 MB, free: 8.289 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1476, allocations: 8.031 kB / 354.6 MB, free: 8.281 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.499e-05/0.1477, allocations: 23.77 kB / 354.6 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.148, allocations: 206.8 kB / 354.8 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.148, allocations: 23.95 kB / 354.8 MB, free: 7.992 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.1481, allocations: 16 kB / 354.9 MB, free: 7.977 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.1484, allocations: 181.5 kB / 355 MB, free: 7.793 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1484, allocations: 0 / 355 MB, free: 7.793 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.1485, allocations: 12 kB / 355 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1485, allocations: 4 kB / 355.1 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.1488, allocations: 155.8 kB / 355.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.15, allocations: 0.7508 MB / 356 MB, free: 6.805 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.1504, allocations: 178.5 kB / 356.1 MB, free: 6.621 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.1505, allocations: 7.984 kB / 356.1 MB, free: 6.613 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1505, allocations: 30.56 kB / 356.2 MB, free: 6.574 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.1505, allocations: 7.938 kB / 356.2 MB, free: 6.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004817/0.151, allocations: 189.8 kB / 356.4 MB, free: 6.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.151, allocations: 59.39 kB / 356.4 MB, free: 6.305 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1512, allocations: 157.8 kB / 356.6 MB, free: 6.145 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.1512, allocations: 29.7 kB / 356.6 MB, free: 6.109 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.1513, allocations: 136.2 kB / 356.7 MB, free: 5.973 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1514, allocations: 47.28 kB / 356.8 MB, free: 5.926 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.1514, allocations: 4 kB / 356.8 MB, free: 5.922 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.1515, allocations: 322.8 kB / 357.1 MB, free: 5.598 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1516, allocations: 59.91 kB / 357.2 MB, free: 5.539 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001502/0.1518, allocations: 77.64 kB / 357.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1519, allocations: 61.7 kB / 357.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1519, allocations: 0 / 357.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003305/0.1523, allocations: 189.3 kB / 357.5 MB, free: 5.207 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1523, allocations: 8 kB / 357.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1523, allocations: 0 / 357.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1523, allocations: 0 / 357.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.1526, allocations: 43.97 kB / 357.5 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1526, allocations: 0 / 357.5 MB, free: 5.156 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.1527, allocations: 23.88 kB / 357.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1527, allocations: 4 kB / 357.6 MB, free: 5.129 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.1528, allocations: 133.7 kB / 357.7 MB, free: 4.988 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.1529, allocations: 7.906 kB / 357.7 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.908e-05/0.1529, allocations: 20.83 kB / 357.7 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1529, allocations: 0 / 357.7 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1529, allocations: 0 / 357.7 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.153, allocations: 0 / 357.7 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.1532, allocations: 273.4 kB / 358 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1533, allocations: 4 kB / 358 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.1535, allocations: 35.97 kB / 358 MB, free: 4.602 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1535, allocations: 4 kB / 358 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.1535, allocations: 4 kB / 358 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1535, allocations: 0 / 358 MB, free: 4.594 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1535, allocations: 3.938 kB / 358 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.154, allocations: 311.3 kB / 358.3 MB, free: 4.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.154, allocations: 96.94 kB / 358.4 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.1541, allocations: 4.094 kB / 358.4 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.1542, allocations: 20 kB / 358.5 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.1543, allocations: 11.97 kB / 358.5 MB, free: 4.121 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1543, allocations: 4 kB / 358.5 MB, free: 4.117 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.873e-05/0.1544, allocations: 115.8 kB / 358.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1544, allocations: 0 / 358.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1547, allocations: 51.75 kB / 358.6 MB, free: 3.953 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001191/0.1548, allocations: 99.19 kB / 358.7 MB, free: 3.848 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.1551, allocations: 134.4 kB / 358.9 MB, free: 3.719 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1551, allocations: 3.938 kB / 358.9 MB, free: 3.715 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1552, allocations: 70.53 kB / 358.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.1555, allocations: 24.05 kB / 359 MB, free: 3.625 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009862/0.1565, allocations: 0.6227 MB / 359.6 MB, free: 2.973 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1568, allocations: 0.7359 MB / 360.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.482e-05/0.1569, allocations: 9.422 kB / 360.3 MB, free: 2.199 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.157, allocations: 15.44 kB / 360.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.157, allocations: 0 / 360.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of Templates: time 0.004099/0.1611, allocations: 1.453 MB / 361.8 MB, free: 0.75 MB / 286.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","../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