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.001416/0.001416, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001456/0.001456, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.001508/0.001508, allocations: 55.91 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1144, allocations: 53.33 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.00441/0.1188, allocations: 2.789 MB / 429.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1204, allocations: 0.954 MB / 430 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1206, allocations: 8 kB / 430.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.1208, allocations: 55.45 kB / 430.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.1212, allocations: 111.2 kB / 430.2 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1215, allocations: 111.8 kB / 430.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004435/0.1219, allocations: 358.6 kB / 430.7 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.1221, allocations: 77.69 kB / 430.8 MB, free: 296 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.1223, allocations: 143.5 kB / 430.9 MB, free: 152 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2402/0.3625, allocations: 152.4 kB / 431 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.3627, allocations: 29.56 kB / 431.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001729/0.3628, allocations: 31.5 kB / 431.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.3629, allocations: 69.33 kB / 431.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.3631, allocations: 158 kB / 431.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006002/0.3637, allocations: 371.9 kB / 431.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3637, allocations: 0.9688 kB / 431.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3637, allocations: 0.7812 kB / 431.7 MB, free: 7.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.3637, allocations: 0 / 431.7 MB, free: 7.758 MB / 350.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.00105/0.3648, allocations: 0.6144 MB / 432.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3648, allocations: 9.781 kB / 432.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.3649, allocations: 68.69 kB / 432.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.3651, allocations: 47.2 kB / 432.4 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.3654, allocations: 263.4 kB / 432.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.3655, allocations: 28.25 kB / 432.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.445e-05/0.3655, allocations: 25.88 kB / 432.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.366, allocations: 251.4 kB / 433 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3661, allocations: 1.594 kB / 433 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3661, allocations: 10.62 kB / 433 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3661, allocations: 7.438 kB / 433 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.3665, allocations: 211.2 kB / 433.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.3679, allocations: 1 MB / 434.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.3684, allocations: 188.7 kB / 434.4 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.3686, allocations: 104.8 kB / 434.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3686, allocations: 6.797 kB / 434.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3686, allocations: 36.53 kB / 434.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.3687, allocations: 0 / 434.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005143/0.3738, allocations: 1.544 MB / 436.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.3738, allocations: 59.45 kB / 436.1 MB, free: 5.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3741, allocations: 231.8 kB / 436.4 MB, free: 5.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3741, allocations: 39.33 kB / 436.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.221e-05/0.3742, allocations: 187.2 kB / 436.6 MB, free: 5.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.3743, allocations: 127.4 kB / 436.7 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.3744, allocations: 63.12 kB / 436.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.96e-05/0.3744, allocations: 339.1 kB / 437.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.3747, allocations: 107.2 kB / 437.2 MB, free: 5.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.3749, allocations: 164.5 kB / 437.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.3754, allocations: 281.5 kB / 437.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3754, allocations: 4 kB / 437.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001525/0.377, allocations: 0.5323 MB / 438.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.377, allocations: 7.75 kB / 438.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.377, allocations: 1.219 kB / 438.2 MB, free: 4.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.3783, allocations: 242.7 kB / 438.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/0.3785, allocations: 56.45 kB / 438.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.3826, allocations: 4.137 MB / 442.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002782/0.3829, allocations: 19.62 kB / 442.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.383, allocations: 16.89 kB / 442.7 MB, free: 1.305 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.0001863/0.3831, allocations: 144.8 kB / 442.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.3832, allocations: 29.34 kB / 442.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.509e-05/0.3833, allocations: 44.16 kB / 442.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3833, allocations: 3.156 kB / 442.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/0.3833, allocations: 3.016 kB / 442.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.3833, allocations: 5.297 kB / 442.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.3854, allocations: 0.9779 MB / 443.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3854, allocations: 1.125 kB / 443.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.3856, allocations: 46.17 kB / 443.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001294/0.3869, allocations: 238.8 kB / 444.1 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.3869, allocations: 7.781 kB / 444.1 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/0.3918, allocations: 4.123 MB / 448.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3918, allocations: 5 kB / 448.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.3938, allocations: 0.7239 MB / 449 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3939, allocations: 101.5 kB / 449.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.394, allocations: 11.92 kB / 449.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.3942, allocations: 16.44 kB / 449.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3943, allocations: 35.27 kB / 449.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.3944, allocations: 17.14 kB / 449.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.3945, allocations: 165.5 kB / 449.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3945, allocations: 0 / 449.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006544/0.3952, allocations: 104 kB / 449.4 MB, free: 12.27 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.002238/0.3974, allocations: 1.274 MB / 450.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.3986, allocations: 0.5564 MB / 451.3 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3986, allocations: 0 / 451.3 MB, free: 11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006607/0.3992, allocations: 418.8 kB / 451.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.3996, allocations: 29.19 kB / 451.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006592/0.4062, allocations: 3.357 MB / 455.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004868/0.4067, allocations: 0.786 MB / 455.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.4068, allocations: 20.08 kB / 455.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.4069, allocations: 95.55 kB / 456 MB, free: 7.801 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4069, allocations: 0 / 456 MB, free: 7.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/0.464, allocations: 8.567 MB / 464.5 MB, free: 5.055 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.3, allocations: 5.234 kB / 464.5 MB, free: 5.051 MB / 366.1 MB " [Timeout remaining time 647] (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.095843378992868]