Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.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.001335/0.001335, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001449/0.001449, allocations: 207.4 kB / 23.73 MB, free: 4.391 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.481/1.481, allocations: 230.5 MB / 257.4 MB, free: 7.75 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.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 55.91 kB / 377.7 MB, free: 2.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2719, allocations: 53.41 MB / 431.1 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.00332/0.2753, allocations: 1.976 MB / 433.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.2764, allocations: 0.6311 MB / 433.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.801e-05/0.2765, allocations: 0 / 433.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.642e-05/0.2766, allocations: 19.8 kB / 433.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.2767, allocations: 43.62 kB / 433.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.2771, allocations: 103.7 kB / 433.9 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2773, allocations: 191.2 kB / 434.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2774, allocations: 35.42 kB / 434.1 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.2776, allocations: 87.69 kB / 434.2 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.2778, allocations: 71.62 kB / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.2778, allocations: 12 kB / 434.3 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.475e-05/0.2779, allocations: 24 kB / 434.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.2779, allocations: 35.89 kB / 434.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.714e-05/0.278, allocations: 63.67 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.2782, allocations: 195.2 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2782, allocations: 0 / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2782, allocations: 0 / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.2782, allocations: 7.938 kB / 434.6 MB, free: 2.926 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007655/0.279, allocations: 393.6 kB / 435 MB, free: 2.512 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.279, allocations: 15.98 kB / 435 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.2791, allocations: 38.73 kB / 435.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.2795, allocations: 56.81 kB / 435.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.2798, allocations: 165.3 kB / 435.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.2798, allocations: 8.375 kB / 435.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.2799, allocations: 12.38 kB / 435.3 MB, free: 2.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.2802, allocations: 203.6 kB / 435.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2803, allocations: 4 kB / 435.5 MB, free: 1.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.2803, allocations: 8 kB / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2803, allocations: 0 / 435.5 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.2806, allocations: 99.86 kB / 435.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/0.2814, allocations: 450.5 kB / 436 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.2817, allocations: 98.53 kB / 436.1 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.2819, allocations: 56.98 kB / 436.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2819, allocations: 11.92 kB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.282, allocations: 46.48 kB / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.282, allocations: 0 / 436.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004444/0.2824, allocations: 137.5 kB / 436.4 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.2825, allocations: 106.8 kB / 436.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.2827, allocations: 167 kB / 436.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.2827, allocations: 29.7 kB / 436.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.086e-05/0.2828, allocations: 120 kB / 436.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.2828, allocations: 27.75 kB / 436.8 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.873e-05/0.2828, allocations: 33.69 kB / 436.9 MB, free: 480 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.283, allocations: 322.8 kB / 437.2 MB, free: 148 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.2831, allocations: 35.98 kB / 437.2 MB, free: 112 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.2833, allocations: 131.7 kB / 437.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.2835, allocations: 102.5 kB / 437.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2835, allocations: 0 / 437.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003281/0.2839, allocations: 153.5 kB / 437.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2839, allocations: 8 kB / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.2839, allocations: 0 / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2839, allocations: 0 / 437.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.2845, allocations: 83.86 kB / 437.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.2859, allocations: 1.393 MB / 439.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.2861, allocations: 31.89 kB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2861, allocations: 7.984 kB / 439.1 MB, free: 14.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001267/0.2862, allocations: 126 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.2863, allocations: 7.953 kB / 439.2 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/0.2867, allocations: 159.1 kB / 439.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.2867, allocations: 7.875 kB / 439.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.2867, allocations: 0 / 439.4 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2867, allocations: 4 kB / 439.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007533/0.2875, allocations: 423.1 kB / 439.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.2875, allocations: 0 / 439.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.2876, allocations: 23.98 kB / 439.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002017/0.2878, allocations: 32.86 kB / 439.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.2878, allocations: 4 kB / 439.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.2889, allocations: 1.283 MB / 441.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2889, allocations: 4.188 kB / 441.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.2895, allocations: 301 kB / 441.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.2895, allocations: 11.92 kB / 441.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.2895, allocations: 3.938 kB / 441.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.2897, allocations: 20.05 kB / 441.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.2897, allocations: 11.97 kB / 441.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.2897, allocations: 4 kB / 441.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.836e-05/0.2898, allocations: 119.2 kB / 441.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2898, allocations: 3.938 kB / 441.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002821/0.2901, allocations: 39.95 kB / 441.7 MB, free: 11.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008853/0.291, allocations: 0.8268 MB / 442.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000636/0.2916, allocations: 132 kB / 442.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2916, allocations: 4 kB / 442.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.2919, allocations: 166.6 kB / 442.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.2922, allocations: 8 kB / 442.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003086/0.2952, allocations: 2.113 MB / 444.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.505e-05/0.2953, allocations: 109.3 kB / 445 MB, free: 7.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.54e-05/0.2954, allocations: 8.5 kB / 445 MB, free: 7.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.886e-05/0.2955, allocations: 47.41 kB / 445.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2955, allocations: 0 / 445.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.3281, allocations: 3.979 MB / 449.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.57, allocations: 5.906 kB / 449.1 MB, free: 3.832 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv --start-time 0 --stop-time 6.2832 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0100051 Modelica_trunk_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.065724640153348]