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.001664/0.001664, allocations: 116.5 kB / 20.43 MB, free: 1.301 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.002017/0.002017, allocations: 207.2 kB / 23.74 MB, free: 4.539 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.485/1.485, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.002535/0.002535, allocations: 67.89 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2755, allocations: 53.41 MB / 431.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003446/0.2789, allocations: 2.073 MB / 433.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.2802, allocations: 0.6699 MB / 433.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.045e-05/0.2803, allocations: 0 / 433.9 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.234e-05/0.2803, allocations: 27.78 kB / 434 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.2805, allocations: 39.64 kB / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.2809, allocations: 111.3 kB / 434.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002509/0.2811, allocations: 183.3 kB / 434.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.2813, allocations: 33.72 kB / 434.3 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.2815, allocations: 87.7 kB / 434.4 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2816, allocations: 83.61 kB / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.2816, allocations: 20 kB / 434.5 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.2817, allocations: 24 kB / 434.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.2817, allocations: 35.84 kB / 434.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/0.2818, allocations: 83.58 kB / 434.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.2821, allocations: 175.7 kB / 434.8 MB, free: 3.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2821, allocations: 4 kB / 434.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2821, allocations: 0 / 434.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.2821, allocations: 0 / 434.8 MB, free: 3.016 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.0007984/0.2829, allocations: 397.6 kB / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2829, allocations: 8.031 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.57e-05/0.283, allocations: 46.73 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.2834, allocations: 56.8 kB / 435.3 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.2837, allocations: 166.2 kB / 435.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.2837, allocations: 8.375 kB / 435.5 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.2837, allocations: 4.375 kB / 435.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.284, allocations: 160.2 kB / 435.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.284, allocations: 4 kB / 435.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.2841, allocations: 4 kB / 435.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.2841, allocations: 4 kB / 435.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.2844, allocations: 95.88 kB / 435.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.2853, allocations: 478.5 kB / 436.2 MB, free: 1.484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.2856, allocations: 98.52 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002103/0.2858, allocations: 68.83 kB / 436.4 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2859, allocations: 3.938 kB / 436.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.2859, allocations: 38.44 kB / 436.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.2859, allocations: 0 / 436.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005321/0.2864, allocations: 153.7 kB / 436.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.2865, allocations: 102.8 kB / 436.7 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.2867, allocations: 162.8 kB / 436.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2867, allocations: 29.7 kB / 436.9 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2868, allocations: 119.9 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.2869, allocations: 31.73 kB / 437 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-05/0.2869, allocations: 33.7 kB / 437.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2871, allocations: 322.8 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2873, allocations: 39.97 kB / 437.4 MB, free: 224 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.2874, allocations: 84.27 kB / 437.5 MB, free: 124 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.2877, allocations: 94.48 kB / 437.6 MB, free: 20 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2877, allocations: 0 / 437.6 MB, free: 20 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003688/0.288, allocations: 149.9 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.2881, allocations: 8 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2881, allocations: 0 / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.2881, allocations: 0 / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/0.2887, allocations: 87.84 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00164/0.2903, allocations: 1.404 MB / 439.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.2905, allocations: 27.89 kB / 439.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.2905, allocations: 4 kB / 439.3 MB, free: 14.22 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.0001252/0.2907, allocations: 125.8 kB / 439.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.2907, allocations: 15.97 kB / 439.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.2912, allocations: 151.1 kB / 439.5 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.2912, allocations: 3.938 kB / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.2912, allocations: 0 / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2912, allocations: 0 / 439.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000815/0.292, allocations: 443 kB / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.292, allocations: 0 / 440 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.2921, allocations: 24.02 kB / 440 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/0.2924, allocations: 32.83 kB / 440 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.2924, allocations: 7.938 kB / 440 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001276/0.2937, allocations: 1.287 MB / 441.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2937, allocations: 0 / 441.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.2943, allocations: 301.1 kB / 441.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.2943, allocations: 7.984 kB / 441.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.2943, allocations: 8 kB / 441.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.2945, allocations: 15.98 kB / 441.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.2945, allocations: 7.984 kB / 441.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.2945, allocations: 11.92 kB / 441.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001067/0.2946, allocations: 123.2 kB / 441.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2946, allocations: 0 / 441.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003175/0.2949, allocations: 43.89 kB / 441.8 MB, free: 11.42 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.0009453/0.2959, allocations: 0.8311 MB / 442.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006979/0.2966, allocations: 128 kB / 442.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2966, allocations: 0 / 442.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.2969, allocations: 166.6 kB / 443 MB, free: 10.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2972, allocations: 14.83 kB / 443 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.3006, allocations: 2.12 MB / 445.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.301, allocations: 0.7118 MB / 445.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.376e-05/0.301, allocations: 16.47 kB / 445.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.507e-05/0.3011, allocations: 39.42 kB / 445.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3011, allocations: 4 kB / 445.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.3399, allocations: 3.462 MB / 449.3 MB, free: 3.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.33, allocations: 7.312 kB / 449.3 MB, free: 3.875 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.834892052000214]