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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00139/0.00139, allocations: 118.3 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 222.3 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.4 MB / 254.7 MB, free: 15.2 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 63.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1431, allocations: 53.37 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00424/0.1473, allocations: 2.179 MB / 429.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1487, allocations: 0.5727 MB / 429.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.1488, allocations: 8 kB / 429.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.149, allocations: 27.72 kB / 429.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001227/0.1491, allocations: 51.48 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.1493, allocations: 67.84 kB / 430 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003891/0.1497, allocations: 231 kB / 430.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.1499, allocations: 57.66 kB / 430.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.15, allocations: 87.77 kB / 430.3 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001699/0.1502, allocations: 91.61 kB / 430.4 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.1503, allocations: 31.94 kB / 430.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.1503, allocations: 20 kB / 430.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1504, allocations: 47.83 kB / 430.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.1505, allocations: 99.53 kB / 430.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.1508, allocations: 239.1 kB / 430.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1508, allocations: 0 / 430.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1508, allocations: 0 / 430.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.1508, allocations: 0 / 430.9 MB, free: 0.8281 MB / 350.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.0008884/0.1517, allocations: 498.6 kB / 431.3 MB, free: 300 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.1518, allocations: 8.031 kB / 431.4 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.419e-05/0.1518, allocations: 8.188 kB / 431.4 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.1518, allocations: 50.73 kB / 431.4 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.1519, allocations: 24.8 kB / 431.4 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.1523, allocations: 220 kB / 431.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1523, allocations: 20.36 kB / 431.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.1523, allocations: 20.38 kB / 431.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.1527, allocations: 181.5 kB / 431.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1527, allocations: 0 / 431.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1528, allocations: 4 kB / 431.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1528, allocations: 7.938 kB / 431.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.1531, allocations: 143.9 kB / 432 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.1544, allocations: 0.7431 MB / 432.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.1549, allocations: 154.5 kB / 432.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.1551, allocations: 84.83 kB / 433 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.1551, allocations: 0 / 433 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.1551, allocations: 34.5 kB / 433 MB, free: 14.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.1551, allocations: 4 kB / 433 MB, free: 14.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000502/0.1556, allocations: 193.7 kB / 433.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.1557, allocations: 51.41 kB / 433.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.1558, allocations: 149.8 kB / 433.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.1559, allocations: 29.7 kB / 433.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.156, allocations: 140.3 kB / 433.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.156, allocations: 47.61 kB / 433.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.55e-05/0.1561, allocations: 37.72 kB / 433.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1562, allocations: 318.8 kB / 434 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1564, allocations: 55.92 kB / 434 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.1565, allocations: 73.62 kB / 434.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.1568, allocations: 123.6 kB / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1568, allocations: 7.984 kB / 434.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004027/0.1572, allocations: 173.5 kB / 434.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.1572, allocations: 7.938 kB / 434.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1572, allocations: 0 / 434.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1572, allocations: 4 kB / 434.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.1575, allocations: 39.97 kB / 434.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1575, allocations: 0 / 434.5 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.1576, allocations: 27.86 kB / 434.5 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1576, allocations: 4 kB / 434.5 MB, free: 12.94 MB / 366.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.0001347/0.1577, allocations: 129.8 kB / 434.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.474e-05/0.1578, allocations: 19.84 kB / 434.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.887e-05/0.1578, allocations: 20.83 kB / 434.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1578, allocations: 0 / 434.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.1578, allocations: 0 / 434.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1578, allocations: 0 / 434.7 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.1582, allocations: 265.5 kB / 434.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1582, allocations: 0 / 434.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.1584, allocations: 39.97 kB / 434.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.1584, allocations: 7.875 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1584, allocations: 4 kB / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1584, allocations: 0 / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1584, allocations: 0 / 435 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006409/0.159, allocations: 303.4 kB / 435.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.1591, allocations: 89.02 kB / 435.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.1591, allocations: 7.938 kB / 435.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.1593, allocations: 15.92 kB / 435.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1593, allocations: 11.98 kB / 435.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1593, allocations: 0 / 435.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.1595, allocations: 114.6 kB / 435.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1595, allocations: 4 kB / 435.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1597, allocations: 47.89 kB / 435.5 MB, free: 11.79 MB / 366.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.0008735/0.1606, allocations: 0.8348 MB / 436.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003509/0.161, allocations: 130 kB / 436.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.161, allocations: 0 / 436.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1611, allocations: 55.91 kB / 436.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.1615, allocations: 25.55 kB / 436.6 MB, free: 10.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.1646, allocations: 2.059 MB / 438.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.165, allocations: 0.724 MB / 439.4 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.875e-05/0.1651, allocations: 17.45 kB / 439.4 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.726e-05/0.1652, allocations: 55.36 kB / 439.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1652, allocations: 0 / 439.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.1887, allocations: 3.442 MB / 442.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.262, allocations: 15.62 kB / 442.9 MB, free: 4.418 MB / 366.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Warning: Resultfile and Reference have different end time points! Reffile[6013]=3000.000000 File[100002]=50000.000000 " [Timeout remaining time 659] "" 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: 12.739167300984263]