Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 108 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 186.2 kB / 23.71 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 252.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 48.06 kB / 370.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2481, allocations: 52.19 MB / 422.6 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003379/0.2515, allocations: 2.06 MB / 424.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2525, allocations: 0.5766 MB / 425.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.2526, allocations: 0 / 425.3 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.909e-05/0.2527, allocations: 19.84 kB / 425.3 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.2528, allocations: 47.56 kB / 425.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.2532, allocations: 87.2 kB / 425.4 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.2534, allocations: 195.2 kB / 425.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.2535, allocations: 33.66 kB / 425.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.2537, allocations: 83.7 kB / 425.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.2538, allocations: 79.62 kB / 425.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.2539, allocations: 16 kB / 425.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.904e-05/0.2539, allocations: 16 kB / 425.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.2539, allocations: 35.89 kB / 425.9 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.378e-05/0.254, allocations: 79.59 kB / 425.9 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.2543, allocations: 164 kB / 426.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.2543, allocations: 3.984 kB / 426.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2543, allocations: 4 kB / 426.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.2543, allocations: 4 kB / 426.1 MB, free: 11.27 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.0008084/0.2551, allocations: 389.6 kB / 426.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2551, allocations: 19.97 kB / 426.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.2552, allocations: 42.73 kB / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.703e-05/0.2552, allocations: 16.84 kB / 426.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.2554, allocations: 146.2 kB / 426.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2554, allocations: 8.375 kB / 426.7 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.2555, allocations: 8.375 kB / 426.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.2558, allocations: 155.6 kB / 426.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.2558, allocations: 3.984 kB / 426.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.2558, allocations: 4 kB / 426.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.2558, allocations: 4 kB / 426.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.2561, allocations: 91.94 kB / 427 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.2573, allocations: 482.4 kB / 427.5 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.2577, allocations: 94.53 kB / 427.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.2579, allocations: 76.8 kB / 427.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.2579, allocations: 0 / 427.6 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.258, allocations: 34.5 kB / 427.7 MB, free: 9.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.258, allocations: 3.938 kB / 427.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004991/0.2585, allocations: 153.6 kB / 427.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.2585, allocations: 106.8 kB / 427.9 MB, free: 9.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2587, allocations: 154.2 kB / 428.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.2587, allocations: 25.7 kB / 428.1 MB, free: 9.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.2588, allocations: 124 kB / 428.2 MB, free: 8.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.168e-05/0.2588, allocations: 27.75 kB / 428.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.896e-05/0.2589, allocations: 29.7 kB / 428.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.2591, allocations: 326.8 kB / 428.6 MB, free: 8.586 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.2592, allocations: 35.97 kB / 428.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.2594, allocations: 84.2 kB / 428.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.2596, allocations: 106.5 kB / 428.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2596, allocations: 0 / 428.8 MB, free: 8.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003447/0.26, allocations: 145.5 kB / 429 MB, free: 8.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.26, allocations: 4 kB / 429 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.26, allocations: 0 / 429 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.26, allocations: 4 kB / 429 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.2606, allocations: 83.92 kB / 429 MB, free: 8.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.2624, allocations: 1.401 MB / 430.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.2626, allocations: 31.84 kB / 430.5 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.2626, allocations: 4 kB / 430.5 MB, free: 6.547 MB / 334.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.0001375/0.2628, allocations: 121.9 kB / 430.6 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.2628, allocations: 11.95 kB / 430.6 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/0.2633, allocations: 159.1 kB / 430.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2633, allocations: 7.938 kB / 430.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.2633, allocations: 0 / 430.8 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2633, allocations: 7.938 kB / 430.8 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.2641, allocations: 431.1 kB / 431.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2641, allocations: 0 / 431.2 MB, free: 5.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.2643, allocations: 35.94 kB / 431.2 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002149/0.2645, allocations: 24.84 kB / 431.3 MB, free: 5.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2645, allocations: 3.984 kB / 431.3 MB, free: 5.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.2658, allocations: 1.296 MB / 432.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2658, allocations: 0 / 432.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006427/0.2665, allocations: 293.2 kB / 432.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.2665, allocations: 19.97 kB / 432.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.2665, allocations: 7.938 kB / 432.9 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.2667, allocations: 11.98 kB / 432.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.2667, allocations: 11.98 kB / 432.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.2668, allocations: 0 / 432.9 MB, free: 3.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.267, allocations: 122.1 kB / 433 MB, free: 3.797 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.267, allocations: 0 / 433 MB, free: 3.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.2673, allocations: 43.95 kB / 433.1 MB, free: 3.754 MB / 334.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.001033/0.2683, allocations: 0.8272 MB / 433.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007303/0.269, allocations: 136 kB / 434 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.269, allocations: 0 / 434 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.2694, allocations: 162.6 kB / 434.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.2697, allocations: 8 kB / 434.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003801/0.2735, allocations: 2.118 MB / 436.3 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.2739, allocations: 0.7157 MB / 437 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.28e-05/0.2739, allocations: 12.48 kB / 437 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.039e-05/0.274, allocations: 47.36 kB / 437.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of SimCode: time 1.573e-06/0.274, allocations: 0 / 437.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03837/0.3124, allocations: 3.432 MB / 440.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.54, allocations: 6.203 kB / 440.5 MB, free: 12.26 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Analog_Examples_ShowSaturatingInductor.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ShowSaturatingInductor/ShowSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 15.120137570000225]