Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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.001375/0.001375, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00159/0.00159, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.503/1.503, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2588/0.2588, allocations: 46.97 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 71.88 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3482, allocations: 66.03 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004536/0.3528, allocations: 2.805 MB / 0.5645 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3543, allocations: 0.7427 MB / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.3544, allocations: 8 kB / 0.5653 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.3546, allocations: 63.38 kB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.3549, allocations: 103 kB / 0.5654 GB, free: 476 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.3552, allocations: 115.8 kB / 0.5655 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005462/0.3557, allocations: 474.6 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.356, allocations: 104.4 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.3563, allocations: 199.3 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.3566, allocations: 179.1 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.3566, allocations: 36 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.3567, allocations: 48 kB / 0.5665 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.251e-05/0.3568, allocations: 87.67 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.357, allocations: 175.2 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005506/0.3575, allocations: 473.7 kB / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3575, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3575, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.3576, allocations: 0 / 0.5672 GB, free: 14.6 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001417/0.359, allocations: 0.6457 MB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.359, allocations: 12.03 kB / 0.5679 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.3593, allocations: 52.66 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.3597, allocations: 242 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.3598, allocations: 29.38 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.926e-05/0.3598, allocations: 40.38 kB / 0.5682 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.3605, allocations: 350.7 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.3605, allocations: 3.984 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.3606, allocations: 16 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.3606, allocations: 8 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.3612, allocations: 299.8 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.3634, allocations: 1.143 MB / 0.57 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005296/0.364, allocations: 249.5 kB / 0.5702 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.3643, allocations: 141.3 kB / 0.5704 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.3643, allocations: 8.219 kB / 0.5704 GB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.3643, allocations: 30.84 kB / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.395e-06/0.3643, allocations: 0 / 0.5704 GB, free: 11.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008843/0.3652, allocations: 379.5 kB / 0.5708 GB, free: 10.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3653, allocations: 55.34 kB / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.3655, allocations: 236.8 kB / 0.571 GB, free: 10.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.3656, allocations: 29.7 kB / 0.5711 GB, free: 10.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.3657, allocations: 212.6 kB / 0.5713 GB, free: 10.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3659, allocations: 126.9 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.366, allocations: 70.12 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3662, allocations: 338.8 kB / 0.5718 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/0.3664, allocations: 104.8 kB / 0.5719 GB, free: 9.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003105/0.3667, allocations: 175.5 kB / 0.5721 GB, free: 9.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.3673, allocations: 280.7 kB / 0.5723 GB, free: 9.137 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3673, allocations: 4 kB / 0.5723 GB, free: 9.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000714/0.368, allocations: 378.3 kB / 0.5727 GB, free: 8.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.368, allocations: 8 kB / 0.5727 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.368, allocations: 0 / 0.5727 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.368, allocations: 4 kB / 0.5727 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.3685, allocations: 99.88 kB / 0.5728 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3686, allocations: 8.203 kB / 0.5728 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/0.3688, allocations: 47.67 kB / 0.5728 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.3688, allocations: 11.98 kB / 0.5729 GB, free: 8.582 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.369, allocations: 157.7 kB / 0.573 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.3691, allocations: 31.78 kB / 0.573 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006844/0.3698, allocations: 317.2 kB / 0.5733 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.3698, allocations: 4 kB / 0.5733 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3698, allocations: 0 / 0.5733 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.3698, allocations: 7.984 kB / 0.5734 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.3702, allocations: 281 kB / 0.5736 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3702, allocations: 3.984 kB / 0.5736 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004057/0.3706, allocations: 79.89 kB / 0.5737 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.3706, allocations: 3.938 kB / 0.5737 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.3706, allocations: 7.984 kB / 0.5737 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.3707, allocations: 4 kB / 0.5737 GB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3707, allocations: 3.938 kB / 0.5737 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.3716, allocations: 0.5147 MB / 0.5742 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.3717, allocations: 47.73 kB / 0.5743 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.3717, allocations: 7.953 kB / 0.5743 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.372, allocations: 15.98 kB / 0.5743 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/0.372, allocations: 19.97 kB / 0.5743 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.372, allocations: 11.92 kB / 0.5743 GB, free: 7.023 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.3722, allocations: 168.5 kB / 0.5745 GB, free: 6.859 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3722, allocations: 0 / 0.5745 GB, free: 6.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003608/0.3726, allocations: 95.78 kB / 0.5746 GB, free: 6.766 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.3727, allocations: 107.2 kB / 0.5747 GB, free: 6.652 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005765/0.3733, allocations: 255.6 kB / 0.5749 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3733, allocations: 0 / 0.5749 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002571/0.3735, allocations: 123.8 kB / 0.575 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.3739, allocations: 36.8 kB / 0.5751 GB, free: 6.242 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3753, allocations: 0.7899 MB / 0.5758 GB, free: 5.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.3755, allocations: 185.5 kB / 0.576 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3756, allocations: 31.36 kB / 0.5761 GB, free: 5.188 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3756, allocations: 0 / 0.5761 GB, free: 5.188 MB / 414.1 MB Notification: Performance of Templates: time 0.006446/0.3821, allocations: 3.97 MB / 0.5799 GB, free: 1.238 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.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: 7.703252788167447]