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.001727/0.001727, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002353/0.002353, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 8 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.001465/0.001465, allocations: 51.91 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.234, allocations: 53.36 MB / 431.1 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor): time 0.003435/0.2374, allocations: 2.071 MB / 433.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.2386, allocations: 0.6738 MB / 433.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.2386, allocations: 7.938 kB / 433.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.992e-05/0.2387, allocations: 11.86 kB / 433.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.2388, allocations: 51.56 kB / 434 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.2392, allocations: 107 kB / 434.1 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.2394, allocations: 183.2 kB / 434.2 MB, free: 3.883 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.2396, allocations: 47.39 kB / 434.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.2398, allocations: 79.72 kB / 434.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.2399, allocations: 79.61 kB / 434.4 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.2399, allocations: 16 kB / 434.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.005e-05/0.24, allocations: 27.98 kB / 434.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.368e-05/0.24, allocations: 31.86 kB / 434.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.2401, allocations: 79.64 kB / 434.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.2404, allocations: 187.2 kB / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2404, allocations: 0 / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2404, allocations: 0 / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.2404, allocations: 0 / 434.8 MB, free: 3.344 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.0008051/0.2412, allocations: 401.6 kB / 435.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2412, allocations: 12.03 kB / 435.2 MB, free: 2.91 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.2413, allocations: 46.73 kB / 435.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/0.2417, allocations: 48.81 kB / 435.3 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.242, allocations: 163.9 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.242, allocations: 8.375 kB / 435.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.242, allocations: 20.31 kB / 435.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.2423, allocations: 147.8 kB / 435.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.2423, allocations: 3.984 kB / 435.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2424, allocations: 8 kB / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.2424, allocations: 0 / 435.6 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002749/0.2426, allocations: 95.94 kB / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.2435, allocations: 478.5 kB / 436.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.2438, allocations: 110.5 kB / 436.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.244, allocations: 60.81 kB / 436.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.244, allocations: 3.938 kB / 436.4 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.2441, allocations: 42.5 kB / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.2441, allocations: 0 / 436.4 MB, free: 1.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004691/0.2445, allocations: 149.7 kB / 436.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.2446, allocations: 106.8 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.2448, allocations: 158.2 kB / 436.8 MB, free: 1.137 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2448, allocations: 29.7 kB / 436.8 MB, free: 1.102 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.2449, allocations: 123.9 kB / 437 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.2449, allocations: 27.75 kB / 437 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.245, allocations: 33.69 kB / 437 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.2451, allocations: 326.8 kB / 437.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.2452, allocations: 35.98 kB / 437.4 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.2454, allocations: 80.2 kB / 437.4 MB, free: 464 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002539/0.2456, allocations: 106.8 kB / 437.5 MB, free: 348 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2456, allocations: 0 / 437.5 MB, free: 348 kB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003454/0.246, allocations: 149.5 kB / 437.7 MB, free: 192 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.246, allocations: 4 kB / 437.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.246, allocations: 4.031 kB / 437.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.246, allocations: 4 kB / 437.7 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.2466, allocations: 75.92 kB / 437.8 MB, free: 104 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.2482, allocations: 1.404 MB / 439.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.2483, allocations: 36 kB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.2483, allocations: 0 / 439.2 MB, free: 14.54 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.0001201/0.2485, allocations: 121.8 kB / 439.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.2485, allocations: 11.95 kB / 439.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/0.249, allocations: 159.1 kB / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.249, allocations: 3.938 kB / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.249, allocations: 4 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.249, allocations: 4.031 kB / 439.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007699/0.2497, allocations: 439 kB / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2497, allocations: 0 / 439.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.2499, allocations: 27.98 kB / 440 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.2501, allocations: 24.83 kB / 440 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2501, allocations: 8.031 kB / 440 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001185/0.2513, allocations: 1.291 MB / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2513, allocations: 0 / 441.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.2519, allocations: 301.1 kB / 441.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.2519, allocations: 7.984 kB / 441.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.252, allocations: 11.94 kB / 441.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.2521, allocations: 11.98 kB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.2522, allocations: 12.05 kB / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.2522, allocations: 0 / 441.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.2523, allocations: 119.2 kB / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2523, allocations: 0 / 441.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.2526, allocations: 43.89 kB / 441.8 MB, free: 11.75 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.0009337/0.2535, allocations: 0.8311 MB / 442.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007118/0.2542, allocations: 139.8 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.2542, allocations: 4 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003528/0.2546, allocations: 167.3 kB / 442.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.2548, allocations: 8 kB / 442.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.2582, allocations: 2.126 MB / 445.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003624/0.2586, allocations: 0.7157 MB / 445.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.94e-05/0.2586, allocations: 8.5 kB / 445.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.818e-05/0.2587, allocations: 47.41 kB / 445.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2587, allocations: 0 / 445.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/0.291, allocations: 3.455 MB / 449.3 MB, free: 4.234 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.29, allocations: 8 kB / 449.3 MB, free: 4.227 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.78757837500234]