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.001946/0.001946, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002404/0.002404, allocations: 186 kB / 23.7 MB, free: 4.191 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.429/1.429, allocations: 225.7 MB / 252.5 MB, free: 12.82 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.001583/0.001583, allocations: 47.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2431, allocations: 52.19 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004689/0.2478, allocations: 2.591 MB / 425.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.2494, allocations: 0.8178 MB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.2495, allocations: 4 kB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.2498, allocations: 51.52 kB / 426 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.2501, allocations: 107.2 kB / 426.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.2504, allocations: 95.83 kB / 426.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.2508, allocations: 358.6 kB / 426.6 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.251, allocations: 67.69 kB / 426.7 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002049/0.2512, allocations: 143.5 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.2514, allocations: 127.3 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.2515, allocations: 32 kB / 426.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.412e-05/0.2515, allocations: 28 kB / 427 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.083e-05/0.2516, allocations: 75.67 kB / 427 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.2517, allocations: 131.4 kB / 427.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.2522, allocations: 370.5 kB / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2522, allocations: 0 / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2522, allocations: 0 / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2522, allocations: 0 / 427.5 MB, free: 9.391 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.001066/0.2533, allocations: 0.5356 MB / 428.1 MB, free: 8.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2533, allocations: 8.031 kB / 428.1 MB, free: 8.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.426e-05/0.2534, allocations: 62.73 kB / 428.1 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.2534, allocations: 32.75 kB / 428.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.2538, allocations: 205.9 kB / 428.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.2538, allocations: 21.03 kB / 428.4 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.2539, allocations: 24.38 kB / 428.4 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005246/0.2544, allocations: 283.9 kB / 428.7 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2544, allocations: 0 / 428.7 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.2544, allocations: 12 kB / 428.7 MB, free: 8.148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.2544, allocations: 8 kB / 428.7 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/0.2549, allocations: 210.5 kB / 428.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.2565, allocations: 0.8509 MB / 429.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.257, allocations: 194.6 kB / 430 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.2572, allocations: 104.8 kB / 430.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.2572, allocations: 4.031 kB / 430.1 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.2573, allocations: 34.56 kB / 430.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=23): time 5.009e-06/0.2573, allocations: 3.984 kB / 430.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.005101/0.2624, allocations: 1.392 MB / 431.5 MB, free: 5.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.2624, allocations: 59.27 kB / 431.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.2627, allocations: 232.8 kB / 431.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.2627, allocations: 33.7 kB / 431.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.2629, allocations: 184.5 kB / 432 MB, free: 4.699 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.263, allocations: 130.9 kB / 432.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.2631, allocations: 62.08 kB / 432.2 MB, free: 4.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.2633, allocations: 334.8 kB / 432.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.2636, allocations: 112.7 kB / 432.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.2638, allocations: 161.5 kB / 432.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.2644, allocations: 284 kB / 433.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.2644, allocations: 4 kB / 433.1 MB, free: 3.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001627/0.266, allocations: 0.5333 MB / 433.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.266, allocations: 8 kB / 433.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2661, allocations: 0 / 433.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.2673, allocations: 241.5 kB / 433.8 MB, free: 2.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.2676, allocations: 63.89 kB / 433.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005438/0.2731, allocations: 3.887 MB / 437.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.2733, allocations: 11.98 kB / 437.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.2734, allocations: 15.94 kB / 437.8 MB, free: 14.59 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.0002244/0.2736, allocations: 149.8 kB / 438 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.2736, allocations: 27.81 kB / 438 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.2738, allocations: 42.95 kB / 438 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2738, allocations: 4 kB / 438 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-05/0.2738, allocations: 3.984 kB / 438 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.2738, allocations: 7.984 kB / 438 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.2761, allocations: 0.9032 MB / 439 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2761, allocations: 4 kB / 439 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.2763, allocations: 44.03 kB / 439 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001163/0.2774, allocations: 241.4 kB / 439.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.2775, allocations: 4 kB / 439.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004878/0.2823, allocations: 3.876 MB / 443.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2823, allocations: 0 / 443.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.2842, allocations: 0.7287 MB / 443.8 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.2842, allocations: 27.83 kB / 443.9 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.2843, allocations: 16 kB / 443.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.2845, allocations: 12 kB / 443.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.705e-05/0.2846, allocations: 31.94 kB / 443.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.2846, allocations: 4 kB / 443.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.2848, allocations: 168.5 kB / 444.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2848, allocations: 4 kB / 444.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006439/0.2854, allocations: 99.94 kB / 444.2 MB, free: 7.871 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.002357/0.2878, allocations: 1.27 MB / 445.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.289, allocations: 0.5517 MB / 446 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.289, allocations: 320 / 446 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.2897, allocations: 421.1 kB / 446.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.2901, allocations: 38.91 kB / 446.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00643/0.2965, allocations: 3.34 MB / 449.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.2967, allocations: 168.2 kB / 450 MB, free: 1.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.779e-05/0.2968, allocations: 22.28 kB / 450 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2969, allocations: 99.39 kB / 450.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.2969, allocations: 0 / 450.1 MB, free: 1.738 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.066/0.3629, allocations: 9.247 MB / 459.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/13.66, allocations: 7.375 kB / 459.3 MB, free: 8.648 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.453129567205906]