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.001393/0.001393, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009605/0.0009605, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.947/0.947, allocations: 177 MB / 204.8 MB, free: 5.574 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.483e-06/1.483e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.594e-05, allocations: 9.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004044/0.00407, allocations: 4.327 MB / 277.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.00589, allocations: 1.677 MB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.006024, allocations: 12 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.007279, allocations: 1.089 MB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.007625, allocations: 269.9 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008982/0.008523, allocations: 0.7316 MB / 281 MB, free: 9.297 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.009041, allocations: 0.6568 MB / 281.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005191/0.00956, allocations: 465.3 kB / 282.1 MB, free: 8.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.009944, allocations: 407 kB / 282.5 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002788/0.01022, allocations: 283.2 kB / 282.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.01029, allocations: 56 kB / 282.9 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.0106, allocations: 275.5 kB / 283.1 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.768e-05/0.01068, allocations: 143.4 kB / 283.3 MB, free: 7.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.01083, allocations: 227.4 kB / 283.5 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.01142, allocations: 0.7084 MB / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01142, allocations: 0 / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.01142, allocations: 0 / 284.2 MB, free: 6.102 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.892e-06/0.01143, allocations: 0 / 284.2 MB, free: 6.102 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.002065/0.01349, allocations: 1.319 MB / 285.5 MB, free: 4.746 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01353, allocations: 15.98 kB / 285.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008243/0.01435, allocations: 335.9 kB / 285.9 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.01449, allocations: 183.8 kB / 286 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.01453, allocations: 54.38 kB / 286.1 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.01461, allocations: 72.38 kB / 286.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.01535, allocations: 0.6327 MB / 286.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.01537, allocations: 192 / 286.8 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.01541, allocations: 36.38 kB / 286.8 MB, free: 3.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.01543, allocations: 27.94 kB / 286.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005194/0.01595, allocations: 359.5 kB / 287.2 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002698/0.01864, allocations: 2.226 MB / 289.4 MB, free: 0.668 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.108/0.1267, allocations: 0.7169 MB / 290.2 MB, free: 20.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/0.1271, allocations: 202.8 kB / 290.4 MB, free: 20.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.1273, allocations: 32 kB / 290.4 MB, free: 20.37 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1273, allocations: 44.61 kB / 290.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.146e-06/0.1273, allocations: 1.094 kB / 290.4 MB, free: 20.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.00152/0.1288, allocations: 0.7296 MB / 291.2 MB, free: 20.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1289, allocations: 112.8 kB / 291.3 MB, free: 20.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.1291, allocations: 309.6 kB / 291.6 MB, free: 19.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.1291, allocations: 40.2 kB / 291.6 MB, free: 19.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1292, allocations: 352.3 kB / 292 MB, free: 19.72 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.1293, allocations: 254.5 kB / 292.2 MB, free: 19.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.1295, allocations: 152.2 kB / 292.4 MB, free: 19.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.1296, allocations: 0.5238 MB / 292.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.1298, allocations: 124.2 kB / 293 MB, free: 19.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.1301, allocations: 358.2 kB / 293.3 MB, free: 18.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.1306, allocations: 486.7 kB / 293.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1306, allocations: 1.281 kB / 293.8 MB, free: 18.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00087/0.1314, allocations: 0.6555 MB / 294.5 MB, free: 18.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1315, allocations: 8.203 kB / 294.5 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1315, allocations: 4.156 kB / 294.5 MB, free: 18.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004846/0.132, allocations: 174.8 kB / 294.7 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.1323, allocations: 148.4 kB / 294.8 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.1341, allocations: 4.455 MB / 299.3 MB, free: 14.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.1344, allocations: 82.83 kB / 299.3 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.986e-05/0.1344, allocations: 32.75 kB / 299.4 MB, free: 14.52 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.0001317/0.1346, allocations: 206.6 kB / 299.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.1346, allocations: 62.05 kB / 299.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007519/0.1354, allocations: 0.5508 MB / 300.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.1354, allocations: 11.91 kB / 300.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1354, allocations: 3.25 kB / 300.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1354, allocations: 3.703 kB / 300.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.1368, allocations: 1.144 MB / 301.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1368, allocations: 1.062 kB / 301.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.1371, allocations: 108.5 kB / 301.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/0.1375, allocations: 154.4 kB / 301.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.1375, allocations: 18.34 kB / 301.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/0.1388, allocations: 3.872 MB / 305.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1388, allocations: 0 / 305.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.1398, allocations: 0.8872 MB / 306.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.1398, allocations: 51.62 kB / 306.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.1398, allocations: 12.56 kB / 306.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.14, allocations: 23.47 kB / 306.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.1401, allocations: 58.98 kB / 306.5 MB, free: 9.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.1402, allocations: 24.98 kB / 306.6 MB, free: 9.879 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.1403, allocations: 203.9 kB / 306.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1403, allocations: 0 / 306.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005739/0.1408, allocations: 219.1 kB / 307 MB, free: 9.703 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.0002257/0.1411, allocations: 156 kB / 307.1 MB, free: 9.594 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008349/0.1419, allocations: 0.8057 MB / 307.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1419, allocations: 0 / 307.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.1423, allocations: 0.5904 MB / 308.5 MB, free: 8.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.1426, allocations: 48.09 kB / 308.6 MB, free: 8.688 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.144, allocations: 0.9928 MB / 309.6 MB, free: 8.141 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001061/0.1441, allocations: 136.2 kB / 309.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.1443, allocations: 81.23 kB / 309.8 MB, free: 8.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.1444, allocations: 49.86 kB / 309.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1444, allocations: 0 / 309.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of Templates: time 0.008729/0.1532, allocations: 6.751 MB / 316.6 MB, free: 5.523 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.8473595432005823]