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.001728/0.001728, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 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.002411/0.002411, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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.557/1.557, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 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 0.001625/0.001625, allocations: 47.92 kB / 373.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1139, allocations: 53.34 MB / 426.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.1845/0.2984, allocations: 4.358 MB / 431.2 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002629/0.3011, allocations: 1.73 MB / 432.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.3012, allocations: 11.88 kB / 432.9 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.3032, allocations: 1.026 MB / 433.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.3037, allocations: 256.8 kB / 434.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.3049, allocations: 0.7726 MB / 435 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.3055, allocations: 0.6393 MB / 435.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006046/0.3061, allocations: 398.9 kB / 436 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003497/0.3065, allocations: 279.3 kB / 436.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003552/0.3068, allocations: 355.8 kB / 436.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-05/0.3069, allocations: 56.59 kB / 436.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000576/0.3075, allocations: 296.2 kB / 437 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.644e-05/0.3076, allocations: 136.6 kB / 437.1 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002449/0.3078, allocations: 329.2 kB / 437.4 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.3089, allocations: 0.9778 MB / 438.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3089, allocations: 0 / 438.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3089, allocations: 3.938 kB / 438.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3089, allocations: 0 / 438.4 MB, free: 6.809 MB / 350.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.003643/0.3126, allocations: 1.292 MB / 439.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.3126, allocations: 8.938 kB / 439.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.314, allocations: 198.5 kB / 439.9 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.3142, allocations: 246.2 kB / 440.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.3142, allocations: 53.78 kB / 440.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.3143, allocations: 79.16 kB / 440.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.3156, allocations: 0.7715 MB / 441 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.3156, allocations: 1.031 kB / 441 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.3157, allocations: 30.66 kB / 441.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3157, allocations: 18.28 kB / 441.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.317, allocations: 0.6671 MB / 441.7 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00378/0.3208, allocations: 3.266 MB / 445 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.3227, allocations: 2.012 MB / 447 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.3233, allocations: 296 kB / 447.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.3235, allocations: 189.2 kB / 447.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3235, allocations: 42.62 kB / 447.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/0.3235, allocations: 0 / 447.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.00256/0.3261, allocations: 1.133 MB / 448.7 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.892e-05/0.3261, allocations: 114.3 kB / 448.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.3265, allocations: 280.2 kB / 449.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.3265, allocations: 36.42 kB / 449.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.3268, allocations: 301.5 kB / 449.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.327, allocations: 262.1 kB / 449.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.3272, allocations: 141.3 kB / 449.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001984/0.3274, allocations: 352.7 kB / 450.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.328, allocations: 228.7 kB / 450.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006996/0.3287, allocations: 386.6 kB / 450.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.3299, allocations: 0.6401 MB / 451.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3299, allocations: 1.219 kB / 451.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001731/0.3316, allocations: 0.8314 MB / 452.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3316, allocations: 6.719 kB / 452.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3316, allocations: 4.281 kB / 452.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.3321, allocations: 127.9 kB / 452.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007616/0.3328, allocations: 154.8 kB / 452.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003859/0.3367, allocations: 3.801 MB / 456.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.3373, allocations: 85.38 kB / 456.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.604e-05/0.3373, allocations: 36.75 kB / 456.4 MB, free: 10.11 MB / 366.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.0002955/0.3376, allocations: 200 kB / 456.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.3377, allocations: 43.86 kB / 456.6 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.3394, allocations: 0.7376 MB / 457.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.3394, allocations: 7.812 kB / 457.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3394, allocations: 3.844 kB / 457.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.3394, allocations: 3.469 kB / 457.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/0.3422, allocations: 1.491 MB / 458.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3422, allocations: 0.9375 kB / 458.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.3427, allocations: 110.1 kB / 459 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003182/0.3431, allocations: 113.1 kB / 459.1 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.3431, allocations: 16.12 kB / 459.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003194/0.3463, allocations: 3.352 MB / 462.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.3463, allocations: 5.453 kB / 462.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.3484, allocations: 1.13 MB / 463.6 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.3485, allocations: 130.9 kB / 463.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-05/0.3486, allocations: 12.16 kB / 463.7 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.349, allocations: 31.11 kB / 463.8 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3491, allocations: 47.55 kB / 463.8 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.385e-05/0.3492, allocations: 24.77 kB / 463.8 MB, free: 4.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.3494, allocations: 190.6 kB / 464 MB, free: 4.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3494, allocations: 1.094 kB / 464 MB, free: 4.723 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00086/0.3502, allocations: 218.3 kB / 464.2 MB, free: 4.668 MB / 366.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.0002708/0.3505, allocations: 151.5 kB / 464.4 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.3522, allocations: 0.8469 MB / 465.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3522, allocations: 0 / 465.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008617/0.353, allocations: 0.5444 MB / 465.8 MB, free: 3.766 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.3535, allocations: 39.86 kB / 465.8 MB, free: 3.738 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.3556, allocations: 1.092 MB / 466.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.3561, allocations: 0.8676 MB / 467.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.3564, allocations: 75.36 kB / 467.9 MB, free: 2.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.3566, allocations: 50.7 kB / 467.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3566, allocations: 0 / 467.9 MB, free: 2.293 MB / 366.1 MB Notification: Performance of Templates: time 0.01294/0.3695, allocations: 6.433 MB / 474.3 MB, free: 15.13 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480] 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.903381086885929]