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.0009428/0.0009424, allocations: 98.52 kB / 16.65 MB, free: 6.59 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.001147/0.001147, allocations: 183.4 kB / 17.57 MB, free: 6.199 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.597/1.597, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005786/0.0005784, allocations: 8 kB / 301.4 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1284, allocations: 50.42 MB / 351.8 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002467/0.1309, allocations: 1.831 MB / 353.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.132, allocations: 0.5221 MB / 354.2 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.1323, allocations: 4 kB / 354.2 MB, free: 1.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1325, allocations: 27.83 kB / 354.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.1327, allocations: 43.61 kB / 354.3 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1329, allocations: 51.89 kB / 354.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.1332, allocations: 219 kB / 354.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.1334, allocations: 66.08 kB / 354.6 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1336, allocations: 71.78 kB / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.1338, allocations: 91.55 kB / 354.8 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.1339, allocations: 12 kB / 354.8 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.447e-05/0.1339, allocations: 11.94 kB / 354.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.226e-05/0.134, allocations: 31.91 kB / 354.8 MB, free: 472 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.1341, allocations: 113.2 kB / 354.9 MB, free: 352 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003805/0.1345, allocations: 219.4 kB / 355.1 MB, free: 132 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1345, allocations: 0 / 355.1 MB, free: 132 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1345, allocations: 0 / 355.1 MB, free: 132 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.1346, allocations: 0 / 355.1 MB, free: 132 kB / 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.0009491/0.1355, allocations: 470.8 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.1356, allocations: 8.031 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.1357, allocations: 20.75 kB / 355.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.136, allocations: 224 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.1361, allocations: 12.38 kB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.1362, allocations: 16.38 kB / 355.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.1366, allocations: 185.9 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.1367, allocations: 4 kB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.1367, allocations: 4 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1367, allocations: 7.938 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.1371, allocations: 155.9 kB / 356.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.1385, allocations: 0.7662 MB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/0.139, allocations: 170.6 kB / 357.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.1393, allocations: 96.83 kB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.1393, allocations: 0 / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/0.1393, allocations: 38.5 kB / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.1393, allocations: 4 kB / 357.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005267/0.1399, allocations: 190.7 kB / 357.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.1399, allocations: 55.34 kB / 357.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1401, allocations: 165.1 kB / 357.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.1402, allocations: 25.7 kB / 357.7 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1403, allocations: 140.1 kB / 357.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.1403, allocations: 51.34 kB / 357.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.1404, allocations: 17.72 kB / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.1406, allocations: 322.8 kB / 358.2 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1408, allocations: 55.92 kB / 358.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.1409, allocations: 85.61 kB / 358.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.1412, allocations: 128.3 kB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.1413, allocations: 8 kB / 358.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005083/0.1418, allocations: 181.4 kB / 358.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1418, allocations: 4 kB / 358.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1418, allocations: 0 / 358.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/0.1419, allocations: 7.938 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1421, allocations: 44 kB / 358.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1421, allocations: 0 / 358.7 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.1423, allocations: 23.83 kB / 358.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.1423, allocations: 4 kB / 358.8 MB, free: 12.25 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.0001554/0.1425, allocations: 129.8 kB / 358.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/0.1425, allocations: 15.81 kB / 358.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.1426, allocations: 16.78 kB / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1426, allocations: 7.938 kB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1426, allocations: 4 kB / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1426, allocations: 0 / 358.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.143, allocations: 261.5 kB / 359.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.143, allocations: 3.984 kB / 359.2 MB, free: 11.76 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.1432, allocations: 43.97 kB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1432, allocations: 3.938 kB / 359.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/0.1433, allocations: 7.938 kB / 359.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.1433, allocations: 0 / 359.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1433, allocations: 4 kB / 359.3 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.1439, allocations: 314.9 kB / 359.6 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.1439, allocations: 85.02 kB / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.144, allocations: 11.94 kB / 359.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1441, allocations: 16.03 kB / 359.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.369e-05/0.1442, allocations: 7.984 kB / 359.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.1442, allocations: 4 kB / 359.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.1444, allocations: 116.6 kB / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1444, allocations: 0 / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003084/0.1447, allocations: 47.84 kB / 359.8 MB, free: 11.08 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.1449, allocations: 111.1 kB / 360 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1452, allocations: 131.9 kB / 360.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1453, allocations: 3.938 kB / 360.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.1454, allocations: 68.03 kB / 360.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.1459, allocations: 23.98 kB / 360.2 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.1474, allocations: 0.6577 MB / 360.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.1481, allocations: 0.7204 MB / 361.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.1483, allocations: 17.36 kB / 361.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.1483, allocations: 15.44 kB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1483, allocations: 4 kB / 361.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of Templates: time 0.006527/0.1549, allocations: 1.502 MB / 363.1 MB, free: 7.785 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