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.0008754/0.0008754, allocations: 79.69 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.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.0009798/0.0009798, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9189/0.9189, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.894e-06/1.894e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.853e-05/2.043e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003065/0.003085, allocations: 2.633 MB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.004313, allocations: 0.8994 MB / 328.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.004429, allocations: 4 kB / 328.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.004595, allocations: 63.44 kB / 328.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.004797, allocations: 115 kB / 328.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.005011, allocations: 111.7 kB / 328.4 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.005266, allocations: 366.4 kB / 328.7 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.005388, allocations: 74.05 kB / 328.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001956/0.005584, allocations: 207.6 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000248/0.005832, allocations: 115.6 kB / 329.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.00586, allocations: 28 kB / 329.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.411e-05/0.005904, allocations: 32 kB / 329.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.709e-05/0.005942, allocations: 67.73 kB / 329.3 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.633e-05/0.006008, allocations: 107.8 kB / 329.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.006283, allocations: 378.8 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.006285, allocations: 0 / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.006285, allocations: 3.938 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.00629, allocations: 0 / 329.7 MB, free: 10.75 MB / 298.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.0005415/0.006832, allocations: 0.5435 MB / 330.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.006858, allocations: 8.031 kB / 330.3 MB, free: 10.17 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.006896, allocations: 62.72 kB / 330.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.155e-05/0.006988, allocations: 40.75 kB / 330.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.007193, allocations: 218.1 kB / 330.6 MB, free: 9.816 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.007209, allocations: 21.03 kB / 330.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.007233, allocations: 24.38 kB / 330.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.007515, allocations: 276.3 kB / 330.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.007521, allocations: 192 / 330.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.007539, allocations: 16.12 kB / 330.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.007545, allocations: 7.984 kB / 330.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.007805, allocations: 218.5 kB / 331.1 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009701/0.008775, allocations: 0.8445 MB / 332 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.009082, allocations: 206.3 kB / 332.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.009254, allocations: 105.8 kB / 332.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.009274, allocations: 4 kB / 332.3 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.009297, allocations: 38.56 kB / 332.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.009298, allocations: 0 / 332.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002914/0.01221, allocations: 1.388 MB / 333.7 MB, free: 6.551 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.01224, allocations: 55.41 kB / 333.8 MB, free: 6.484 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.01241, allocations: 245.6 kB / 334 MB, free: 6.234 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.01243, allocations: 29.7 kB / 334 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.561e-05/0.01251, allocations: 188.5 kB / 334.2 MB, free: 6.008 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.01257, allocations: 123 kB / 334.4 MB, free: 5.887 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/0.01265, allocations: 70.03 kB / 334.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.305e-05/0.01273, allocations: 334.8 kB / 334.7 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.01288, allocations: 112.6 kB / 334.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.01305, allocations: 161.3 kB / 335 MB, free: 5.191 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.01338, allocations: 280 kB / 335.3 MB, free: 4.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01338, allocations: 7.938 kB / 335.3 MB, free: 4.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008104/0.01419, allocations: 0.5296 MB / 335.8 MB, free: 4.352 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.0142, allocations: 8 kB / 335.8 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01421, allocations: 0 / 335.8 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/0.0148, allocations: 241.5 kB / 336.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.01499, allocations: 55.91 kB / 336.1 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002919/0.01791, allocations: 3.906 MB / 340 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01801, allocations: 16 kB / 340 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.01803, allocations: 12 kB / 340.1 MB, free: 15.88 MB / 314.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.0001202/0.01815, allocations: 149.8 kB / 340.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.01818, allocations: 31.75 kB / 340.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.657e-05/0.01823, allocations: 39.03 kB / 340.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.01823, allocations: 8 kB / 340.3 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.01824, allocations: 4 kB / 340.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01824, allocations: 3.984 kB / 340.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.01938, allocations: 0.8985 MB / 341.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.01939, allocations: 0 / 341.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.01949, allocations: 43.91 kB / 341.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005595/0.02005, allocations: 245.5 kB / 341.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.02007, allocations: 8 kB / 341.5 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/0.02272, allocations: 3.881 MB / 345.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02272, allocations: 0 / 345.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.02373, allocations: 0.7246 MB / 346.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.02376, allocations: 27.84 kB / 346.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.02378, allocations: 8 kB / 346.1 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.02388, allocations: 15.98 kB / 346.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.02396, allocations: 39.88 kB / 346.2 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.02398, allocations: 12 kB / 346.2 MB, free: 9.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001117/0.02409, allocations: 173.2 kB / 346.4 MB, free: 9.258 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02409, allocations: 3.938 kB / 346.4 MB, free: 9.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.02448, allocations: 100 kB / 346.5 MB, free: 9.156 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.001134/0.02562, allocations: 1.27 MB / 347.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006401/0.02626, allocations: 0.5403 MB / 348.3 MB, free: 7.277 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.02626, allocations: 4 kB / 348.3 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003554/0.02661, allocations: 421.4 kB / 348.7 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.02687, allocations: 24.44 kB / 348.7 MB, free: 6.812 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.03045, allocations: 3.31 MB / 352 MB, free: 3.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.03058, allocations: 181.6 kB / 352.2 MB, free: 3.176 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.206e-05/0.03064, allocations: 22.28 kB / 352.2 MB, free: 3.156 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/0.03074, allocations: 100.5 kB / 352.3 MB, free: 3.055 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03074, allocations: 0 / 352.3 MB, free: 3.055 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.06668, allocations: 9.439 MB / 361.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.337, allocations: 8.047 kB / 361.8 MB, free: 9.77 MB / 330.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/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: 10.221990054473281]