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.00162/0.00162, allocations: 108.2 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.001423/0.001423, allocations: 185.2 kB / 23.72 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.422/1.422, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.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 0.001769/0.001769, allocations: 43.92 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2914, allocations: 52.2 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004549/0.296, allocations: 2.782 MB / 425.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2975, allocations: 0.8723 MB / 426.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.2977, allocations: 4 kB / 426.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.298, allocations: 59.45 kB / 426.3 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.2983, allocations: 103.2 kB / 426.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.2986, allocations: 95.83 kB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004352/0.299, allocations: 358.6 kB / 426.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2992, allocations: 74 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.2994, allocations: 143.5 kB / 427.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.2997, allocations: 147.3 kB / 427.2 MB, free: 9.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.814e-05/0.2997, allocations: 28 kB / 427.3 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.149e-05/0.2998, allocations: 32 kB / 427.3 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.749e-05/0.2999, allocations: 75.67 kB / 427.4 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.3, allocations: 151.3 kB / 427.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.3005, allocations: 358.9 kB / 427.9 MB, free: 9.32 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.3005, allocations: 8 kB / 427.9 MB, free: 9.312 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.3005, allocations: 4 kB / 427.9 MB, free: 9.309 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.3005, allocations: 0 / 427.9 MB, free: 9.309 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.001205/0.3017, allocations: 0.5286 MB / 428.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.3018, allocations: 12.03 kB / 428.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.664e-05/0.3019, allocations: 58.73 kB / 428.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.124e-05/0.3019, allocations: 36.69 kB / 428.5 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/0.3024, allocations: 209.9 kB / 428.7 MB, free: 8.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.3024, allocations: 21.03 kB / 428.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.3025, allocations: 24.38 kB / 428.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.303, allocations: 254.2 kB / 429 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.3031, allocations: 0 / 429 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.3031, allocations: 16 kB / 429 MB, free: 8.094 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3031, allocations: 8 kB / 429 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.3036, allocations: 206.5 kB / 429.2 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.3053, allocations: 0.9673 MB / 430.2 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.3058, allocations: 193.9 kB / 430.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.306, allocations: 104.8 kB / 430.5 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-05/0.3061, allocations: 8 kB / 430.5 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3061, allocations: 30.56 kB / 430.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 1.403e-06/0.3061, allocations: 0 / 430.5 MB, free: 6.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.005174/0.3113, allocations: 1.392 MB / 431.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3113, allocations: 63.25 kB / 432 MB, free: 4.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002688/0.3116, allocations: 224.9 kB / 432.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3116, allocations: 33.7 kB / 432.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3118, allocations: 180.5 kB / 432.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.3119, allocations: 134.9 kB / 432.6 MB, free: 4.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.312, allocations: 66.03 kB / 432.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.3122, allocations: 338.8 kB / 433 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.3125, allocations: 108.7 kB / 433.1 MB, free: 3.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.3127, allocations: 157.5 kB / 433.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.3133, allocations: 288 kB / 433.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3133, allocations: 0 / 433.5 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001556/0.3148, allocations: 0.5295 MB / 434 MB, free: 2.875 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3149, allocations: 4 kB / 434 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3149, allocations: 0 / 434 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.3161, allocations: 249.4 kB / 434.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.3164, allocations: 55.97 kB / 434.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.3216, allocations: 3.938 MB / 438.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.3219, allocations: 12 kB / 438.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3219, allocations: 8 kB / 438.3 MB, free: 14.39 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.0002163/0.3221, allocations: 161.8 kB / 438.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.3222, allocations: 23.86 kB / 438.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.56e-05/0.3223, allocations: 35.25 kB / 438.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3223, allocations: 4 kB / 438.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3223, allocations: 0 / 438.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.3223, allocations: 7.922 kB / 438.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.3245, allocations: 0.9617 MB / 439.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3245, allocations: 0 / 439.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3247, allocations: 39.97 kB / 439.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.3259, allocations: 245.5 kB / 439.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.3259, allocations: 7.984 kB / 439.8 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005155/0.3311, allocations: 3.911 MB / 443.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3311, allocations: 0 / 443.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.333, allocations: 0.7364 MB / 444.4 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.276e-05/0.3331, allocations: 23.89 kB / 444.4 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.3331, allocations: 8.219 kB / 444.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.3334, allocations: 15.98 kB / 444.5 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.3335, allocations: 27.94 kB / 444.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.3335, allocations: 15.94 kB / 444.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002278/0.3337, allocations: 168.5 kB / 444.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3337, allocations: 0 / 444.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006589/0.3344, allocations: 103.9 kB / 444.8 MB, free: 7.566 MB / 350.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.002267/0.3367, allocations: 1.262 MB / 446 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.3378, allocations: 0.5556 MB / 446.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3378, allocations: 0 / 446.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.3384, allocations: 425.1 kB / 447 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3388, allocations: 30.67 kB / 447 MB, free: 5.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006302/0.3451, allocations: 3.336 MB / 450.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004469/0.3455, allocations: 0.7799 MB / 451.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.257e-05/0.3456, allocations: 22.3 kB / 451.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3458, allocations: 91.41 kB / 451.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of SimCode: time 1.262e-06/0.3458, allocations: 0 / 451.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04399/0.3897, allocations: 8.753 MB / 460 MB, free: 8.223 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/13.95, allocations: 3.938 kB / 460 MB, free: 8.219 MB / 366.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins1/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: 16.59814478300177]