Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 166.7 kB / 24.99 MB, free: 8.793 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8811/0.8811, allocations: 177.1 MB / 205.3 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.487e-05/1.628e-05, allocations: 2.312 kB / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004067/0.004083, allocations: 4.311 MB / 277.4 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.006109, allocations: 1.67 MB / 279 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.006286, allocations: 12 kB / 279.1 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.007515, allocations: 1.077 MB / 280.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.007902, allocations: 273.9 kB / 280.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.009006, allocations: 0.7394 MB / 281.1 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004417/0.009447, allocations: 0.6607 MB / 281.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.009945, allocations: 461.4 kB / 282.2 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003465/0.01029, allocations: 407 kB / 282.6 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.01054, allocations: 275.2 kB / 282.9 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.01059, allocations: 56 kB / 283 MB, free: 7.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.01094, allocations: 279.6 kB / 283.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.855e-05/0.01101, allocations: 147.4 kB / 283.4 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.01114, allocations: 227.4 kB / 283.6 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005735/0.01171, allocations: 0.7084 MB / 284.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.01172, allocations: 0 / 284.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01172, allocations: 4 kB / 284.3 MB, free: 6.488 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.01172, allocations: 0 / 284.3 MB, free: 6.488 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.002011/0.01373, allocations: 1.307 MB / 285.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.01376, allocations: 12.03 kB / 285.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009537/0.01472, allocations: 339.9 kB / 286 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.01485, allocations: 184.6 kB / 286.2 MB, free: 4.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.01489, allocations: 58.38 kB / 286.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.381e-05/0.01498, allocations: 76.31 kB / 286.3 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.01568, allocations: 0.6327 MB / 286.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.0157, allocations: 192 / 286.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.416e-05/0.01574, allocations: 32.38 kB / 286.9 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.01575, allocations: 19.94 kB / 287 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.01626, allocations: 355.5 kB / 287.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/0.01846, allocations: 2.226 MB / 289.5 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009482/0.01941, allocations: 0.7322 MB / 290.3 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000257/0.01967, allocations: 207.1 kB / 290.5 MB, free: 124 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.667e-05/0.01974, allocations: 28.62 kB / 290.5 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.01976, allocations: 46.33 kB / 290.5 MB, free: 36 kB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 1.864e-06/0.01976, allocations: 0 / 290.5 MB, free: 36 kB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.1026/0.1223, allocations: 0.7192 MB / 291.3 MB, free: 27.58 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1224, allocations: 118.1 kB / 291.4 MB, free: 27.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1226, allocations: 310.9 kB / 291.7 MB, free: 27.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1226, allocations: 39.17 kB / 291.7 MB, free: 27.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.1227, allocations: 352.6 kB / 292.1 MB, free: 27.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.1229, allocations: 261.3 kB / 292.3 MB, free: 26.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.123, allocations: 146.2 kB / 292.5 MB, free: 26.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.1231, allocations: 0.5238 MB / 293 MB, free: 26.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.1234, allocations: 119 kB / 293.1 MB, free: 26.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.1237, allocations: 356.5 kB / 293.5 MB, free: 26.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005958/0.1243, allocations: 497.2 kB / 293.9 MB, free: 25.92 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1243, allocations: 1.156 kB / 293.9 MB, free: 25.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0009866/0.1253, allocations: 0.6465 MB / 294.6 MB, free: 25.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1253, allocations: 10.62 kB / 294.6 MB, free: 25.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1253, allocations: 4.531 kB / 294.6 MB, free: 25.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000554/0.1259, allocations: 174.6 kB / 294.8 MB, free: 25.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.1263, allocations: 150.3 kB / 294.9 MB, free: 25.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001885/0.1282, allocations: 4.454 MB / 299.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.1285, allocations: 78.38 kB / 299.5 MB, free: 21.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.1286, allocations: 31.38 kB / 299.5 MB, free: 21.79 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.0001433/0.1287, allocations: 197.7 kB / 299.7 MB, free: 21.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1288, allocations: 66.27 kB / 299.7 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008844/0.1297, allocations: 0.5523 MB / 300.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1297, allocations: 9.156 kB / 300.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1297, allocations: 4.156 kB / 300.3 MB, free: 21.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.1297, allocations: 7.078 kB / 300.3 MB, free: 21.42 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.131, allocations: 1.15 MB / 301.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.131, allocations: 1.844 kB / 301.5 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.1313, allocations: 101 kB / 301.6 MB, free: 20.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003375/0.1316, allocations: 156.2 kB / 301.7 MB, free: 20.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.1316, allocations: 24.45 kB / 301.7 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.1328, allocations: 3.864 MB / 305.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1328, allocations: 5.156 kB / 305.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.1336, allocations: 0.8829 MB / 306.5 MB, free: 16.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.1336, allocations: 50.45 kB / 306.5 MB, free: 16.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.1337, allocations: 16.44 kB / 306.6 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1338, allocations: 21.64 kB / 306.6 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.1339, allocations: 54.61 kB / 306.6 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.134, allocations: 24.44 kB / 306.7 MB, free: 16.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1341, allocations: 204.3 kB / 306.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1341, allocations: 1.125 kB / 306.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005212/0.1346, allocations: 222.9 kB / 307.1 MB, free: 16.28 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.0001855/0.1348, allocations: 162.2 kB / 307.2 MB, free: 16.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007347/0.1355, allocations: 0.8012 MB / 308 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1355, allocations: 0 / 308 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1358, allocations: 0.5884 MB / 308.6 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1362, allocations: 51.08 kB / 308.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1375, allocations: 0.9952 MB / 309.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.53e-05/0.1376, allocations: 135.4 kB / 309.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002063/0.1378, allocations: 79.66 kB / 309.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.334e-05/0.1379, allocations: 50.5 kB / 309.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1379, allocations: 0 / 309.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Templates: time 0.007428/0.1453, allocations: 6.252 MB / 316.2 MB, free: 10.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.878254813142121]