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.0009766/0.0009766, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001051/0.001051, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 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 1.004/1.004, allocations: 173.3 MB / 201.1 MB, free: 9.328 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 2.144e-06/2.144e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.78e-05/3.995e-05, allocations: 2.312 kB / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006432/0.006472, allocations: 4.316 MB / 272.3 MB, free: 2.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.009749, allocations: 1.607 MB / 273.9 MB, free: 476 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.01009, allocations: 12 kB / 273.9 MB, free: 464 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.01227, allocations: 1.081 MB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009144/0.01318, allocations: 265.9 kB / 275.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.01483, allocations: 0.7549 MB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008366/0.01566, allocations: 0.6646 MB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008232/0.01649, allocations: 477.3 kB / 277.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.01707, allocations: 407.1 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.01752, allocations: 279.2 kB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.192e-05/0.01761, allocations: 59.94 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006798/0.01829, allocations: 255.6 kB / 278.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.01842, allocations: 147.4 kB / 278.3 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002642/0.01869, allocations: 223.4 kB / 278.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.01975, allocations: 0.6889 MB / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.01976, allocations: 0 / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.01976, allocations: 0 / 279.2 MB, free: 11.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.01977, allocations: 0 / 279.2 MB, free: 11.17 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.003345/0.02312, allocations: 1.307 MB / 280.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/0.02318, allocations: 8.922 kB / 280.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.02489, allocations: 355.9 kB / 280.9 MB, free: 9.473 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.02514, allocations: 185.4 kB / 281 MB, free: 9.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.0252, allocations: 58.38 kB / 281.1 MB, free: 9.207 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.02534, allocations: 80.31 kB / 281.2 MB, free: 9.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.02655, allocations: 0.6327 MB / 281.8 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.263e-05/0.02658, allocations: 4.172 kB / 281.8 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.147e-05/0.02665, allocations: 32.38 kB / 281.8 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.02668, allocations: 19.94 kB / 281.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008585/0.02753, allocations: 351.5 kB / 282.2 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/0.03138, allocations: 2.202 MB / 284.4 MB, free: 5.762 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.03285, allocations: 0.716 MB / 285.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.03328, allocations: 201.4 kB / 285.3 MB, free: 4.832 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.844e-05/0.03337, allocations: 28.92 kB / 285.3 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.03342, allocations: 45.98 kB / 285.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 4.659e-06/0.03343, allocations: 8 kB / 285.4 MB, free: 4.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.001978/0.0354, allocations: 0.7232 MB / 286.1 MB, free: 4.004 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.03548, allocations: 123.4 kB / 286.2 MB, free: 3.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.03576, allocations: 304.3 kB / 286.5 MB, free: 3.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.0358, allocations: 41.7 kB / 286.6 MB, free: 3.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001969/0.036, allocations: 347.1 kB / 286.9 MB, free: 3.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.03619, allocations: 265.8 kB / 287.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.0364, allocations: 148.3 kB / 287.3 MB, free: 2.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.03658, allocations: 0.5196 MB / 287.8 MB, free: 2.203 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.03704, allocations: 125.9 kB / 288 MB, free: 2.078 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.03747, allocations: 351 kB / 288.3 MB, free: 1.652 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000764/0.03824, allocations: 493 kB / 288.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.03824, allocations: 4 kB / 288.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001181/0.03942, allocations: 0.6484 MB / 289.4 MB, free: 444 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.03945, allocations: 10.81 kB / 289.5 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.03946, allocations: 8.406 kB / 289.5 MB, free: 428 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007173/0.04018, allocations: 171.2 kB / 289.6 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.04073, allocations: 151.7 kB / 289.8 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1352/0.1759, allocations: 4.433 MB / 294.2 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004764/0.1764, allocations: 80.56 kB / 294.3 MB, free: 20 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.1765, allocations: 34.88 kB / 294.3 MB, free: 20 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.0002358/0.1767, allocations: 209.2 kB / 294.5 MB, free: 19.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.1768, allocations: 66.12 kB / 294.6 MB, free: 19.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008965/0.1777, allocations: 0.5509 MB / 295.1 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.1777, allocations: 7.375 kB / 295.2 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.1777, allocations: 3.562 kB / 295.2 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.1777, allocations: 4.203 kB / 295.2 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.1792, allocations: 1.151 MB / 296.3 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1792, allocations: 0 / 296.3 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002845/0.1795, allocations: 108.1 kB / 296.4 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004008/0.1799, allocations: 155 kB / 296.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.1799, allocations: 14.36 kB / 296.6 MB, free: 19.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.1814, allocations: 3.865 MB / 300.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1814, allocations: 0 / 300.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.1823, allocations: 0.885 MB / 301.3 MB, free: 15.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.1824, allocations: 49.69 kB / 301.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.1824, allocations: 18.7 kB / 301.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1826, allocations: 24.3 kB / 301.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.1827, allocations: 58.78 kB / 301.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1827, allocations: 21.34 kB / 301.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.1829, allocations: 204.3 kB / 301.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1829, allocations: 2.844 kB / 301.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006925/0.1835, allocations: 220.8 kB / 301.9 MB, free: 15.35 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.0002695/0.1838, allocations: 152.2 kB / 302.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009943/0.1848, allocations: 0.8035 MB / 302.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1848, allocations: 0 / 302.9 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.1852, allocations: 0.5808 MB / 303.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1856, allocations: 51.56 kB / 303.5 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.1876, allocations: 1.026 MB / 304.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.1877, allocations: 135.2 kB / 304.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002194/0.188, allocations: 80.22 kB / 304.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.1881, allocations: 45.72 kB / 304.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1881, allocations: 0 / 304.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of Templates: time 0.01072/0.1988, allocations: 6.106 MB / 310.9 MB, free: 12.72 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: 3.1302996054291725]