Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 142 kB / 24.89 MB, free: 8.785 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8833/0.8833, allocations: 173.4 MB / 201.5 MB, free: 9.191 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 268.5 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.921e-05, allocations: 2.312 kB / 268.5 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004762/0.004781, allocations: 4.203 MB / 272.7 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.00782, allocations: 1.669 MB / 274.3 MB, free: 288 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.008067, allocations: 12 kB / 274.4 MB, free: 276 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001719/0.009787, allocations: 1.073 MB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006044/0.01039, allocations: 265.9 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.01165, allocations: 0.7743 MB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000605/0.01225, allocations: 0.6724 MB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006629/0.01291, allocations: 499.3 kB / 277.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/0.0134, allocations: 407.1 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.01377, allocations: 275.2 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.44e-05/0.01384, allocations: 56 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004765/0.01432, allocations: 267.5 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.416e-05/0.01441, allocations: 139.4 kB / 278.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.0146, allocations: 227.4 kB / 279 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.01535, allocations: 0.6928 MB / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01535, allocations: 0 / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01535, allocations: 0 / 279.7 MB, free: 10.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.01536, allocations: 0 / 279.7 MB, free: 10.93 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.002404/0.01776, allocations: 1.214 MB / 280.9 MB, free: 9.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.0178, allocations: 12.92 kB / 280.9 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.01902, allocations: 368.2 kB / 281.2 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.01917, allocations: 184.9 kB / 281.4 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.01922, allocations: 54.38 kB / 281.5 MB, free: 9.062 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.01932, allocations: 80.31 kB / 281.6 MB, free: 8.984 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.02003, allocations: 0.5773 MB / 282.1 MB, free: 8.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.02005, allocations: 4.172 kB / 282.1 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.0201, allocations: 28.38 kB / 282.2 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.02012, allocations: 23.94 kB / 282.2 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.02051, allocations: 221 kB / 282.4 MB, free: 8.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.02297, allocations: 1.782 MB / 284.2 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007848/0.02376, allocations: 0.6155 MB / 284.8 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.02393, allocations: 152.4 kB / 285 MB, free: 5.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.024, allocations: 24.64 kB / 285 MB, free: 5.434 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.02403, allocations: 51.14 kB / 285 MB, free: 5.375 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 3.196e-06/0.02403, allocations: 0 / 285 MB, free: 5.375 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.0008409/0.02487, allocations: 0.5461 MB / 285.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.02492, allocations: 115.4 kB / 285.7 MB, free: 4.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.02506, allocations: 244.8 kB / 285.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.02508, allocations: 37.7 kB / 286 MB, free: 4.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.02519, allocations: 304.3 kB / 286.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.02532, allocations: 253.7 kB / 286.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.02544, allocations: 138.5 kB / 286.6 MB, free: 3.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.02552, allocations: 350.7 kB / 287 MB, free: 3.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.617e-05/0.02562, allocations: 77.95 kB / 287.1 MB, free: 3.258 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.0258, allocations: 263 kB / 287.3 MB, free: 2.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.0261, allocations: 384.7 kB / 287.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.0261, allocations: 0 / 287.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.000471/0.02657, allocations: 464.9 kB / 288.1 MB, free: 2.051 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.02659, allocations: 8 kB / 288.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.0266, allocations: 4 kB / 288.2 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003413/0.02694, allocations: 153.6 kB / 288.3 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002964/0.02724, allocations: 151.7 kB / 288.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1132/0.1404, allocations: 3.002 MB / 291.5 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.1408, allocations: 79.7 kB / 291.5 MB, free: 22.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.1409, allocations: 23.72 kB / 291.6 MB, free: 22.95 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.0001502/0.141, allocations: 159.3 kB / 291.7 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.1411, allocations: 45.22 kB / 291.8 MB, free: 22.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/0.1416, allocations: 431.2 kB / 292.2 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1416, allocations: 9.328 kB / 292.2 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1416, allocations: 2.938 kB / 292.2 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1416, allocations: 3.562 kB / 292.2 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009843/0.1426, allocations: 0.7654 MB / 293 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1426, allocations: 0 / 293 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.1428, allocations: 101.9 kB / 293.1 MB, free: 22.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002959/0.1431, allocations: 135.5 kB / 293.2 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.1432, allocations: 15.45 kB / 293.2 MB, free: 22.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009614/0.1441, allocations: 2.648 MB / 295.9 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.1441, allocations: 1.125 kB / 295.9 MB, free: 20.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.1447, allocations: 0.6104 MB / 296.5 MB, free: 20.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.1447, allocations: 52.45 kB / 296.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.1448, allocations: 15.2 kB / 296.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.1449, allocations: 21.2 kB / 296.6 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.984e-05/0.145, allocations: 51.62 kB / 296.6 MB, free: 20.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.145, allocations: 14.52 kB / 296.6 MB, free: 20.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.1451, allocations: 86.03 kB / 296.7 MB, free: 20 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1451, allocations: 1.75 kB / 296.7 MB, free: 20 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005389/0.1457, allocations: 217.8 kB / 296.9 MB, free: 19.98 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.0001898/0.1458, allocations: 137.5 kB / 297 MB, free: 19.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005814/0.1464, allocations: 0.6104 MB / 297.7 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.1464, allocations: 3.719 kB / 297.7 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.1467, allocations: 445 kB / 298.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.1469, allocations: 45.95 kB / 298.1 MB, free: 19.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1483, allocations: 1.004 MB / 299.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.508e-05/0.1484, allocations: 134.7 kB / 299.3 MB, free: 18.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001928/0.1486, allocations: 79.81 kB / 299.4 MB, free: 18.85 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1487, allocations: 113.2 kB / 299.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1487, allocations: 1.625 kB / 299.5 MB, free: 18.8 MB / 266.7 MB Notification: Performance of Templates: time 0.009322/0.158, allocations: 6.625 MB / 306.1 MB, free: 17.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8140769312158227]