Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.0009465/0.0009465, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008987/0.0008987, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.9039/0.9039, allocations: 177 MB / 205.2 MB, free: 5.035 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: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 273.4 MB, free: 1.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.542e-05, allocations: 9.266 kB / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004789/0.004805, allocations: 4.21 MB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.00647, allocations: 1.735 MB / 279.3 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.006589, allocations: 12 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.007687, allocations: 1.085 MB / 280.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.007996, allocations: 269.9 kB / 280.7 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007756/0.008772, allocations: 0.7354 MB / 281.4 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.009157, allocations: 0.6568 MB / 282.1 MB, free: 8.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.009593, allocations: 0.4953 MB / 282.6 MB, free: 7.801 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.009902, allocations: 403.1 kB / 283 MB, free: 7.406 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.01013, allocations: 283.2 kB / 283.3 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.01019, allocations: 56 kB / 283.3 MB, free: 7.074 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.01048, allocations: 283.5 kB / 283.6 MB, free: 6.797 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.01055, allocations: 143.4 kB / 283.7 MB, free: 6.656 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.01068, allocations: 219.4 kB / 283.9 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000524/0.0112, allocations: 0.7084 MB / 284.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.01121, allocations: 0 / 284.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01121, allocations: 0 / 284.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.01121, allocations: 0 / 284.7 MB, free: 5.73 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.001699/0.01291, allocations: 1.237 MB / 285.9 MB, free: 4.469 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.658e-05/0.01294, allocations: 15.98 kB / 285.9 MB, free: 4.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.01371, allocations: 352.1 kB / 286.2 MB, free: 4.109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.01382, allocations: 189 kB / 286.4 MB, free: 3.898 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.01385, allocations: 50.38 kB / 286.5 MB, free: 3.848 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.01392, allocations: 76.33 kB / 286.6 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.01439, allocations: 0.5695 MB / 287.1 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.01441, allocations: 8.172 kB / 287.1 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.01444, allocations: 28.38 kB / 287.2 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.01446, allocations: 23.94 kB / 287.2 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.01472, allocations: 225 kB / 287.4 MB, free: 2.902 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.01655, allocations: 1.805 MB / 289.2 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.01724, allocations: 0.6003 MB / 289.8 MB, free: 396 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.01741, allocations: 159.5 kB / 290 MB, free: 228 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.179e-05/0.01747, allocations: 32.64 kB / 290 MB, free: 196 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.01749, allocations: 47.2 kB / 290 MB, free: 140 kB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.994e-06/0.0175, allocations: 3.938 kB / 290 MB, free: 136 kB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.1083/0.1258, allocations: 0.5418 MB / 290.6 MB, free: 20.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.1258, allocations: 114 kB / 290.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.126, allocations: 248.1 kB / 290.9 MB, free: 19.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.126, allocations: 38.5 kB / 291 MB, free: 19.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.874e-05/0.1261, allocations: 296.2 kB / 291.3 MB, free: 19.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.594e-05/0.1262, allocations: 258 kB / 291.5 MB, free: 19.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.1263, allocations: 137 kB / 291.7 MB, free: 19.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.1264, allocations: 356.1 kB / 292 MB, free: 19.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.1265, allocations: 77.2 kB / 292.1 MB, free: 19.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.1266, allocations: 260.6 kB / 292.3 MB, free: 19.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.1269, allocations: 379.8 kB / 292.7 MB, free: 18.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.1269, allocations: 1.812 kB / 292.7 MB, free: 18.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004842/0.1274, allocations: 471.8 kB / 293.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1274, allocations: 7.469 kB / 293.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1274, allocations: 3.281 kB / 293.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.1278, allocations: 149 kB / 293.3 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.1281, allocations: 148.8 kB / 293.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.1293, allocations: 3.024 MB / 296.5 MB, free: 16.26 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.1295, allocations: 73.56 kB / 296.6 MB, free: 16.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.1295, allocations: 24.39 kB / 296.6 MB, free: 16.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.1296, allocations: 160.4 kB / 296.7 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.1297, allocations: 46.59 kB / 296.8 MB, free: 16.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.1301, allocations: 418.9 kB / 297.2 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1301, allocations: 8.047 kB / 297.2 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1301, allocations: 2.625 kB / 297.2 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1301, allocations: 4.688 kB / 297.2 MB, free: 16.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008333/0.131, allocations: 0.7732 MB / 298 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.131, allocations: 0 / 298 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.1312, allocations: 104.2 kB / 298.1 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/0.1315, allocations: 141 kB / 298.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.1315, allocations: 17.08 kB / 298.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008171/0.1323, allocations: 2.643 MB / 300.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1323, allocations: 0 / 300.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.1328, allocations: 0.6155 MB / 301.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.1328, allocations: 46.97 kB / 301.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.1329, allocations: 18.72 kB / 301.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.133, allocations: 18.39 kB / 301.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.1331, allocations: 55.36 kB / 301.6 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.1331, allocations: 17.58 kB / 301.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.093e-05/0.1332, allocations: 82.75 kB / 301.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1332, allocations: 0.5469 kB / 301.7 MB, free: 13.22 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004629/0.1336, allocations: 220.4 kB / 302 MB, free: 13.2 MB / 266.7 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 (60): * Single equations (assignments): 58 * 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): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001525/0.1338, allocations: 136.4 kB / 302.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.1343, allocations: 0.6124 MB / 302.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.1343, allocations: 3.281 kB / 302.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.1345, allocations: 452.4 kB / 303.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.1348, allocations: 41.34 kB / 303.2 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1359, allocations: 0.966 MB / 304.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.761e-05/0.1359, allocations: 134.7 kB / 304.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.1361, allocations: 86.23 kB / 304.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001458/0.1363, allocations: 116.7 kB / 304.5 MB, free: 12 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1363, allocations: 0 / 304.5 MB, free: 12 MB / 266.7 MB Notification: Performance of Templates: time 0.007902/0.1442, allocations: 6.75 MB / 311.2 MB, free: 10.09 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6052652443759143]