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.001549/0.001549, allocations: 114.5 kB / 17.78 MB, free: 5.289 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.001734/0.001734, allocations: 190.9 kB / 20.73 MB, free: 2.352 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.535/1.535, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.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.0015/0.0015, allocations: 51.92 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.005217/0.1234, allocations: 2.769 MB / 420.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.1252, allocations: 0.8723 MB / 421.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001778/0.1254, allocations: 4 kB / 421.4 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.1257, allocations: 55.45 kB / 421.5 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.126, allocations: 111.2 kB / 421.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1264, allocations: 87.89 kB / 421.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.1269, allocations: 366.6 kB / 422 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002032/0.1271, allocations: 73.7 kB / 422.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.1273, allocations: 139.5 kB / 422.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.1275, allocations: 151.4 kB / 422.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.11e-05/0.1276, allocations: 35.94 kB / 422.4 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.497e-05/0.1277, allocations: 28 kB / 422.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.1277, allocations: 63.77 kB / 422.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.1279, allocations: 159.2 kB / 422.7 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.1284, allocations: 358.5 kB / 423 MB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1284, allocations: 0 / 423 MB, free: 7.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1284, allocations: 0 / 423 MB, free: 7.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.1284, allocations: 0 / 423 MB, free: 7.348 MB / 350.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.001185/0.1296, allocations: 0.6117 MB / 423.6 MB, free: 6.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1296, allocations: 15.89 kB / 423.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.616e-05/0.1297, allocations: 66.72 kB / 423.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.319e-05/0.1298, allocations: 36.75 kB / 423.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.1303, allocations: 268.1 kB / 424 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.1303, allocations: 20.94 kB / 424 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.1304, allocations: 24.38 kB / 424 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005322/0.1309, allocations: 253 kB / 424.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1309, allocations: 0 / 424.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.1309, allocations: 11.94 kB / 424.3 MB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1309, allocations: 8 kB / 424.3 MB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/0.1314, allocations: 214.1 kB / 424.5 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0018/0.1332, allocations: 0.9939 MB / 425.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.1337, allocations: 198.6 kB / 425.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.134, allocations: 96.81 kB / 425.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.134, allocations: 4 kB / 425.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.1341, allocations: 42.56 kB / 425.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.365e-06/0.1341, allocations: 0 / 425.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.005519/0.1396, allocations: 1.538 MB / 427.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.1397, allocations: 59.27 kB / 427.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002939/0.14, allocations: 233 kB / 427.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.14, allocations: 33.7 kB / 427.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001543/0.1402, allocations: 180.5 kB / 427.9 MB, free: 2.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.1403, allocations: 130.9 kB / 428 MB, free: 2.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1405, allocations: 70.03 kB / 428.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1406, allocations: 334.8 kB / 428.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.1409, allocations: 104.7 kB / 428.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.1412, allocations: 165.5 kB / 428.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.1417, allocations: 276 kB / 428.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1418, allocations: 0 / 428.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001648/0.1434, allocations: 0.5333 MB / 429.5 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1434, allocations: 8 kB / 429.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.1434, allocations: 0 / 429.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/0.1448, allocations: 245.4 kB / 429.7 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.1451, allocations: 59.95 kB / 429.8 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/0.151, allocations: 4.137 MB / 433.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.1514, allocations: 16.03 kB / 433.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.1514, allocations: 15.98 kB / 433.9 MB, free: 11.75 MB / 366.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.0002781/0.1517, allocations: 153.7 kB / 434.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.1517, allocations: 23.86 kB / 434.1 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.1519, allocations: 46.95 kB / 434.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1519, allocations: 4 kB / 434.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.1519, allocations: 0 / 434.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1519, allocations: 0 / 434.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002434/0.1543, allocations: 0.9852 MB / 435.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1543, allocations: 0 / 435.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.1545, allocations: 40.25 kB / 435.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001237/0.1558, allocations: 245.4 kB / 435.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.972e-05/0.1558, allocations: 8 kB / 435.4 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005755/0.1616, allocations: 4.126 MB / 439.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1616, allocations: 0 / 439.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.1636, allocations: 0.7286 MB / 440.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1637, allocations: 105 kB / 440.4 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.1637, allocations: 11.94 kB / 440.4 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.164, allocations: 11.98 kB / 440.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.1641, allocations: 27.97 kB / 440.4 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.85e-05/0.1641, allocations: 11.98 kB / 440.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001939/0.1643, allocations: 160.5 kB / 440.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1643, allocations: 64 / 440.6 MB, free: 4.664 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006635/0.165, allocations: 104.3 kB / 440.7 MB, free: 4.562 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.002457/0.1674, allocations: 1.278 MB / 442 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.1687, allocations: 0.5516 MB / 442.5 MB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1687, allocations: 4.062 kB / 442.6 MB, free: 2.664 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007011/0.1694, allocations: 413 kB / 443 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1698, allocations: 37.52 kB / 443 MB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2172/0.387, allocations: 3.341 MB / 446.3 MB, free: 28.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.3872, allocations: 0.7752 MB / 447.1 MB, free: 28.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.3873, allocations: 24.98 kB / 447.1 MB, free: 28.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.3875, allocations: 92.41 kB / 447.2 MB, free: 28.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.114e-06/0.3875, allocations: 0 / 447.2 MB, free: 28.24 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0497/0.4372, allocations: 8.463 MB / 455.7 MB, free: 27.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.29, allocations: 5.047 kB / 455.7 MB, free: 27.65 MB / 366.1 MB " [Timeout remaining time 647] (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.06207798467949]