Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.0008381/0.0008381, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008534/0.0008534, allocations: 157 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.906/0.906, allocations: 173.4 MB / 200.5 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.587e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.002599/0.002615, allocations: 2.596 MB / 321 MB, free: 3.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.0037, allocations: 0.8178 MB / 321.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.003827, allocations: 4 kB / 321.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.004027, allocations: 59.44 kB / 321.9 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.004245, allocations: 115 kB / 322 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.004445, allocations: 103.7 kB / 322.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.004707, allocations: 370.4 kB / 322.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.004848, allocations: 70.94 kB / 322.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.005043, allocations: 207.5 kB / 322.7 MB, free: 2.027 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.005164, allocations: 103.7 kB / 322.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.005201, allocations: 32 kB / 322.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.498e-05/0.005226, allocations: 28 kB / 322.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.005397, allocations: 75.72 kB / 323 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.005465, allocations: 103.8 kB / 323.1 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.005732, allocations: 370.8 kB / 323.4 MB, free: 1.328 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.005734, allocations: 3.938 kB / 323.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.005735, allocations: 0 / 323.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.00574, allocations: 0 / 323.4 MB, free: 1.324 MB / 282.7 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.0006392/0.006379, allocations: 0.5319 MB / 324 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.006413, allocations: 11.97 kB / 324 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.006458, allocations: 58.73 kB / 324 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.006499, allocations: 32.75 kB / 324.1 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.00673, allocations: 205.8 kB / 324.3 MB, free: 440 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.006749, allocations: 29.03 kB / 324.3 MB, free: 412 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.00678, allocations: 24.38 kB / 324.3 MB, free: 388 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003175/0.007097, allocations: 276.3 kB / 324.6 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.007106, allocations: 192 / 324.6 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.007126, allocations: 16.12 kB / 324.6 MB, free: 80 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.007133, allocations: 4 kB / 324.6 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/0.007403, allocations: 210.6 kB / 324.8 MB, free: 15.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009505/0.008353, allocations: 0.8439 MB / 325.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002781/0.008632, allocations: 198.3 kB / 325.9 MB, free: 14.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.008795, allocations: 100.8 kB / 326 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.008819, allocations: 8 kB / 326 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.008846, allocations: 30.97 kB / 326 MB, free: 14.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.008848, allocations: 0 / 326 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0029/0.01175, allocations: 1.393 MB / 327.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.01177, allocations: 59.34 kB / 327.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.01193, allocations: 237.6 kB / 327.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.01195, allocations: 29.7 kB / 327.7 MB, free: 12.83 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.01203, allocations: 192.4 kB / 327.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.01209, allocations: 118.9 kB / 328 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.01216, allocations: 66.06 kB / 328.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.01224, allocations: 342.8 kB / 328.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.01239, allocations: 112.7 kB / 328.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.01255, allocations: 157.5 kB / 328.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.01287, allocations: 283.8 kB / 329 MB, free: 11.53 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01287, allocations: 0 / 329 MB, free: 11.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007875/0.01366, allocations: 0.5296 MB / 329.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01367, allocations: 4 kB / 329.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.01368, allocations: 0 / 329.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005793/0.01426, allocations: 245.5 kB / 329.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.0144, allocations: 63.91 kB / 329.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003152/0.01755, allocations: 3.891 MB / 333.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01766, allocations: 8.031 kB / 333.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.01768, allocations: 15.98 kB / 333.7 MB, free: 6.539 MB / 298.7 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.00012/0.0178, allocations: 149.8 kB / 333.9 MB, free: 6.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.01783, allocations: 31.75 kB / 333.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.551e-05/0.01788, allocations: 38.95 kB / 333.9 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.01788, allocations: 4 kB / 333.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.01788, allocations: 4 kB / 333.9 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.01789, allocations: 4.062 kB / 333.9 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/0.01903, allocations: 0.907 MB / 334.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.01903, allocations: 0 / 334.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.01915, allocations: 47.91 kB / 334.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.01968, allocations: 237.5 kB / 335.1 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.01969, allocations: 8 kB / 335.1 MB, free: 5.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00261/0.0223, allocations: 3.896 MB / 339 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.0223, allocations: 0 / 339 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009467/0.02325, allocations: 0.7132 MB / 339.7 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.02327, allocations: 27.84 kB / 339.8 MB, free: 144 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.02329, allocations: 8 kB / 339.8 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.02339, allocations: 15.98 kB / 339.8 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.02347, allocations: 39.81 kB / 339.8 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.02348, allocations: 8 kB / 339.8 MB, free: 72 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.02359, allocations: 169.2 kB / 340 MB, free: 15.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02359, allocations: 4.062 kB / 340 MB, free: 15.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.02396, allocations: 100 kB / 340.1 MB, free: 15.8 MB / 314.7 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.001397/0.02536, allocations: 1.258 MB / 341.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006223/0.02598, allocations: 0.5407 MB / 341.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.02598, allocations: 7.938 kB / 341.9 MB, free: 13.93 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003119/0.02629, allocations: 413.5 kB / 342.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.02652, allocations: 31.75 kB / 342.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003329/0.02985, allocations: 3.318 MB / 345.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.02997, allocations: 172.3 kB / 345.8 MB, free: 9.832 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.073e-05/0.03003, allocations: 18.3 kB / 345.8 MB, free: 9.816 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-05/0.03012, allocations: 100.5 kB / 345.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of SimCode: time 6.52e-07/0.03012, allocations: 0 / 345.9 MB, free: 9.719 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.05472, allocations: 9.367 MB / 355.3 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.315/8.369, allocations: 7.125 kB / 355.3 MB, free: 0.5039 MB / 314.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mLeak.port_p.Phi in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mLeak.port_p.Phi from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.mu_r in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.mu_r from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.B in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.B from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.H in file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.H from file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.209180104546249]