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.001775/0.001775, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002074/0.002074, allocations: 188.2 kB / 23.72 MB, free: 4.684 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.468/1.468, allocations: 225.6 MB / 252.5 MB, free: 13.03 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="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 0.001509/0.001509, allocations: 43.92 kB / 370.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2512, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003694/0.2549, allocations: 2.175 MB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2559, allocations: 0.5416 MB / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.883e-05/0.256, allocations: 0 / 425.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.2562, allocations: 27.72 kB / 425.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2563, allocations: 59.48 kB / 425.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2565, allocations: 55.92 kB / 425.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.2568, allocations: 234.9 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.257, allocations: 65.77 kB / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.2571, allocations: 79.78 kB / 425.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.2573, allocations: 99.61 kB / 426 MB, free: 11.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.2573, allocations: 20 kB / 426 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.99e-05/0.2573, allocations: 27.94 kB / 426 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.2574, allocations: 43.91 kB / 426 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.2575, allocations: 107.5 kB / 426.1 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.2578, allocations: 231.5 kB / 426.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.2578, allocations: 0 / 426.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2578, allocations: 0 / 426.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.2578, allocations: 4 kB / 426.4 MB, free: 10.82 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.0009037/0.2587, allocations: 421.5 kB / 426.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2588, allocations: 8.031 kB / 426.8 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.2588, allocations: 54.67 kB / 426.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.2589, allocations: 24.8 kB / 426.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.2593, allocations: 169.4 kB / 427 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.2593, allocations: 16.38 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.2593, allocations: 16.38 kB / 427.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000435/0.2598, allocations: 189.6 kB / 427.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2598, allocations: 0 / 427.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.2598, allocations: 11.98 kB / 427.3 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2598, allocations: 4 kB / 427.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00034/0.2601, allocations: 135.9 kB / 427.4 MB, free: 9.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2614, allocations: 0.7148 MB / 428.1 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.2617, allocations: 150.5 kB / 428.3 MB, free: 8.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.2619, allocations: 92.77 kB / 428.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.2619, allocations: 0 / 428.4 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.262, allocations: 30.56 kB / 428.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.262, allocations: 7.938 kB / 428.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004682/0.2624, allocations: 188.8 kB / 428.6 MB, free: 8.469 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.2625, allocations: 55.34 kB / 428.6 MB, free: 8.402 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.2626, allocations: 155.4 kB / 428.8 MB, free: 8.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.2627, allocations: 29.7 kB / 428.8 MB, free: 8.207 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.2628, allocations: 136.2 kB / 428.9 MB, free: 8.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.2629, allocations: 47.59 kB / 429 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.263, allocations: 37.72 kB / 429 MB, free: 7.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002629/0.2632, allocations: 318.8 kB / 429.3 MB, free: 7.656 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.2634, allocations: 55.97 kB / 429.4 MB, free: 7.602 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.2636, allocations: 73.67 kB / 429.5 MB, free: 7.523 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002534/0.2638, allocations: 129.9 kB / 429.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2638, allocations: 0 / 429.6 MB, free: 7.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003545/0.2642, allocations: 177.5 kB / 429.8 MB, free: 7.211 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2642, allocations: 4 kB / 429.8 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2642, allocations: 3.938 kB / 429.8 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.2642, allocations: 4 kB / 429.8 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.2645, allocations: 43.91 kB / 429.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2645, allocations: 0 / 429.8 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2646, allocations: 23.88 kB / 429.8 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2646, allocations: 4 kB / 429.8 MB, free: 7.129 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.2648, allocations: 133.8 kB / 430 MB, free: 6.988 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.2648, allocations: 11.95 kB / 430 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.2648, allocations: 20.72 kB / 430 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2648, allocations: 0 / 430 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2648, allocations: 0 / 430 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2648, allocations: 0 / 430 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.2652, allocations: 240.5 kB / 430.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2653, allocations: 4 kB / 430.3 MB, free: 6.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.2655, allocations: 35.97 kB / 430.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2655, allocations: 4 kB / 430.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.2655, allocations: 3.938 kB / 430.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2655, allocations: 0 / 430.3 MB, free: 6.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.2655, allocations: 4 kB / 430.3 MB, free: 6.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004899/0.266, allocations: 299.3 kB / 430.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.266, allocations: 7.953 kB / 430.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.266, allocations: 11.94 kB / 430.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2662, allocations: 16.03 kB / 430.6 MB, free: 6.285 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.2662, allocations: 7.984 kB / 430.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2662, allocations: 0 / 430.6 MB, free: 6.277 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.2663, allocations: 116.9 kB / 430.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2663, allocations: 0 / 430.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002666/0.2666, allocations: 51.83 kB / 430.8 MB, free: 6.113 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.000894/0.2675, allocations: 0.8333 MB / 431.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.2678, allocations: 122.7 kB / 431.8 MB, free: 5.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2678, allocations: 4.062 kB / 431.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2679, allocations: 62.97 kB / 431.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.2682, allocations: 27.98 kB / 431.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.2709, allocations: 2.051 MB / 433.9 MB, free: 2.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.2713, allocations: 0.7239 MB / 434.6 MB, free: 2.168 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.736e-05/0.2714, allocations: 17.42 kB / 434.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.2715, allocations: 47.42 kB / 434.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2715, allocations: 7.938 kB / 434.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.3037, allocations: 3.597 MB / 438.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.84, allocations: 9.984 kB / 438.3 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: 14.914492690004408]