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.001884/0.001884, allocations: 92.47 kB / 20.95 MB, free: 476 kB / 14.72 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.002173/0.002173, allocations: 146.4 kB / 24.24 MB, free: 3.52 MB / 14.72 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 1.411/1.411, allocations: 173.3 MB / 200.8 MB, free: 12.75 MB / 190.1 MB " [Timeout remaining time 178] 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.683e-06/1.683e-06, allocations: 0 / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.966e-05, allocations: 5.125 kB / 267.3 MB, free: 10.21 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005752/0.005781, allocations: 3.93 MB / 271.2 MB, free: 6.254 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002903/0.008685, allocations: 1.549 MB / 272.8 MB, free: 4.695 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002134/0.008898, allocations: 12 kB / 272.8 MB, free: 4.684 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.01135, allocations: 0.9951 MB / 273.8 MB, free: 3.684 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006485/0.01199, allocations: 266 kB / 274.1 MB, free: 3.422 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.01379, allocations: 0.7587 MB / 274.8 MB, free: 2.66 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007415/0.01454, allocations: 0.6608 MB / 275.5 MB, free: 1.996 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007565/0.01529, allocations: 465.3 kB / 275.9 MB, free: 1.535 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.01582, allocations: 403.1 kB / 276.3 MB, free: 1.141 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00043/0.01625, allocations: 275.2 kB / 276.6 MB, free: 0.8711 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 8.958e-05/0.01634, allocations: 59.94 kB / 276.6 MB, free: 0.8125 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005375/0.01688, allocations: 255.7 kB / 276.9 MB, free: 0.5625 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.017, allocations: 139.4 kB / 277 MB, free: 436 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.01726, allocations: 223.4 kB / 277.3 MB, free: 212 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.01858, allocations: 1.001 MB / 278.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01858, allocations: 0 / 278.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01859, allocations: 0 / 278.3 MB, free: 15.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.198e-06/0.01859, allocations: 0 / 278.3 MB, free: 15.2 MB / 270.1 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.003762/0.02236, allocations: 1.192 MB / 279.4 MB, free: 13.98 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.02239, allocations: 8.922 kB / 279.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.02404, allocations: 347.9 kB / 279.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.02424, allocations: 187.8 kB / 280 MB, free: 13.43 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.219e-05/0.0243, allocations: 54.38 kB / 280 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.02442, allocations: 76.33 kB / 280.1 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.02591, allocations: 0.7916 MB / 280.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.02594, allocations: 12.19 kB / 280.9 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.02601, allocations: 24.38 kB / 280.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.02603, allocations: 23.94 kB / 281 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.02743, allocations: 0.666 MB / 281.6 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.03159, allocations: 2.208 MB / 283.8 MB, free: 9.453 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/0.03357, allocations: 0.8247 MB / 284.7 MB, free: 8.625 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/0.03429, allocations: 296.8 kB / 284.9 MB, free: 8.332 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.762e-05/0.03439, allocations: 24.64 kB / 285 MB, free: 8.309 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.03443, allocations: 39.22 kB / 285 MB, free: 8.262 MB / 270.1 MB Notification: Performance of pre-optimization done (n=72): time 3.497e-06/0.03444, allocations: 0 / 285 MB, free: 8.262 MB / 270.1 MB Notification: Performance of matching and sorting (n=72): time 0.002856/0.03729, allocations: 1.011 MB / 286 MB, free: 7.238 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.615e-05/0.03739, allocations: 111.5 kB / 286.1 MB, free: 7.105 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.0378, allocations: 257.5 kB / 286.4 MB, free: 6.844 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.03785, allocations: 41.7 kB / 286.4 MB, free: 6.797 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000474/0.03832, allocations: 308.3 kB / 286.7 MB, free: 6.488 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002394/0.03856, allocations: 253.8 kB / 287 MB, free: 6.238 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.03879, allocations: 134.6 kB / 287.1 MB, free: 6.098 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002051/0.03899, allocations: 350.8 kB / 287.4 MB, free: 5.746 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.03954, allocations: 229.9 kB / 287.7 MB, free: 5.523 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.04026, allocations: 411.9 kB / 288.1 MB, free: 5.059 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.04161, allocations: 0.6376 MB / 288.7 MB, free: 4.367 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.04162, allocations: 4 kB / 288.7 MB, free: 4.363 MB / 270.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00183/0.04345, allocations: 0.8542 MB / 289.6 MB, free: 3.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.04347, allocations: 8 kB / 289.6 MB, free: 3.492 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.04349, allocations: 7.938 kB / 289.6 MB, free: 3.484 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.04392, allocations: 129.7 kB / 289.7 MB, free: 3.352 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.04459, allocations: 159.8 kB / 289.9 MB, free: 3.195 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003975/0.04856, allocations: 3.529 MB / 293.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.04914, allocations: 83.48 kB / 293.5 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.525e-05/0.0492, allocations: 28 kB / 293.5 MB, free: 15.36 MB / 286.1 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.0003203/0.04952, allocations: 209.7 kB / 293.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.04972, allocations: 71.66 kB / 293.8 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.05144, allocations: 0.7375 MB / 294.5 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.05144, allocations: 8 kB / 294.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.05145, allocations: 224 / 294.5 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.05146, allocations: 11.98 kB / 294.5 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/0.05418, allocations: 1.286 MB / 295.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.05419, allocations: 3.938 kB / 295.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.05471, allocations: 111.9 kB / 295.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003156/0.05503, allocations: 113.6 kB / 296 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.05507, allocations: 15.98 kB / 296.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.05857, allocations: 3.085 MB / 299.1 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.05857, allocations: 3.984 kB / 299.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.06084, allocations: 1.137 MB / 300.3 MB, free: 8.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.06093, allocations: 47.59 kB / 300.3 MB, free: 8.223 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.06099, allocations: 16 kB / 300.3 MB, free: 8.207 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004059/0.06139, allocations: 36.03 kB / 300.4 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.06153, allocations: 52.56 kB / 300.4 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.556e-05/0.06157, allocations: 23.98 kB / 300.5 MB, free: 8.094 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000202/0.06177, allocations: 185.2 kB / 300.6 MB, free: 7.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.06177, allocations: 0 / 300.6 MB, free: 7.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008366/0.06261, allocations: 215.6 kB / 300.8 MB, free: 7.699 MB / 286.1 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.0002822/0.06289, allocations: 151.1 kB / 301 MB, free: 7.543 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.06548, allocations: 0.8567 MB / 301.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.06548, allocations: 0 / 301.8 MB, free: 6.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.06677, allocations: 0.5241 MB / 302.4 MB, free: 6.113 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007579/0.06753, allocations: 40.44 kB / 302.4 MB, free: 6.074 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.07086, allocations: 1.093 MB / 303.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.07128, allocations: 261.5 kB / 303.8 MB, free: 4.66 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0005966/0.07187, allocations: 80.33 kB / 303.8 MB, free: 4.578 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.07208, allocations: 44.48 kB / 303.9 MB, free: 4.535 MB / 286.1 MB Notification: Performance of SimCode: time 1.142e-06/0.07209, allocations: 7.938 kB / 303.9 MB, free: 4.527 MB / 286.1 MB Notification: Performance of Templates: time 0.1061/0.1782, allocations: 6.014 MB / 309.9 MB, free: 48.64 MB / 286.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.452722400426865]