Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009237/0.0009237, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008789/0.0008789, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8833/0.8833, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.839e-06/4.839e-06, allocations: 4 kB / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.951e-05, allocations: 2.281 kB / 324.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.003913/0.003943, allocations: 2.624 MB / 327.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.005251, allocations: 0.8955 MB / 328 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.005378, allocations: 7.938 kB / 328 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.0056, allocations: 55.5 kB / 328.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.005841, allocations: 119 kB / 328.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.006093, allocations: 111.7 kB / 328.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.00639, allocations: 370.4 kB / 328.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.006556, allocations: 66.05 kB / 328.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.006802, allocations: 211.5 kB / 329 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.006941, allocations: 111.6 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.006976, allocations: 28 kB / 329.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.39e-05/0.00703, allocations: 36 kB / 329.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.007068, allocations: 71.73 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.814e-05/0.007146, allocations: 103.8 kB / 329.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.007486, allocations: 378.8 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.00749, allocations: 0 / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.007492, allocations: 0 / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.007499, allocations: 0 / 329.7 MB, free: 10.61 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.0007423/0.008241, allocations: 0.5403 MB / 330.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.008287, allocations: 15.98 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.769e-05/0.008345, allocations: 62.72 kB / 330.3 MB, free: 9.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.008503, allocations: 40.75 kB / 330.3 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.008832, allocations: 214.1 kB / 330.5 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.008855, allocations: 20.97 kB / 330.6 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.008895, allocations: 36.36 kB / 330.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.00924, allocations: 276.3 kB / 330.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.009249, allocations: 192 / 330.9 MB, free: 9.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.009271, allocations: 16.12 kB / 330.9 MB, free: 9.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.009277, allocations: 4 kB / 330.9 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.009551, allocations: 210.5 kB / 331.1 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01058, allocations: 0.8556 MB / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.01088, allocations: 208.5 kB / 332.1 MB, free: 7.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000198/0.01107, allocations: 100.8 kB / 332.2 MB, free: 7.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.0111, allocations: 4.094 kB / 332.2 MB, free: 7.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.01112, allocations: 34.5 kB / 332.3 MB, free: 7.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.843e-06/0.01112, allocations: 4 kB / 332.3 MB, free: 7.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.002957/0.01408, allocations: 1.398 MB / 333.7 MB, free: 6.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.01412, allocations: 59.34 kB / 333.7 MB, free: 6.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.0143, allocations: 245.6 kB / 334 MB, free: 6.07 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.01432, allocations: 29.7 kB / 334 MB, free: 6.035 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.875e-05/0.01441, allocations: 184.5 kB / 334.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.01447, allocations: 119 kB / 334.3 MB, free: 5.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.62e-05/0.01455, allocations: 66.03 kB / 334.4 MB, free: 5.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.319e-05/0.01464, allocations: 342.8 kB / 334.7 MB, free: 5.312 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.01479, allocations: 108.7 kB / 334.8 MB, free: 5.207 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.01497, allocations: 169.3 kB / 335 MB, free: 5.027 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.01529, allocations: 280 kB / 335.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01529, allocations: 0 / 335.2 MB, free: 4.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008212/0.01611, allocations: 0.5296 MB / 335.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.01613, allocations: 11.94 kB / 335.8 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01613, allocations: 4 kB / 335.8 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006021/0.01674, allocations: 233.5 kB / 336 MB, free: 3.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.01689, allocations: 59.91 kB / 336.1 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00316/0.02005, allocations: 3.891 MB / 340 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.02018, allocations: 12.09 kB / 340 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.02019, allocations: 16 kB / 340 MB, free: 15.74 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.0001377/0.02033, allocations: 145.8 kB / 340.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.02037, allocations: 39.73 kB / 340.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.02042, allocations: 38.97 kB / 340.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.02043, allocations: 4 kB / 340.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.02043, allocations: 288 / 340.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.02044, allocations: 3.984 kB / 340.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.02161, allocations: 0.9105 MB / 341.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.02161, allocations: 7.938 kB / 341.1 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.02172, allocations: 39.97 kB / 341.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/0.02226, allocations: 241.5 kB / 341.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.02227, allocations: 15.98 kB / 341.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.02494, allocations: 3.865 MB / 345.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02494, allocations: 4.031 kB / 345.3 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.02588, allocations: 0.7168 MB / 346 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.02592, allocations: 35.83 kB / 346.1 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.02593, allocations: 8 kB / 346.1 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.02604, allocations: 15.92 kB / 346.1 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.02611, allocations: 36.16 kB / 346.1 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.02612, allocations: 12 kB / 346.1 MB, free: 9.285 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.02624, allocations: 165.2 kB / 346.3 MB, free: 9.121 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02624, allocations: 3.938 kB / 346.3 MB, free: 9.117 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004369/0.02668, allocations: 104 kB / 346.4 MB, free: 9.016 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.001228/0.0279, allocations: 1.282 MB / 347.7 MB, free: 7.691 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007488/0.02865, allocations: 0.5402 MB / 348.2 MB, free: 7.125 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.02866, allocations: 4 kB / 348.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.02899, allocations: 417.1 kB / 348.6 MB, free: 6.688 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.02924, allocations: 28.81 kB / 348.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003718/0.03295, allocations: 3.314 MB / 352 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.03322, allocations: 173.6 kB / 352.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.075e-05/0.03329, allocations: 18.3 kB / 352.2 MB, free: 3.012 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.835e-05/0.03339, allocations: 100.5 kB / 352.3 MB, free: 2.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.222e-06/0.03339, allocations: 0 / 352.3 MB, free: 2.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.06244, allocations: 9.432 MB / 361.7 MB, free: 9.613 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/8.388, allocations: 2.75 kB / 361.7 MB, free: 9.613 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_SaturatedInductor.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable coil.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mLeak.port_p.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mLeak.port_p.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.mu_r in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.mu_r from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.B in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.B from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! Error: Could not read variable r_mFe.H in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv. Warning: Get data of variable r_mFe.H from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.247731243260205]