Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.00129/0.00129, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001416/0.001416, allocations: 208.5 kB / 23.73 MB, free: 4.387 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.86 kB / 377.7 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2442, allocations: 53.37 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.0045/0.2487, allocations: 2.632 MB / 433.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.2507, allocations: 0.8878 MB / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001919/0.2509, allocations: 8 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000279/0.2512, allocations: 55.45 kB / 434.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.2515, allocations: 111.2 kB / 434.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.2518, allocations: 107.8 kB / 434.9 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004135/0.2523, allocations: 354.6 kB / 435.2 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.2524, allocations: 83.66 kB / 435.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.2527, allocations: 151.4 kB / 435.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000209/0.2529, allocations: 151.4 kB / 435.6 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.2529, allocations: 28 kB / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.867e-05/0.253, allocations: 35.94 kB / 435.7 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.97e-05/0.2531, allocations: 67.75 kB / 435.7 MB, free: 2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.2532, allocations: 131.4 kB / 435.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004312/0.2536, allocations: 374.4 kB / 436.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2536, allocations: 3.938 kB / 436.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2536, allocations: 0 / 436.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.2536, allocations: 0 / 436.2 MB, free: 1.5 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0009939/0.2546, allocations: 0.5364 MB / 436.8 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2547, allocations: 12.03 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.488e-05/0.2548, allocations: 66.72 kB / 436.8 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001705/0.2549, allocations: 40.75 kB / 436.9 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.2553, allocations: 218.8 kB / 437.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.2553, allocations: 17.03 kB / 437.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/0.2554, allocations: 28.38 kB / 437.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000526/0.2559, allocations: 275.9 kB / 437.4 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2559, allocations: 0 / 437.4 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.256, allocations: 16 kB / 437.4 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.256, allocations: 7.984 kB / 437.4 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004579/0.2564, allocations: 210.5 kB / 437.6 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.2581, allocations: 0.8587 MB / 438.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.2585, allocations: 194.5 kB / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.2588, allocations: 100.8 kB / 438.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.2588, allocations: 11.94 kB / 438.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.2589, allocations: 30.56 kB / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.644e-06/0.2589, allocations: 0 / 438.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.004981/0.2638, allocations: 1.401 MB / 440.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2639, allocations: 55.41 kB / 440.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.2642, allocations: 240.8 kB / 440.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.2642, allocations: 29.7 kB / 440.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.2643, allocations: 184.5 kB / 440.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.2644, allocations: 122.9 kB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2646, allocations: 70.03 kB / 440.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.2647, allocations: 338.8 kB / 441.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.265, allocations: 108.7 kB / 441.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.2653, allocations: 161.5 kB / 441.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.2658, allocations: 279.6 kB / 441.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2658, allocations: 4 kB / 441.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001527/0.2673, allocations: 0.5334 MB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.2673, allocations: 4 kB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2674, allocations: 4 kB / 442.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.2686, allocations: 241.5 kB / 442.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.2688, allocations: 59.91 kB / 442.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005077/0.2739, allocations: 3.903 MB / 446.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.2741, allocations: 15.95 kB / 446.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.2742, allocations: 16 kB / 446.5 MB, free: 6.648 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001893/0.2744, allocations: 144 kB / 446.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.2744, allocations: 35.81 kB / 446.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.909e-05/0.2745, allocations: 38.95 kB / 446.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.2745, allocations: 8.062 kB / 446.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2745, allocations: 0 / 446.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.2745, allocations: 4 kB / 446.8 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.2766, allocations: 0.9102 MB / 447.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2766, allocations: 3.938 kB / 447.7 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.2768, allocations: 43.97 kB / 447.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/0.278, allocations: 237.5 kB / 448 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.278, allocations: 8.281 kB / 448 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004815/0.2828, allocations: 3.884 MB / 451.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.2828, allocations: 4.031 kB / 451.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.2846, allocations: 0.7169 MB / 452.6 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.061e-05/0.2846, allocations: 31.83 kB / 452.6 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.2847, allocations: 11.94 kB / 452.6 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2849, allocations: 8 kB / 452.6 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.004e-05/0.285, allocations: 36 kB / 452.7 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/0.285, allocations: 12 kB / 452.7 MB, free: 196 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.2852, allocations: 164.5 kB / 452.8 MB, free: 32 kB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2852, allocations: 0 / 452.8 MB, free: 32 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006023/0.2858, allocations: 104 kB / 452.9 MB, free: 15.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002119/0.2879, allocations: 1.277 MB / 454.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009965/0.2889, allocations: 0.5557 MB / 454.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2889, allocations: 0 / 454.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.2895, allocations: 413.5 kB / 455.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003308/0.2898, allocations: 24.7 kB / 455.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006004/0.2958, allocations: 3.374 MB / 458.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001856/0.296, allocations: 181.6 kB / 458.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.99e-05/0.2961, allocations: 18.3 kB / 458.8 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.2962, allocations: 91.41 kB / 458.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2962, allocations: 0 / 458.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04819/0.3444, allocations: 9.45 MB / 468.3 MB, free: 496 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.64, allocations: 11.34 kB / 468.3 MB, free: 488 kB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable coil.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mLeak.port_p.Phi in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mLeak.port_p.Phi from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.mu_r in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.mu_r from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.B in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.B from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.H in file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.H from file Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.26592112198705]