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.001784/0.001784, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002179/0.002179, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.002107/0.002107, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2859, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003341/0.2892, allocations: 1.976 MB / 433.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.2904, allocations: 0.6194 MB / 433.7 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.162e-05/0.2904, allocations: 4 kB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.562e-05/0.2905, allocations: 15.8 kB / 433.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.2906, allocations: 47.56 kB / 433.8 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.2911, allocations: 110.8 kB / 433.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.2913, allocations: 191.2 kB / 434 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2915, allocations: 43.41 kB / 434.1 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.2917, allocations: 79.72 kB / 434.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.2918, allocations: 83.59 kB / 434.3 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.2918, allocations: 16 kB / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.881e-05/0.2919, allocations: 24 kB / 434.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.2919, allocations: 27.92 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.292, allocations: 63.72 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.2923, allocations: 191.2 kB / 434.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.2923, allocations: 0 / 434.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2923, allocations: 0 / 434.6 MB, free: 3.141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2923, allocations: 0 / 434.6 MB, free: 3.141 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.000766/0.2931, allocations: 405.5 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2931, allocations: 12.03 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.945e-05/0.2932, allocations: 42.73 kB / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.2935, allocations: 48.81 kB / 435.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.2938, allocations: 166.2 kB / 435.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.2938, allocations: 12.36 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.2938, allocations: 12.38 kB / 435.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.2942, allocations: 217.1 kB / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2942, allocations: 0 / 435.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.2942, allocations: 4 kB / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-06/0.2942, allocations: 4 kB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.2945, allocations: 91.94 kB / 435.6 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008588/0.2954, allocations: 450.5 kB / 436 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.2957, allocations: 98.47 kB / 436.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.2958, allocations: 64.83 kB / 436.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.2959, allocations: 0 / 436.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.2959, allocations: 38.5 kB / 436.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 8.71e-07/0.2959, allocations: 0 / 436.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004689/0.2964, allocations: 145.6 kB / 436.3 MB, free: 1.199 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.2964, allocations: 106.8 kB / 436.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.2966, allocations: 162.2 kB / 436.6 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.2966, allocations: 29.7 kB / 436.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.624e-05/0.2967, allocations: 120.1 kB / 436.7 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.2967, allocations: 27.73 kB / 436.8 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.2968, allocations: 33.7 kB / 436.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.297, allocations: 326.8 kB / 437.1 MB, free: 360 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.2971, allocations: 43.97 kB / 437.2 MB, free: 316 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001847/0.2973, allocations: 127.6 kB / 437.3 MB, free: 160 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.2975, allocations: 106.8 kB / 437.4 MB, free: 44 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2975, allocations: 0 / 437.4 MB, free: 44 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003503/0.2979, allocations: 149.6 kB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.2979, allocations: 4 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2979, allocations: 3.938 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2979, allocations: 4 kB / 437.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.2984, allocations: 87.95 kB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.2999, allocations: 1.396 MB / 439 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.3001, allocations: 36.03 kB / 439.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.3001, allocations: 0 / 439.1 MB, free: 14.24 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.0001103/0.3002, allocations: 121.8 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.3002, allocations: 11.95 kB / 439.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.3007, allocations: 159 kB / 439.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3007, allocations: 7.938 kB / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.3007, allocations: 0 / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3007, allocations: 0 / 439.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007103/0.3014, allocations: 407.2 kB / 439.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3014, allocations: 12.02 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3016, allocations: 23.98 kB / 439.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001954/0.3018, allocations: 24.83 kB / 439.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3018, allocations: 8 kB / 439.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.3029, allocations: 1.287 MB / 441.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3029, allocations: 0 / 441.1 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000587/0.3035, allocations: 301.1 kB / 441.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.3035, allocations: 15.98 kB / 441.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.3035, allocations: 11.94 kB / 441.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.3037, allocations: 11.98 kB / 441.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3037, allocations: 11.98 kB / 441.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3038, allocations: 4 kB / 441.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.626e-05/0.3038, allocations: 124.1 kB / 441.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3038, allocations: 0 / 441.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3041, allocations: 39.95 kB / 441.6 MB, free: 11.47 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.0008975/0.305, allocations: 0.8272 MB / 442.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.3057, allocations: 144.2 kB / 442.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3057, allocations: 0 / 442.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000321/0.306, allocations: 170.7 kB / 442.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3062, allocations: 10.58 kB / 442.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.3095, allocations: 2.114 MB / 444.9 MB, free: 8.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.898e-05/0.3096, allocations: 105.4 kB / 445 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.486e-05/0.3097, allocations: 12.48 kB / 445 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.073e-05/0.3097, allocations: 43.41 kB / 445 MB, free: 7.895 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3097, allocations: 3.938 kB / 445 MB, free: 7.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.342, allocations: 3.99 MB / 449 MB, free: 4.035 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.38, allocations: 12 kB / 449 MB, free: 4.023 MB / 350.1 MB " [Timeout remaining time 648] (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.834910390985897]