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.001239/0.001239, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001405/0.001405, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 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 1.368/1.368, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 43.92 kB / 371.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.237, allocations: 52.18 MB / 423.4 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003567/0.2406, allocations: 2.167 MB / 425.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2416, allocations: 0.5416 MB / 426.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.899e-05/0.2417, allocations: 4 kB / 426.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.2418, allocations: 35.64 kB / 426.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.242, allocations: 55.55 kB / 426.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.2422, allocations: 51.88 kB / 426.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002885/0.2425, allocations: 239 kB / 426.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000185/0.2426, allocations: 57.77 kB / 426.6 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2428, allocations: 91.7 kB / 426.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.2429, allocations: 103.6 kB / 426.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.243, allocations: 23.94 kB / 426.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.624e-05/0.243, allocations: 20 kB / 426.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.2431, allocations: 39.91 kB / 426.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.2432, allocations: 103.5 kB / 426.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.2435, allocations: 235.9 kB / 427.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2435, allocations: 0 / 427.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2435, allocations: 4 kB / 427.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.089e-05/0.2435, allocations: 0 / 427.2 MB, free: 10.84 MB / 334.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.0007702/0.2442, allocations: 421.5 kB / 427.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.2443, allocations: 12.03 kB / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.2443, allocations: 4.188 kB / 427.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.509e-05/0.2444, allocations: 54.73 kB / 427.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.2444, allocations: 24.8 kB / 427.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.2447, allocations: 166.2 kB / 427.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.2447, allocations: 12.38 kB / 427.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.2448, allocations: 20.38 kB / 427.9 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.2451, allocations: 181.4 kB / 428 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2451, allocations: 0 / 428 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.2452, allocations: 11.94 kB / 428.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.2452, allocations: 11.98 kB / 428.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.2455, allocations: 135.9 kB / 428.2 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.2467, allocations: 0.7148 MB / 428.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003996/0.2471, allocations: 150.5 kB / 429.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.2473, allocations: 88.83 kB / 429.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.2473, allocations: 0 / 429.1 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.2473, allocations: 34.56 kB / 429.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.2473, allocations: 0 / 429.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004818/0.2478, allocations: 181.5 kB / 429.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.2479, allocations: 51.41 kB / 429.4 MB, free: 8.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.248, allocations: 163.4 kB / 429.6 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.248, allocations: 29.7 kB / 429.6 MB, free: 8.227 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2481, allocations: 136.3 kB / 429.7 MB, free: 8.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.2482, allocations: 47.58 kB / 429.8 MB, free: 8.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.407e-05/0.2483, allocations: 33.72 kB / 429.8 MB, free: 8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.2484, allocations: 322.8 kB / 430.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.2485, allocations: 51.97 kB / 430.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.2487, allocations: 76.78 kB / 430.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.2489, allocations: 125.2 kB / 430.4 MB, free: 7.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2489, allocations: 4 kB / 430.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003414/0.2493, allocations: 177.4 kB / 430.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2493, allocations: 7.938 kB / 430.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2493, allocations: 4.031 kB / 430.6 MB, free: 7.227 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.2493, allocations: 4 kB / 430.6 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.2495, allocations: 39.97 kB / 430.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2495, allocations: 7.922 kB / 430.6 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.2496, allocations: 23.83 kB / 430.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2496, allocations: 8 kB / 430.6 MB, free: 7.145 MB / 334.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.0001149/0.2498, allocations: 121.8 kB / 430.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.2498, allocations: 19.88 kB / 430.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.2498, allocations: 20.78 kB / 430.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2498, allocations: 0 / 430.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.2498, allocations: 0 / 430.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2498, allocations: 0 / 430.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.2501, allocations: 240.5 kB / 431 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2501, allocations: 0 / 431 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.2504, allocations: 43.91 kB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.2504, allocations: 3.938 kB / 431.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.2504, allocations: 4 kB / 431.1 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2504, allocations: 3.938 kB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2504, allocations: 4 kB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004766/0.2509, allocations: 294.8 kB / 431.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.2509, allocations: 11.98 kB / 431.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.2509, allocations: 11.94 kB / 431.4 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.2511, allocations: 11.98 kB / 431.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.2511, allocations: 16.06 kB / 431.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.2511, allocations: 4 kB / 431.4 MB, free: 6.285 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.68e-05/0.2512, allocations: 112.8 kB / 431.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2512, allocations: 0 / 431.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.2515, allocations: 51.83 kB / 431.6 MB, free: 6.125 MB / 334.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.0008062/0.2523, allocations: 0.8364 MB / 432.4 MB, free: 5.266 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.2526, allocations: 115.9 kB / 432.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2526, allocations: 0 / 432.5 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.2527, allocations: 67.91 kB / 432.6 MB, free: 5.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.253, allocations: 24.05 kB / 432.6 MB, free: 5.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.2557, allocations: 2.049 MB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.256, allocations: 0.7277 MB / 435.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.515e-05/0.2561, allocations: 21.36 kB / 435.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.733e-05/0.2562, allocations: 51.42 kB / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2562, allocations: 0 / 435.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.2816, allocations: 3.63 MB / 439.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.91, allocations: 0 / 439.1 MB, free: 14.63 MB / 350.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ChuaCircuit/ChuaCircuit.csv","/var/lib/jenkins1/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 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: 15.465827501029707]