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.003397/0.003397, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.00141/0.00141, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9166/0.9166, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.823e-06/1.823e-06, allocations: 3.938 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.213e-05, allocations: 2.281 kB / 324.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.002319/0.002341, allocations: 1.972 MB / 326.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.003146, allocations: 0.6309 MB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.003224, allocations: 0 / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.003272, allocations: 19.78 kB / 327.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.003393, allocations: 51.56 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.003741, allocations: 114.8 kB / 327.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.003942, allocations: 195.2 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.004083, allocations: 33.8 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.004316, allocations: 123.6 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.004397, allocations: 63.8 kB / 327.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.004421, allocations: 12 kB / 327.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.018e-05/0.004481, allocations: 20 kB / 327.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.118e-05/0.004512, allocations: 39.83 kB / 327.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.004558, allocations: 55.89 kB / 327.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.004772, allocations: 191.3 kB / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.004775, allocations: 0 / 328.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.004776, allocations: 4 kB / 328.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.004781, allocations: 0 / 328.1 MB, free: 12.25 MB / 298.7 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.0005527/0.005333, allocations: 404.5 kB / 328.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.005374, allocations: 8.031 kB / 328.5 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.005409, allocations: 42.73 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.005613, allocations: 52.81 kB / 328.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.005858, allocations: 175.8 kB / 328.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.005872, allocations: 8.375 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.005896, allocations: 12.38 kB / 328.8 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.00614, allocations: 200.2 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.006151, allocations: 192 / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.006166, allocations: 12.06 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.006171, allocations: 0 / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.006324, allocations: 91.94 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.006913, allocations: 454.6 kB / 329.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.007099, allocations: 94.53 kB / 329.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.00723, allocations: 64.83 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.007245, allocations: 4 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.007269, allocations: 38.5 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.007271, allocations: 3.938 kB / 329.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003059/0.007577, allocations: 149.6 kB / 329.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.828e-05/0.007635, allocations: 114.8 kB / 330 MB, free: 10.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.007748, allocations: 158.9 kB / 330.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.007764, allocations: 29.64 kB / 330.2 MB, free: 9.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.007835, allocations: 124 kB / 330.3 MB, free: 9.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.007863, allocations: 27.75 kB / 330.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.007905, allocations: 25.7 kB / 330.3 MB, free: 9.797 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.007992, allocations: 326.8 kB / 330.7 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.008071, allocations: 35.97 kB / 330.7 MB, free: 9.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.008185, allocations: 139.6 kB / 330.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.008336, allocations: 90.55 kB / 330.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.008339, allocations: 0 / 330.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002008/0.00854, allocations: 145.6 kB / 331.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.008557, allocations: 11.98 kB / 331.1 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.008563, allocations: 3.984 kB / 331.1 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.008578, allocations: 3.938 kB / 331.1 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.008898, allocations: 83.86 kB / 331.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.01014, allocations: 1.393 MB / 332.6 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.01024, allocations: 23.91 kB / 332.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.01025, allocations: 7.984 kB / 332.6 MB, free: 7.379 MB / 298.7 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.0001148/0.01037, allocations: 126.8 kB / 332.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.0104, allocations: 11.95 kB / 332.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.0107, allocations: 163.2 kB / 332.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01071, allocations: 0 / 332.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01071, allocations: 0 / 332.9 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01071, allocations: 4 kB / 332.9 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009883/0.0117, allocations: 419.2 kB / 333.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.0117, allocations: 0 / 333.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.684e-05/0.0118, allocations: 23.97 kB / 333.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/0.01198, allocations: 40.75 kB / 333.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.01199, allocations: 3.984 kB / 333.4 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007043/0.0127, allocations: 1.275 MB / 334.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.0127, allocations: 20.05 kB / 334.7 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.01303, allocations: 285.6 kB / 334.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.625e-05/0.01305, allocations: 15.91 kB / 335 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.01306, allocations: 4 kB / 335 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.01315, allocations: 20.05 kB / 335 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.01319, allocations: 11.86 kB / 335 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.0132, allocations: 4 kB / 335 MB, free: 4.762 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.01328, allocations: 131.1 kB / 335.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01328, allocations: 0 / 335.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002087/0.01349, allocations: 35.95 kB / 335.2 MB, free: 4.598 MB / 298.7 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.0005989/0.01409, allocations: 0.8351 MB / 336 MB, free: 3.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.01448, allocations: 136 kB / 336.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01448, allocations: 0 / 336.1 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.01469, allocations: 158.7 kB / 336.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.01488, allocations: 8 kB / 336.3 MB, free: 3.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.01704, allocations: 2.065 MB / 338.3 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.651e-05/0.01711, allocations: 101.4 kB / 338.4 MB, free: 1.133 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.986e-05/0.01715, allocations: 16.48 kB / 338.5 MB, free: 1.117 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.01721, allocations: 40.48 kB / 338.5 MB, free: 1.078 MB / 298.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01721, allocations: 0 / 338.5 MB, free: 1.078 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.0368, allocations: 4.114 MB / 342.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.785/7.821, allocations: 8.062 kB / 342.6 MB, free: 13.08 MB / 314.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins/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: 9.584480069577694]