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.001313/0.001313, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001448/0.001448, allocations: 168.8 kB / 24.91 MB, free: 9.195 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.9238/0.9238, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.312e-06/1.312e-06, allocations: 0 / 273.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.383e-05, allocations: 2.312 kB / 273.5 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005779/0.005803, allocations: 4.214 MB / 277.7 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.008996, allocations: 1.731 MB / 279.4 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.009291, allocations: 12 kB / 279.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001853/0.01114, allocations: 1.085 MB / 280.5 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008226/0.01197, allocations: 265.9 kB / 280.8 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.01338, allocations: 0.7471 MB / 281.5 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007422/0.01412, allocations: 0.6568 MB / 282.2 MB, free: 8.562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007577/0.01488, allocations: 499.3 kB / 282.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.01545, allocations: 415 kB / 283.1 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.01583, allocations: 283.2 kB / 283.3 MB, free: 7.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.856e-05/0.0159, allocations: 56 kB / 283.4 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005917/0.0165, allocations: 279.5 kB / 283.7 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.0166, allocations: 135.4 kB / 283.8 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.01682, allocations: 223.4 kB / 284 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008934/0.01771, allocations: 0.7123 MB / 284.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01771, allocations: 0 / 284.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.01772, allocations: 0 / 284.7 MB, free: 5.992 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.01772, allocations: 4 kB / 284.7 MB, free: 5.988 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.002839/0.02056, allocations: 1.233 MB / 286 MB, free: 4.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.0206, allocations: 8.031 kB / 286 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.022, allocations: 352.2 kB / 286.3 MB, free: 4.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.02218, allocations: 181.8 kB / 286.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.02223, allocations: 50.38 kB / 286.5 MB, free: 4.125 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.02234, allocations: 84.25 kB / 286.6 MB, free: 4.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000786/0.02313, allocations: 0.5695 MB / 287.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.02316, allocations: 8.125 kB / 287.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.02321, allocations: 32.38 kB / 287.2 MB, free: 3.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.02323, allocations: 23.94 kB / 287.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.02368, allocations: 221.7 kB / 287.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003077/0.02675, allocations: 1.797 MB / 289.3 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.02752, allocations: 0.606 MB / 289.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.02769, allocations: 163.5 kB / 290 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.049e-05/0.02777, allocations: 28.58 kB / 290.1 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.0278, allocations: 43.22 kB / 290.1 MB, free: 420 kB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.454e-06/0.02781, allocations: 0 / 290.1 MB, free: 420 kB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.1015/0.1293, allocations: 0.5478 MB / 290.6 MB, free: 20.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1293, allocations: 111.8 kB / 290.8 MB, free: 20.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1295, allocations: 255.8 kB / 291 MB, free: 20.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.247e-05/0.1295, allocations: 34.39 kB / 291 MB, free: 20.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.1296, allocations: 300.4 kB / 291.3 MB, free: 20.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.1298, allocations: 259 kB / 291.6 MB, free: 20.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.1299, allocations: 134.5 kB / 291.7 MB, free: 20.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.123e-05/0.13, allocations: 354.6 kB / 292.1 MB, free: 20 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1301, allocations: 78.44 kB / 292.1 MB, free: 20 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1302, allocations: 256.8 kB / 292.4 MB, free: 19.82 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000329/0.1306, allocations: 382.9 kB / 292.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1306, allocations: 3.062 kB / 292.8 MB, free: 19.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0005649/0.1311, allocations: 469 kB / 293.2 MB, free: 19.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1312, allocations: 9.703 kB / 293.2 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1312, allocations: 3.531 kB / 293.2 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000406/0.1316, allocations: 152.1 kB / 293.4 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.1319, allocations: 151.9 kB / 293.5 MB, free: 19.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.1333, allocations: 3.012 MB / 296.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.1335, allocations: 77.27 kB / 296.6 MB, free: 17.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.1335, allocations: 28.92 kB / 296.7 MB, free: 17.01 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.0001224/0.1337, allocations: 157.4 kB / 296.8 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.1337, allocations: 47.12 kB / 296.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.1342, allocations: 418.9 kB / 297.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1342, allocations: 10.31 kB / 297.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1342, allocations: 2.281 kB / 297.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1343, allocations: 4.875 kB / 297.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009375/0.1352, allocations: 0.7761 MB / 298.1 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1352, allocations: 0 / 298.1 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.1354, allocations: 101.1 kB / 298.2 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.1357, allocations: 140.5 kB / 298.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.1358, allocations: 16.2 kB / 298.3 MB, free: 16.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009402/0.1367, allocations: 2.632 MB / 300.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1367, allocations: 1.312 kB / 300.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005736/0.1373, allocations: 0.6193 MB / 301.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1373, allocations: 48.02 kB / 301.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.1374, allocations: 15.52 kB / 301.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1375, allocations: 21.94 kB / 301.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.1376, allocations: 54.19 kB / 301.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.1376, allocations: 19.84 kB / 301.7 MB, free: 14.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.083e-05/0.1377, allocations: 81.3 kB / 301.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1377, allocations: 0 / 301.8 MB, free: 14.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000524/0.1382, allocations: 216.3 kB / 302 MB, free: 14 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.0001812/0.1384, allocations: 145 kB / 302.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000575/0.139, allocations: 0.6101 MB / 302.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.139, allocations: 10.34 kB / 302.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.1393, allocations: 441 kB / 303.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.1395, allocations: 46.11 kB / 303.2 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1408, allocations: 0.9677 MB / 304.2 MB, free: 12.94 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.1409, allocations: 138.5 kB / 304.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.1411, allocations: 83.23 kB / 304.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.1412, allocations: 112.9 kB / 304.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1412, allocations: 1.219 kB / 304.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of Templates: time 0.008909/0.1501, allocations: 6.761 MB / 311.3 MB, free: 10.89 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.796711395960301]