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.001764/0.001764, allocations: 123.4 kB / 18.46 MB, free: 4.598 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.001545/0.001545, allocations: 192.3 kB / 21.4 MB, free: 1.668 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.435/1.435, allocations: 225.6 MB / 249.8 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 55.91 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 52.14 MB / 419 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005976/0.1117, allocations: 4.208 MB / 423.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.1146, allocations: 1.639 MB / 424.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.1148, allocations: 12 kB / 424.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.1171, allocations: 1.015 MB / 425.8 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.1177, allocations: 238.2 kB / 426.1 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.1193, allocations: 0.8002 MB / 426.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007049/0.12, allocations: 0.6183 MB / 427.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006728/0.1207, allocations: 379.2 kB / 427.9 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.1211, allocations: 271 kB / 428.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.1216, allocations: 346.6 kB / 428.5 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.749e-05/0.1216, allocations: 52 kB / 428.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005341/0.1222, allocations: 267.8 kB / 428.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1223, allocations: 127.5 kB / 428.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002974/0.1226, allocations: 310.5 kB / 429.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1237, allocations: 0.9184 MB / 430.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.443e-06/0.1237, allocations: 4 kB / 430.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1237, allocations: 0 / 430.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1237, allocations: 0 / 430.1 MB, free: 0.8789 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.003743/0.1275, allocations: 1.224 MB / 431.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.1275, allocations: 8.031 kB / 431.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.1287, allocations: 180.4 kB / 431.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.1289, allocations: 248.9 kB / 431.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.129, allocations: 50.38 kB / 431.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.1291, allocations: 64.38 kB / 431.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.1305, allocations: 0.7038 MB / 432.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.1305, allocations: 4 kB / 432.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.1306, allocations: 28 kB / 432.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.1306, allocations: 16 kB / 432.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.1319, allocations: 0.6102 MB / 433.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.1356, allocations: 2.305 MB / 435.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001952/0.1375, allocations: 1.579 MB / 437.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/0.1381, allocations: 239.4 kB / 437.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.1383, allocations: 97.64 kB / 437.5 MB, free: 9.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.1383, allocations: 39.12 kB / 437.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.354e-06/0.1383, allocations: 4 kB / 437.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.00174/0.1401, allocations: 0.7017 MB / 438.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.524e-05/0.1402, allocations: 111.4 kB / 438.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.1406, allocations: 261.1 kB / 438.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.1406, allocations: 37.7 kB / 438.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.1408, allocations: 272.7 kB / 438.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.141, allocations: 238 kB / 439.1 MB, free: 7.344 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.1413, allocations: 130.5 kB / 439.2 MB, free: 7.211 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.1414, allocations: 342.8 kB / 439.6 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.142, allocations: 209.9 kB / 439.8 MB, free: 6.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005993/0.1426, allocations: 305.4 kB / 440.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.1437, allocations: 0.5142 MB / 440.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.1437, allocations: 0 / 440.6 MB, free: 5.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001366/0.145, allocations: 0.6375 MB / 441.2 MB, free: 5.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1451, allocations: 4 kB / 441.2 MB, free: 5.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.1451, allocations: 4 kB / 441.2 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.1451, allocations: 4 kB / 441.2 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.1458, allocations: 156 kB / 441.4 MB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.1458, allocations: 8 kB / 441.4 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.1463, allocations: 75.53 kB / 441.5 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.1464, allocations: 23.98 kB / 441.5 MB, free: 4.883 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.0002907/0.1467, allocations: 201.5 kB / 441.7 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.1468, allocations: 43.64 kB / 441.7 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.1482, allocations: 0.6007 MB / 442.3 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.1482, allocations: 8 kB / 442.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1482, allocations: 4 kB / 442.3 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.1482, allocations: 3.984 kB / 442.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.1505, allocations: 1.29 MB / 443.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1505, allocations: 0 / 443.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.1511, allocations: 127.8 kB / 443.8 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1511, allocations: 8 kB / 443.8 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.1511, allocations: 19.97 kB / 443.8 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.1512, allocations: 7.938 kB / 443.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1512, allocations: 0 / 443.8 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.153, allocations: 0.9793 MB / 444.8 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.1531, allocations: 120.8 kB / 444.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.317e-05/0.1532, allocations: 16 kB / 444.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.1536, allocations: 35.91 kB / 444.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.1537, allocations: 36.52 kB / 445 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.1537, allocations: 23.98 kB / 445 MB, free: 1.254 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.154, allocations: 188.5 kB / 445.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.154, allocations: 4.062 kB / 445.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005983/0.1546, allocations: 175.6 kB / 445.4 MB, free: 0.8945 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.0002734/0.1548, allocations: 151.1 kB / 445.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.156, allocations: 0.4964 MB / 446 MB, free: 252 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.156, allocations: 4.062 kB / 446 MB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1706/0.3266, allocations: 247.7 kB / 446.3 MB, free: 30.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008644/0.3275, allocations: 42.44 kB / 446.3 MB, free: 30.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3297, allocations: 1.11 MB / 447.4 MB, free: 30.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.33, allocations: 0.8434 MB / 448.2 MB, free: 29.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.3302, allocations: 56.81 kB / 448.3 MB, free: 29.67 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3303, allocations: 0 / 448.3 MB, free: 29.67 MB / 366.1 MB Notification: Performance of Templates: time 0.0138/0.3441, allocations: 6.821 MB / 455.1 MB, free: 29.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.155375669011846]