Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001273/0.001273, allocations: 116.6 kB / 18.49 MB, free: 4.59 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.001358/0.001358, allocations: 193 kB / 21.43 MB, free: 1.66 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.341/1.341, allocations: 225.6 MB / 249.8 MB, free: 3.727 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.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 55.92 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09333, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005684/0.09901, allocations: 4.207 MB / 422.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002776/0.1018, allocations: 1.646 MB / 424.3 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.102, allocations: 11.94 kB / 424.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.1043, allocations: 1.007 MB / 425.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005634/0.1048, allocations: 242.2 kB / 425.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.1064, allocations: 0.7967 MB / 426.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006598/0.1071, allocations: 0.6145 MB / 427 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006066/0.1077, allocations: 383.2 kB / 427.4 MB, free: 3.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003456/0.1081, allocations: 279 kB / 427.7 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004228/0.1085, allocations: 342.6 kB / 428 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.1086, allocations: 52 kB / 428 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00048/0.109, allocations: 271.7 kB / 428.3 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.1091, allocations: 131.5 kB / 428.4 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.1094, allocations: 302.5 kB / 428.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.1105, allocations: 0.9261 MB / 429.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1105, allocations: 4 kB / 429.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1105, allocations: 4 kB / 429.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.908e-06/0.1105, allocations: 0 / 429.7 MB, free: 1.395 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003602/0.1141, allocations: 1.216 MB / 430.9 MB, free: 128 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1141, allocations: 8.031 kB / 430.9 MB, free: 120 kB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.145e-05/0.1142, allocations: 22.19 kB / 430.9 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001426/0.1143, allocations: 114.8 kB / 431 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.1154, allocations: 176.4 kB / 431.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1156, allocations: 240.9 kB / 431.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/0.1157, allocations: 50.38 kB / 431.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.1158, allocations: 64.38 kB / 431.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.1171, allocations: 0.7073 MB / 432.2 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.1171, allocations: 7.984 kB / 432.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/0.1172, allocations: 28 kB / 432.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.1172, allocations: 16 kB / 432.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.1185, allocations: 0.6023 MB / 432.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/0.122, allocations: 2.317 MB / 435.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.1238, allocations: 1.571 MB / 436.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.1243, allocations: 250.2 kB / 437 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.1245, allocations: 97.7 kB / 437.1 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.1245, allocations: 43.11 kB / 437.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.1245, allocations: 0 / 437.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00167/0.1262, allocations: 0.7017 MB / 437.9 MB, free: 8.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.1263, allocations: 111.4 kB / 438 MB, free: 8.539 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1266, allocations: 260.9 kB / 438.2 MB, free: 8.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.1266, allocations: 37.7 kB / 438.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.1268, allocations: 272.6 kB / 438.5 MB, free: 7.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.127, allocations: 238 kB / 438.8 MB, free: 7.723 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.1272, allocations: 122.8 kB / 438.9 MB, free: 7.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.1274, allocations: 350.7 kB / 439.2 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.1279, allocations: 205.9 kB / 439.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.1284, allocations: 301.4 kB / 439.7 MB, free: 6.723 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.1295, allocations: 0.5181 MB / 440.2 MB, free: 6.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.1295, allocations: 4 kB / 440.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001297/0.1308, allocations: 0.6261 MB / 440.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1308, allocations: 7.984 kB / 440.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1308, allocations: 0 / 440.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1308, allocations: 8 kB / 440.9 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007225/0.1316, allocations: 163.7 kB / 441.1 MB, free: 5.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1316, allocations: 4 kB / 441.1 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/0.1321, allocations: 71.55 kB / 441.1 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.1321, allocations: 23.98 kB / 441.1 MB, free: 5.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000232/0.1323, allocations: 197.5 kB / 441.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.744e-05/0.1324, allocations: 39.77 kB / 441.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001318/0.1337, allocations: 0.6007 MB / 442 MB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.1338, allocations: 8 kB / 442 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1338, allocations: 3.938 kB / 442 MB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.1338, allocations: 3.984 kB / 442 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1359, allocations: 1.298 MB / 443.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1359, allocations: 0 / 443.3 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005723/0.1365, allocations: 123.9 kB / 443.4 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.1365, allocations: 4 kB / 443.4 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/0.1365, allocations: 15.94 kB / 443.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.1365, allocations: 7.938 kB / 443.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1365, allocations: 0 / 443.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.1383, allocations: 0.9793 MB / 444.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.1384, allocations: 120.7 kB / 444.5 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.1384, allocations: 19.92 kB / 444.6 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003968/0.1388, allocations: 32.05 kB / 444.6 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.585e-05/0.1389, allocations: 40.5 kB / 444.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-05/0.139, allocations: 20 kB / 444.6 MB, free: 1.656 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.1392, allocations: 196.5 kB / 444.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1392, allocations: 0 / 444.8 MB, free: 1.465 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005519/0.1397, allocations: 175.6 kB / 445 MB, free: 1.293 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1627/0.3024, allocations: 1.574 MB / 446.6 MB, free: 30.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.3035, allocations: 0.5022 MB / 447.1 MB, free: 30.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3035, allocations: 0 / 447.1 MB, free: 30.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.3039, allocations: 246.7 kB / 447.3 MB, free: 30.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.3045, allocations: 46.92 kB / 447.4 MB, free: 30.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/0.3097, allocations: 4.228 MB / 451.6 MB, free: 28.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002352/0.3099, allocations: 0.8467 MB / 452.5 MB, free: 27.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.3103, allocations: 80.05 kB / 452.5 MB, free: 27.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.3105, allocations: 187.3 kB / 452.7 MB, free: 27.91 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3105, allocations: 0 / 452.7 MB, free: 27.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.3402, allocations: 9.472 MB / 462.2 MB, free: 26.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.482/8.822, allocations: 9.125 kB / 462.2 MB, free: 26.43 MB / 366.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.07364876603242]