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.001227/0.001227, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.00126/0.00126, allocations: 189.1 kB / 24.49 MB, free: 3.98 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.344/1.344, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001442/0.001442, allocations: 43.92 kB / 371.2 MB, free: 9.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2392, allocations: 52.19 MB / 423.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.0033/0.2425, allocations: 2.03 MB / 425.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.2434, allocations: 0.5027 MB / 425.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.2435, allocations: 7.938 kB / 425.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.2437, allocations: 27.72 kB / 425.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2438, allocations: 51.48 kB / 426 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.244, allocations: 59.91 kB / 426 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.2442, allocations: 239 kB / 426.3 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.2445, allocations: 59.89 kB / 426.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.2446, allocations: 91.7 kB / 426.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.2448, allocations: 99.61 kB / 426.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.2448, allocations: 20 kB / 426.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-05/0.2448, allocations: 20 kB / 426.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.993e-05/0.2449, allocations: 43.83 kB / 426.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.245, allocations: 87.66 kB / 426.7 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.2453, allocations: 235.1 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2453, allocations: 4 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2453, allocations: 4 kB / 426.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.2453, allocations: 0 / 426.9 MB, free: 10.86 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.0007652/0.2461, allocations: 421.5 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2461, allocations: 8.031 kB / 427.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.629e-05/0.2461, allocations: 4.188 kB / 427.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.333e-05/0.2462, allocations: 54.73 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.2462, allocations: 32.73 kB / 427.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.2465, allocations: 162.1 kB / 427.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.2465, allocations: 12.38 kB / 427.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.846e-05/0.2466, allocations: 20.38 kB / 427.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.2469, allocations: 236.8 kB / 427.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.247, allocations: 0 / 427.8 MB, free: 9.844 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.247, allocations: 8 kB / 427.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.247, allocations: 4 kB / 427.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.2473, allocations: 139.9 kB / 428 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.2484, allocations: 0.672 MB / 428.7 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.2488, allocations: 154.5 kB / 428.8 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.249, allocations: 84.83 kB / 428.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.249, allocations: 0 / 428.9 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.2491, allocations: 38.56 kB / 428.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.2491, allocations: 0 / 428.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004596/0.2495, allocations: 187.6 kB / 429.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.2496, allocations: 55.41 kB / 429.2 MB, free: 8.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.2497, allocations: 163.2 kB / 429.3 MB, free: 8.246 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.2498, allocations: 25.7 kB / 429.4 MB, free: 8.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.2498, allocations: 136.2 kB / 429.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.2499, allocations: 51.58 kB / 429.5 MB, free: 8.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-05/0.25, allocations: 29.72 kB / 429.6 MB, free: 7.988 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.2501, allocations: 326.8 kB / 429.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.2502, allocations: 55.91 kB / 429.9 MB, free: 7.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.2504, allocations: 72.59 kB / 430 MB, free: 7.531 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.2506, allocations: 125.9 kB / 430.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2506, allocations: 0 / 430.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003337/0.2509, allocations: 177.4 kB / 430.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.251, allocations: 7.938 kB / 430.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.251, allocations: 0 / 430.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.251, allocations: 0 / 430.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.2512, allocations: 55.94 kB / 430.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2512, allocations: 0 / 430.4 MB, free: 7.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.2513, allocations: 19.88 kB / 430.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2513, allocations: 8 kB / 430.4 MB, free: 7.133 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.000122/0.2514, allocations: 121.8 kB / 430.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.2515, allocations: 15.89 kB / 430.5 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.2515, allocations: 12.78 kB / 430.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.2515, allocations: 4 kB / 430.6 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.2515, allocations: 3.938 kB / 430.6 MB, free: 6.969 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2515, allocations: 3.984 kB / 430.6 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002751/0.2518, allocations: 224.6 kB / 430.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2518, allocations: 0 / 430.8 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.252, allocations: 39.97 kB / 430.8 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.252, allocations: 3.938 kB / 430.8 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.252, allocations: 4 kB / 430.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.252, allocations: 0 / 430.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.252, allocations: 0 / 430.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004602/0.2525, allocations: 299.3 kB / 431.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.2525, allocations: 19.92 kB / 431.1 MB, free: 6.328 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2525, allocations: 7.938 kB / 431.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2527, allocations: 11.98 kB / 431.2 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2527, allocations: 11.98 kB / 431.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.2527, allocations: 0 / 431.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.208e-05/0.2528, allocations: 117.3 kB / 431.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2528, allocations: 0 / 431.3 MB, free: 6.184 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.2531, allocations: 51.83 kB / 431.3 MB, free: 6.133 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.0007514/0.2538, allocations: 0.8409 MB / 432.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.2541, allocations: 118.5 kB / 432.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2541, allocations: 0 / 432.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.2543, allocations: 63.91 kB / 432.4 MB, free: 5.094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2546, allocations: 28.03 kB / 432.4 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002573/0.2572, allocations: 2.052 MB / 434.4 MB, free: 2.934 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2573, allocations: 119.7 kB / 434.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.2573, allocations: 9.438 kB / 434.6 MB, free: 2.781 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.2574, allocations: 55.41 kB / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2574, allocations: 0 / 434.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.2825, allocations: 3.736 MB / 438.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.04, allocations: 15.38 kB / 438.4 MB, free: 15.15 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.594613110064529]