Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 209.6 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2669, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003239/0.2702, allocations: 1.984 MB / 433.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2713, allocations: 0.6155 MB / 433.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.588e-05/0.2714, allocations: 4 kB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.888e-05/0.2715, allocations: 15.84 kB / 433.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.2716, allocations: 55.5 kB / 433.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.272, allocations: 103.8 kB / 433.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.2722, allocations: 187.2 kB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.2724, allocations: 35.42 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002098/0.2726, allocations: 87.69 kB / 434.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.2727, allocations: 67.62 kB / 434.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.2728, allocations: 16 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-05/0.2729, allocations: 27.98 kB / 434.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.75e-05/0.2729, allocations: 31.91 kB / 434.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.273, allocations: 63.72 kB / 434.4 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2732, allocations: 187.2 kB / 434.6 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.2732, allocations: 4 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2732, allocations: 0 / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.2733, allocations: 0 / 434.6 MB, free: 3.152 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.0007585/0.274, allocations: 405.6 kB / 435 MB, free: 2.727 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2741, allocations: 15.97 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.752e-05/0.2741, allocations: 38.75 kB / 435 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.2745, allocations: 52.8 kB / 435.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.2747, allocations: 163.9 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.2748, allocations: 8.375 kB / 435.2 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.2748, allocations: 12.31 kB / 435.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003541/0.2751, allocations: 215.2 kB / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.2751, allocations: 0 / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.2752, allocations: 0 / 435.5 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2752, allocations: 4 kB / 435.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002614/0.2754, allocations: 91.94 kB / 435.5 MB, free: 2.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/0.2763, allocations: 450.5 kB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.2766, allocations: 110.4 kB / 436.1 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.2768, allocations: 64.83 kB / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.2768, allocations: 0 / 436.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2768, allocations: 34.5 kB / 436.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.2768, allocations: 4 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004757/0.2773, allocations: 149.5 kB / 436.3 MB, free: 1.207 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.791e-05/0.2774, allocations: 106.8 kB / 436.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.2776, allocations: 158.2 kB / 436.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.2776, allocations: 29.7 kB / 436.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.812e-05/0.2777, allocations: 116 kB / 436.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.2777, allocations: 27.73 kB / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.2778, allocations: 33.7 kB / 436.8 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2779, allocations: 322.8 kB / 437.1 MB, free: 380 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.278, allocations: 35.97 kB / 437.2 MB, free: 344 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.2782, allocations: 131.7 kB / 437.3 MB, free: 184 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.2785, allocations: 102.6 kB / 437.4 MB, free: 72 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2785, allocations: 7.875 kB / 437.4 MB, free: 64 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003472/0.2788, allocations: 149.5 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2788, allocations: 4 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2788, allocations: 4 kB / 437.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2788, allocations: 0 / 437.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.2794, allocations: 87.94 kB / 437.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.2808, allocations: 1.392 MB / 439 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.281, allocations: 36.03 kB / 439.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.281, allocations: 0 / 439.1 MB, free: 14.27 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.000115/0.2811, allocations: 125.8 kB / 439.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.32e-05/0.2812, allocations: 11.95 kB / 439.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004383/0.2816, allocations: 147.1 kB / 439.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2816, allocations: 11.94 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.2816, allocations: 0 / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.2816, allocations: 8.016 kB / 439.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007127/0.2824, allocations: 411.6 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.2824, allocations: 4 kB / 439.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.2825, allocations: 24.02 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.2827, allocations: 28.83 kB / 439.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.2827, allocations: 4 kB / 439.8 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.2838, allocations: 1.295 MB / 441.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2838, allocations: 0 / 441.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.2844, allocations: 301.1 kB / 441.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.2844, allocations: 16.03 kB / 441.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.2845, allocations: 11.94 kB / 441.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2846, allocations: 11.98 kB / 441.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.2847, allocations: 11.98 kB / 441.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.2847, allocations: 4 kB / 441.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.931e-05/0.2848, allocations: 124.1 kB / 441.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2848, allocations: 0 / 441.6 MB, free: 11.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000298/0.2851, allocations: 39.95 kB / 441.6 MB, free: 11.49 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.0009103/0.286, allocations: 0.8262 MB / 442.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.2866, allocations: 139.9 kB / 442.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2866, allocations: 0 / 442.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.287, allocations: 166.7 kB / 442.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2872, allocations: 23.59 kB / 442.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.2903, allocations: 2.113 MB / 444.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.2904, allocations: 105.4 kB / 445 MB, free: 7.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.2905, allocations: 12.48 kB / 445 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.2906, allocations: 39.42 kB / 445 MB, free: 7.918 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2906, allocations: 0 / 445 MB, free: 7.918 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04259/0.3331, allocations: 3.96 MB / 449 MB, free: 4.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.49, allocations: 4 kB / 449 MB, free: 4.086 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 14.987903045024723]