Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.006981/0.006981, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8914/0.8914, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.948e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002442/0.002462, allocations: 2.004 MB / 300.5 MB, free: 1.488 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.003268, allocations: 0.5581 MB / 301 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.003371, allocations: 4 kB / 301 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.003491, allocations: 35.64 kB / 301.1 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.055e-05/0.003572, allocations: 47.5 kB / 301.1 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.003749, allocations: 59.84 kB / 301.2 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.003947, allocations: 242.9 kB / 301.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.004088, allocations: 53.77 kB / 301.4 MB, free: 500 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.00421, allocations: 135.8 kB / 301.6 MB, free: 364 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.885e-05/0.004309, allocations: 71.78 kB / 301.6 MB, free: 292 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.004342, allocations: 20 kB / 301.7 MB, free: 272 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.276e-05/0.004365, allocations: 24 kB / 301.7 MB, free: 248 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.382e-05/0.004399, allocations: 47.83 kB / 301.7 MB, free: 200 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.332e-05/0.004452, allocations: 71.83 kB / 301.8 MB, free: 128 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1325/0.1369, allocations: 239.8 kB / 302 MB, free: 13.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.1369, allocations: 0 / 302 MB, free: 13.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1369, allocations: 0.9375 kB / 302 MB, free: 13.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.137, allocations: 0 / 302 MB, free: 13.16 MB / 282.7 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.0006416/0.1376, allocations: 427.6 kB / 302.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1377, allocations: 16.3 kB / 302.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.1377, allocations: 56.45 kB / 302.5 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.1378, allocations: 19 kB / 302.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1381, allocations: 166.8 kB / 302.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.1381, allocations: 10.94 kB / 302.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1381, allocations: 19.28 kB / 302.7 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1385, allocations: 227.7 kB / 303 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1385, allocations: 0.9375 kB / 303 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.1385, allocations: 12.06 kB / 303 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.1385, allocations: 7.312 kB / 303 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.1387, allocations: 139.1 kB / 303.1 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.1394, allocations: 0.6623 MB / 303.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.1397, allocations: 150.5 kB / 303.9 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.1398, allocations: 84.91 kB / 304 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1398, allocations: 3.375 kB / 304 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1398, allocations: 35.81 kB / 304.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.1398, allocations: 0 / 304.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003179/0.1402, allocations: 192.6 kB / 304.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.1402, allocations: 57.12 kB / 304.3 MB, free: 12.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.1403, allocations: 154.7 kB / 304.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1403, allocations: 30.42 kB / 304.5 MB, free: 11.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1403, allocations: 133.8 kB / 304.6 MB, free: 11.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.1404, allocations: 57.75 kB / 304.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.1404, allocations: 29.89 kB / 304.7 MB, free: 11.72 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.297e-05/0.1405, allocations: 323.1 kB / 305 MB, free: 11.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.1405, allocations: 56.97 kB / 305.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.1406, allocations: 68.55 kB / 305.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1408, allocations: 123.1 kB / 305.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1408, allocations: 0 / 305.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002322/0.141, allocations: 185.8 kB / 305.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.141, allocations: 5.406 kB / 305.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.141, allocations: 1.406 kB / 305.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.141, allocations: 1.469 kB / 305.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1412, allocations: 42.08 kB / 305.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1412, allocations: 10.2 kB / 305.5 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.1413, allocations: 15.23 kB / 305.5 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.1413, allocations: 4.531 kB / 305.5 MB, free: 11.32 MB / 282.7 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 6.092e-05/0.1413, allocations: 132.4 kB / 305.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1413, allocations: 11.08 kB / 305.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.1414, allocations: 16.86 kB / 305.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.1414, allocations: 2.203 kB / 305.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.1414, allocations: 1.094 kB / 305.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1414, allocations: 5.156 kB / 305.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1415, allocations: 215.9 kB / 305.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1415, allocations: 0.9062 kB / 305.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.1417, allocations: 42.08 kB / 305.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1417, allocations: 1.188 kB / 305.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.1417, allocations: 5 kB / 305.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1417, allocations: 6.031 kB / 305.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1417, allocations: 3.828 kB / 305.9 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.142, allocations: 301.3 kB / 306.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.811e-05/0.142, allocations: 16.81 kB / 306.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.142, allocations: 5.094 kB / 306.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.1421, allocations: 14.86 kB / 306.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.1421, allocations: 15 kB / 306.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1421, allocations: 6.938 kB / 306.3 MB, free: 10.87 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.1422, allocations: 115.8 kB / 306.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1422, allocations: 0 / 306.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000183/0.1424, allocations: 44.02 kB / 306.5 MB, free: 10.79 MB / 282.7 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.0003754/0.1428, allocations: 0.834 MB / 307.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.143, allocations: 119.1 kB / 307.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.143, allocations: 1.156 kB / 307.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.143, allocations: 60.19 kB / 307.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.1433, allocations: 26.14 kB / 307.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1448, allocations: 1.984 MB / 309.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.028e-05/0.1449, allocations: 109.7 kB / 309.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.028e-05/0.145, allocations: 12.56 kB / 309.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.145, allocations: 51.59 kB / 309.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.145, allocations: 0 / 309.6 MB, free: 8.617 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.1641, allocations: 4.193 MB / 313.8 MB, free: 7.348 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.957, allocations: 11.84 kB / 313.8 MB, free: 7.336 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,G.G,G.G_actual,G.LossPower,G.T,G.T_heatPort,G.T_ref,G.alpha,G.i,G.n.i,G.n.v,G.p.i,G.p.v,G.useHeatPort,G.v,Gnd.p.i,Gnd.p.v,L.L,L.i,L.n.i,L.n.v,L.p.i,L.p.v,L.v,Nr.Ga,Nr.Gb,Nr.Ve,Nr.i,Nr.n.i,Nr.n.v,Nr.p.i,Nr.p.v,Nr.v,Ro.LossPower,Ro.R,Ro.R_actual,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,Ro.i,Ro.n.i,Ro.n.v,Ro.p.i,Ro.p.v,Ro.useHeatPort,Ro.v,der(C1.v),der(C2.v),der(L.i),time [Calling sys.exit(0), Time elapsed: 9.431709068827331]