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.001974/0.001974, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00202/0.00202, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 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 1.56/1.56, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.202e-06/1.202e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.343e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006762/0.006786, allocations: 4.279 MB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.01021, allocations: 1.662 MB / 278.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004206/0.01063, allocations: 12 kB / 278.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002743/0.01338, allocations: 1.081 MB / 279.4 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007544/0.01413, allocations: 273.9 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.01582, allocations: 0.7356 MB / 280.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.0166, allocations: 0.6607 MB / 281 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007598/0.01736, allocations: 465.3 kB / 281.5 MB, free: 8.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00072/0.01808, allocations: 407.1 kB / 281.9 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004317/0.01851, allocations: 279.2 kB / 282.1 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.725e-05/0.01861, allocations: 56 kB / 282.2 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005846/0.01919, allocations: 275.5 kB / 282.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.01934, allocations: 143.4 kB / 282.6 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.0196, allocations: 227.4 kB / 282.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.02089, allocations: 1.008 MB / 283.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.0209, allocations: 4 kB / 283.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0209, allocations: 0 / 283.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.02091, allocations: 4 kB / 283.8 MB, free: 6.246 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.003759/0.02467, allocations: 1.342 MB / 285.2 MB, free: 4.867 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.0247, allocations: 12.03 kB / 285.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.02624, allocations: 331.9 kB / 285.5 MB, free: 4.531 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/0.02646, allocations: 195.7 kB / 285.7 MB, free: 4.312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.358e-05/0.02652, allocations: 54.38 kB / 285.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.02664, allocations: 76.38 kB / 285.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.0281, allocations: 0.8155 MB / 286.7 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.803e-05/0.02813, allocations: 4.188 kB / 286.7 MB, free: 3.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.522e-05/0.0282, allocations: 28.38 kB / 286.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.02823, allocations: 23.94 kB / 286.7 MB, free: 3.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.02953, allocations: 0.622 MB / 287.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/0.03413, allocations: 2.512 MB / 289.8 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1057/0.1398, allocations: 0.8307 MB / 290.7 MB, free: 27.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.1403, allocations: 291.9 kB / 291 MB, free: 27.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/0.1404, allocations: 33.94 kB / 291 MB, free: 27.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1405, allocations: 48.62 kB / 291 MB, free: 27.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.435e-06/0.1405, allocations: 0 / 291 MB, free: 27.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002296/0.1428, allocations: 0.9684 MB / 292 MB, free: 27.79 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1428, allocations: 117.3 kB / 292.1 MB, free: 27.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1431, allocations: 352.5 kB / 292.5 MB, free: 27.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.1431, allocations: 36.8 kB / 292.5 MB, free: 27.45 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1433, allocations: 362 kB / 292.9 MB, free: 27.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.1434, allocations: 266.9 kB / 293.1 MB, free: 27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.1436, allocations: 165 kB / 293.3 MB, free: 26.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1437, allocations: 0.5419 MB / 293.8 MB, free: 26.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000509/0.1442, allocations: 213.8 kB / 294 MB, free: 26.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000508/0.1447, allocations: 463.6 kB / 294.5 MB, free: 26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009311/0.1456, allocations: 0.6899 MB / 295.2 MB, free: 25.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.1457, allocations: 0.9688 kB / 295.2 MB, free: 25.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001398/0.1471, allocations: 0.8481 MB / 296 MB, free: 25.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1471, allocations: 7.656 kB / 296 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1471, allocations: 3.594 kB / 296 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007893/0.1479, allocations: 191.8 kB / 296.2 MB, free: 25.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.1485, allocations: 157 kB / 296.4 MB, free: 25.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00255/0.151, allocations: 4.768 MB / 301.1 MB, free: 20.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.1515, allocations: 77.78 kB / 301.2 MB, free: 20.74 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.396e-05/0.1515, allocations: 32.95 kB / 301.3 MB, free: 20.73 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.0002136/0.1517, allocations: 247 kB / 301.5 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.1518, allocations: 64.88 kB / 301.6 MB, free: 20.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.1532, allocations: 0.7152 MB / 302.3 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1533, allocations: 11.19 kB / 302.3 MB, free: 20.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1533, allocations: 7.359 kB / 302.3 MB, free: 20.17 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.1533, allocations: 5.5 kB / 302.3 MB, free: 20.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.1555, allocations: 1.419 MB / 303.7 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1555, allocations: 1.938 kB / 303.7 MB, free: 19.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.1559, allocations: 112.3 kB / 303.8 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006641/0.1566, allocations: 175.6 kB / 304 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.1566, allocations: 15.89 kB / 304 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002057/0.1587, allocations: 4.14 MB / 308.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1587, allocations: 1.25 kB / 308.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.1603, allocations: 1.199 MB / 309.4 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.1604, allocations: 54.61 kB / 309.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.1604, allocations: 12.58 kB / 309.4 MB, free: 14.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.1608, allocations: 20.77 kB / 309.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.1609, allocations: 59.02 kB / 309.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.161, allocations: 19.95 kB / 309.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1611, allocations: 232.5 kB / 309.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1611, allocations: 0 / 309.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007499/0.1619, allocations: 226.4 kB / 310 MB, free: 14.53 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.0002302/0.1621, allocations: 156.5 kB / 310.1 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.1633, allocations: 0.9954 MB / 311.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1633, allocations: 0 / 311.1 MB, free: 13.85 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006013/0.1639, allocations: 0.6813 MB / 311.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.1644, allocations: 48.95 kB / 311.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.166, allocations: 1.069 MB / 312.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.1662, allocations: 270.3 kB / 313.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002646/0.1665, allocations: 79.81 kB / 313.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.1666, allocations: 46.59 kB / 313.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1666, allocations: 0 / 313.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Templates: time 0.01048/0.1771, allocations: 6.256 MB / 319.6 MB, free: 6.609 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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: 4.8818585210246965]