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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008675/0.0008675, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008081/0.0008081, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9282/0.9282, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.391e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002029/0.002043, allocations: 2.012 MB / 320.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.002674, allocations: 0.5221 MB / 321 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.002755, allocations: 0 / 321 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.002881, allocations: 35.7 kB / 321 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.503e-05/0.002956, allocations: 59.42 kB / 321.1 MB, free: 3.707 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003148, allocations: 67.73 kB / 321.1 MB, free: 3.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.003351, allocations: 238.9 kB / 321.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.003511, allocations: 57.77 kB / 321.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.003634, allocations: 131.8 kB / 321.6 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.546e-05/0.003729, allocations: 63.86 kB / 321.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.381e-05/0.003763, allocations: 27.92 kB / 321.6 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.391e-05/0.003787, allocations: 20 kB / 321.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.00382, allocations: 43.89 kB / 321.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.731e-05/0.003877, allocations: 75.83 kB / 321.8 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.004097, allocations: 243.2 kB / 322 MB, free: 2.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.0041, allocations: 4 kB / 322 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0041, allocations: 0 / 322 MB, free: 2.746 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.004105, allocations: 0 / 322 MB, free: 2.746 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.0005229/0.004628, allocations: 421.5 kB / 322.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.004664, allocations: 8.922 kB / 322.4 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.98e-05/0.004704, allocations: 50.73 kB / 322.5 MB, free: 2.238 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.004738, allocations: 20.8 kB / 322.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.004938, allocations: 161.5 kB / 322.7 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.004955, allocations: 16.33 kB / 322.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.004983, allocations: 20.38 kB / 322.7 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.005262, allocations: 229.5 kB / 322.9 MB, free: 1.758 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.005272, allocations: 4.188 kB / 322.9 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.005293, allocations: 12.12 kB / 322.9 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.005299, allocations: 4 kB / 323 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.005495, allocations: 143.9 kB / 323.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008402/0.006335, allocations: 0.6608 MB / 323.8 MB, free: 0.875 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.006604, allocations: 158.4 kB / 323.9 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.006739, allocations: 84.81 kB / 324 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.006752, allocations: 4 kB / 324 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.00678, allocations: 34.56 kB / 324 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.006783, allocations: 0 / 324 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003247/0.007107, allocations: 185.8 kB / 324.2 MB, free: 400 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.007139, allocations: 51.41 kB / 324.3 MB, free: 336 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.007249, allocations: 156.9 kB / 324.4 MB, free: 172 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.007265, allocations: 29.7 kB / 324.4 MB, free: 136 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.007351, allocations: 140.3 kB / 324.6 MB, free: 15.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.00768, allocations: 47.53 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.543e-05/0.007725, allocations: 41.64 kB / 324.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.007802, allocations: 322.8 kB / 325 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.658e-05/0.007878, allocations: 51.91 kB / 325 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.00797, allocations: 73.64 kB / 325.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001489/0.008119, allocations: 128.5 kB / 325.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.008122, allocations: 0 / 325.2 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002004/0.008322, allocations: 173.4 kB / 325.4 MB, free: 15.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.008337, allocations: 8 kB / 325.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.008342, allocations: 3.984 kB / 325.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.008356, allocations: 0 / 325.4 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.008496, allocations: 43.95 kB / 325.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.008507, allocations: 11.92 kB / 325.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.008557, allocations: 15.89 kB / 325.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.008566, allocations: 4 kB / 325.5 MB, free: 15.05 MB / 298.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 8.171e-05/0.008648, allocations: 125.8 kB / 325.6 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.008668, allocations: 11.91 kB / 325.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.008697, allocations: 20.77 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.008699, allocations: 0 / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.008704, allocations: 3.938 kB / 325.6 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008708, allocations: 8 kB / 325.7 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.008884, allocations: 220.6 kB / 325.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008885, allocations: 0 / 325.9 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.009006, allocations: 39.91 kB / 325.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.009009, allocations: 0 / 325.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.009021, allocations: 8 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.009022, allocations: 0 / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.009024, allocations: 3.938 kB / 325.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.009331, allocations: 305.2 kB / 326.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.009351, allocations: 19.84 kB / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.009367, allocations: 0 / 326.2 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.009438, allocations: 16.03 kB / 326.3 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.009473, allocations: 11.92 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.009479, allocations: 4 kB / 326.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.389e-05/0.009533, allocations: 115.2 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009533, allocations: 3.938 kB / 326.4 MB, free: 14.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000174/0.009707, allocations: 47.89 kB / 326.4 MB, free: 14.05 MB / 298.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.0004332/0.01014, allocations: 0.8179 MB / 327.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.01033, allocations: 123.9 kB / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01033, allocations: 0 / 327.4 MB, free: 13.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.0104, allocations: 62.66 kB / 327.4 MB, free: 13.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01063, allocations: 34.48 kB / 327.5 MB, free: 12.99 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.01229, allocations: 1.99 MB / 329.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.549e-05/0.01238, allocations: 112.1 kB / 329.6 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.01243, allocations: 9.484 kB / 329.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.581e-05/0.01251, allocations: 48.48 kB / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01252, allocations: 0 / 329.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.02976, allocations: 4.192 MB / 333.8 MB, free: 6.668 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.786, allocations: 2.062 kB / 333.8 MB, free: 6.668 MB / 298.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --stepSize=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1) [Timeout 52.5] 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) [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.40600978396833]