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.001679/0.001679, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002051/0.002051, allocations: 215.8 kB / 23.73 MB, free: 4.16 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.002446/0.002446, allocations: 51.92 kB / 377.7 MB, free: 2.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3109, allocations: 53.37 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004283/0.3152, allocations: 2.621 MB / 433.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.3169, allocations: 0.8878 MB / 434.6 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.3171, allocations: 7.938 kB / 434.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000253/0.3173, allocations: 67.48 kB / 434.7 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002838/0.3176, allocations: 103.2 kB / 434.8 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.3179, allocations: 115.7 kB / 434.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.3183, allocations: 354.6 kB / 435.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.3185, allocations: 75.66 kB / 435.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.3187, allocations: 143.5 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.319, allocations: 139.3 kB / 435.6 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.925e-05/0.319, allocations: 28 kB / 435.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.552e-05/0.3191, allocations: 32 kB / 435.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.3192, allocations: 63.77 kB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.3193, allocations: 135.4 kB / 435.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.3198, allocations: 374.4 kB / 436.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3198, allocations: 0 / 436.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3198, allocations: 3.938 kB / 436.2 MB, free: 1.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.3198, allocations: 3.938 kB / 436.2 MB, free: 1.52 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.001038/0.3208, allocations: 0.5403 MB / 436.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3209, allocations: 8.031 kB / 436.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.516e-05/0.3209, allocations: 62.73 kB / 436.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.3211, allocations: 44.73 kB / 436.9 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.3215, allocations: 214.9 kB / 437.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.051e-05/0.3215, allocations: 21.03 kB / 437.1 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.3216, allocations: 24.38 kB / 437.1 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.3221, allocations: 283.8 kB / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3221, allocations: 0 / 437.4 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.3221, allocations: 12 kB / 437.4 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.3222, allocations: 4 kB / 437.4 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.3226, allocations: 206.5 kB / 437.6 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.3243, allocations: 0.8587 MB / 438.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.3247, allocations: 194.5 kB / 438.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.325, allocations: 104.8 kB / 438.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.325, allocations: 4 kB / 438.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.325, allocations: 38.5 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.325, allocations: 96 / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005169/0.3302, allocations: 1.397 MB / 440.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.3303, allocations: 55.41 kB / 440.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.3306, allocations: 240.8 kB / 440.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.3306, allocations: 29.7 kB / 440.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.3307, allocations: 188.4 kB / 440.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.3308, allocations: 123 kB / 440.8 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.331, allocations: 70.02 kB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3311, allocations: 334.8 kB / 441.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.3314, allocations: 112.7 kB / 441.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.3317, allocations: 161.5 kB / 441.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.3322, allocations: 283.6 kB / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3322, allocations: 0 / 441.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001574/0.3338, allocations: 0.5334 MB / 442.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3338, allocations: 8 kB / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3338, allocations: 0 / 442.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3351, allocations: 237.5 kB / 442.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.3353, allocations: 59.91 kB / 442.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005185/0.3405, allocations: 3.903 MB / 446.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.3408, allocations: 16.02 kB / 446.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.3408, allocations: 12 kB / 446.5 MB, free: 6.676 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.0001945/0.341, allocations: 153.7 kB / 446.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.341, allocations: 27.81 kB / 446.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.839e-05/0.3411, allocations: 38.95 kB / 446.7 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.3412, allocations: 4 kB / 446.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.3412, allocations: 8.062 kB / 446.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3412, allocations: 0 / 446.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.3433, allocations: 0.9024 MB / 447.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3433, allocations: 0 / 447.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3435, allocations: 51.84 kB / 447.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.3446, allocations: 237.5 kB / 447.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.3447, allocations: 12 kB / 447.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/0.3496, allocations: 3.888 MB / 451.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3496, allocations: 0 / 451.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.3515, allocations: 0.7091 MB / 452.5 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.3515, allocations: 27.84 kB / 452.6 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.215e-05/0.3516, allocations: 15.92 kB / 452.6 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.3518, allocations: 12 kB / 452.6 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.3519, allocations: 31.88 kB / 452.6 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.3519, allocations: 12 kB / 452.6 MB, free: 228 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001828/0.3521, allocations: 172.5 kB / 452.8 MB, free: 56 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3521, allocations: 0 / 452.8 MB, free: 56 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.000638/0.3527, allocations: 104 kB / 452.9 MB, free: 15.95 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.002171/0.3549, allocations: 1.277 MB / 454.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.356, allocations: 0.5557 MB / 454.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.356, allocations: 4 kB / 454.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006184/0.3566, allocations: 409.5 kB / 455.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.357, allocations: 24.42 kB / 455.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006253/0.3632, allocations: 3.375 MB / 458.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001926/0.3634, allocations: 173.6 kB / 458.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.3635, allocations: 30.27 kB / 458.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3637, allocations: 91.41 kB / 458.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3637, allocations: 0 / 458.8 MB, free: 9.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04747/0.4111, allocations: 9.333 MB / 468.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.8, allocations: 10.33 kB / 468.2 MB, free: 0.6094 MB / 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.56655641226098]