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.001008/0.001008, allocations: 83.67 kB / 21.7 MB, free: 2.844 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.00112/0.00112, allocations: 165.7 kB / 24.99 MB, free: 9.219 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.9511/0.9511, allocations: 177 MB / 205.2 MB, free: 5.578 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.833e-06/1.833e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.871e-05, allocations: 5.266 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006072/0.006101, allocations: 4.296 MB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.008318, allocations: 1.673 MB / 279 MB, free: 11.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.008498, allocations: 15.94 kB / 279 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.009855, allocations: 1.085 MB / 280.1 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003828/0.01024, allocations: 265.9 kB / 280.3 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008796/0.01112, allocations: 0.7316 MB / 281.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.01154, allocations: 0.6568 MB / 281.7 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005094/0.01205, allocations: 457.4 kB / 282.2 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.01256, allocations: 419 kB / 282.6 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.01283, allocations: 279.2 kB / 282.9 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.647e-05/0.01288, allocations: 56 kB / 282.9 MB, free: 7.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.01324, allocations: 271.5 kB / 283.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.482e-05/0.01332, allocations: 151.4 kB / 283.3 MB, free: 7.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.01346, allocations: 223.4 kB / 283.5 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.01408, allocations: 0.7045 MB / 284.2 MB, free: 6.441 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01408, allocations: 4 kB / 284.3 MB, free: 6.438 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.01408, allocations: 0 / 284.3 MB, free: 6.438 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.01409, allocations: 0 / 284.3 MB, free: 6.438 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.002917/0.01701, allocations: 1.315 MB / 285.6 MB, free: 5.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.01705, allocations: 15.98 kB / 285.6 MB, free: 5.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.0186, allocations: 339.9 kB / 285.9 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.01884, allocations: 183.8 kB / 286.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.866e-05/0.0189, allocations: 54.38 kB / 286.1 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.01903, allocations: 72.38 kB / 286.2 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.02016, allocations: 0.6404 MB / 286.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.02019, allocations: 192 / 286.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-05/0.02026, allocations: 36.36 kB / 286.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.02028, allocations: 23.94 kB / 286.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008163/0.0211, allocations: 355.5 kB / 287.3 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.02448, allocations: 2.226 MB / 289.5 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.0259, allocations: 0.727 MB / 290.2 MB, free: 268 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.02629, allocations: 197.2 kB / 290.4 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.235e-05/0.02638, allocations: 36.84 kB / 290.4 MB, free: 28 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1062/0.1325, allocations: 42.08 kB / 290.5 MB, free: 28.12 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.858e-06/0.1325, allocations: 1.25 kB / 290.5 MB, free: 28.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001858/0.1344, allocations: 0.7235 MB / 291.2 MB, free: 28.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1344, allocations: 117.7 kB / 291.3 MB, free: 27.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.1347, allocations: 309.4 kB / 291.6 MB, free: 27.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.1347, allocations: 36.64 kB / 291.7 MB, free: 27.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1348, allocations: 350.9 kB / 292 MB, free: 27.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.135, allocations: 260.7 kB / 292.3 MB, free: 27.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.1352, allocations: 151.3 kB / 292.4 MB, free: 27.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.262e-05/0.1352, allocations: 0.5222 MB / 292.9 MB, free: 26.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.1355, allocations: 121.1 kB / 293 MB, free: 26.86 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/0.1358, allocations: 359 kB / 293.4 MB, free: 26.6 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006065/0.1364, allocations: 491.6 kB / 293.9 MB, free: 26.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1364, allocations: 1.188 kB / 293.9 MB, free: 26.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001021/0.1375, allocations: 0.6542 MB / 294.5 MB, free: 26.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.1375, allocations: 5.875 kB / 294.5 MB, free: 26.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1375, allocations: 6.719 kB / 294.5 MB, free: 26.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.1381, allocations: 174.2 kB / 294.7 MB, free: 26.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004588/0.1385, allocations: 148.5 kB / 294.9 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.1406, allocations: 4.454 MB / 299.3 MB, free: 21.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.1409, allocations: 94.2 kB / 299.4 MB, free: 21.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.1409, allocations: 28.39 kB / 299.4 MB, free: 21.94 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.0001512/0.1411, allocations: 195.2 kB / 299.6 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1412, allocations: 69 kB / 299.7 MB, free: 21.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/0.1421, allocations: 0.552 MB / 300.2 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.1421, allocations: 8.578 kB / 300.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1421, allocations: 10.22 kB / 300.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.1421, allocations: 4.688 kB / 300.3 MB, free: 21.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.1435, allocations: 1.143 MB / 301.4 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1435, allocations: 0 / 301.4 MB, free: 20.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.1437, allocations: 106.5 kB / 301.5 MB, free: 20.87 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/0.1441, allocations: 150.4 kB / 301.7 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.1441, allocations: 15.03 kB / 301.7 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.1454, allocations: 3.867 MB / 305.5 MB, free: 17.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1454, allocations: 9 kB / 305.6 MB, free: 17.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/0.1463, allocations: 0.8941 MB / 306.4 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.1463, allocations: 45.88 kB / 306.5 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.1464, allocations: 12.27 kB / 306.5 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.1465, allocations: 24.59 kB / 306.5 MB, free: 16.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1467, allocations: 52.2 kB / 306.6 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.1467, allocations: 23.91 kB / 306.6 MB, free: 16.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.1468, allocations: 207.9 kB / 306.8 MB, free: 16.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1468, allocations: 0 / 306.8 MB, free: 16.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000566/0.1473, allocations: 220 kB / 307 MB, free: 16.36 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.0002151/0.1476, allocations: 158.1 kB / 307.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.1483, allocations: 0.8053 MB / 308 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1483, allocations: 0 / 308 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.1487, allocations: 0.5856 MB / 308.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.149, allocations: 48.14 kB / 308.6 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1505, allocations: 1 MB / 309.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.584e-05/0.1506, allocations: 134.6 kB / 309.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001956/0.1508, allocations: 74.33 kB / 309.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.431e-05/0.1509, allocations: 51.06 kB / 309.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1509, allocations: 4 kB / 309.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of Templates: time 0.008394/0.1593, allocations: 6.255 MB / 316.1 MB, free: 10.74 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.951445610029623]