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.001698/0.001698, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002236/0.002236, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2196/0.2196, allocations: 46.94 MB / 361.6 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] 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.002024/0.002024, allocations: 64.09 kB / 0.4974 GB, free: 7.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3218, allocations: 66.03 MB / 0.5619 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.00457/0.3263, allocations: 3.034 MB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.3279, allocations: 0.801 MB / 0.5656 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001838/0.3281, allocations: 7.938 kB / 0.5656 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.3283, allocations: 55.39 kB / 0.5657 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000227/0.3285, allocations: 111 kB / 0.5658 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.3289, allocations: 111.8 kB / 0.5659 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.3294, allocations: 470.7 kB / 0.5663 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.3297, allocations: 120.3 kB / 0.5665 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003183/0.33, allocations: 191.3 kB / 0.5666 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002908/0.3303, allocations: 207.1 kB / 0.5668 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.994e-05/0.3303, allocations: 44 kB / 0.5669 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.3304, allocations: 44 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.924e-05/0.3305, allocations: 87.67 kB / 0.567 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.3307, allocations: 206.9 kB / 0.5672 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.3312, allocations: 473.7 kB / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3312, allocations: 0 / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3312, allocations: 0 / 0.5677 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3313, allocations: 0 / 0.5677 GB, free: 14.45 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.001437/0.3327, allocations: 0.6379 MB / 0.5683 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3327, allocations: 8.031 kB / 0.5683 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.333, allocations: 60.64 kB / 0.5683 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.3335, allocations: 234 kB / 0.5686 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.3335, allocations: 29.38 kB / 0.5686 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.3336, allocations: 40.38 kB / 0.5686 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006476/0.3342, allocations: 350.7 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.3342, allocations: 4 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.3343, allocations: 12 kB / 0.569 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.3343, allocations: 12 kB / 0.569 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.3349, allocations: 299.8 kB / 0.5693 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.3372, allocations: 1.291 MB / 0.5705 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005268/0.3378, allocations: 256.9 kB / 0.5708 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.3381, allocations: 141.3 kB / 0.5709 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.3381, allocations: 4.266 kB / 0.5709 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.3381, allocations: 42.83 kB / 0.571 GB, free: 10.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.3381, allocations: 4 kB / 0.571 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008519/0.339, allocations: 371.5 kB / 0.5713 GB, free: 10.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.339, allocations: 59.34 kB / 0.5714 GB, free: 10.44 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.3394, allocations: 269.8 kB / 0.5716 GB, free: 10.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.3394, allocations: 29.7 kB / 0.5717 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.3396, allocations: 212.3 kB / 0.5719 GB, free: 9.922 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3397, allocations: 119 kB / 0.572 GB, free: 9.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.3399, allocations: 74.08 kB / 0.5721 GB, free: 9.727 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.34, allocations: 338.8 kB / 0.5724 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.3403, allocations: 104.8 kB / 0.5725 GB, free: 9.285 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.3406, allocations: 175.5 kB / 0.5726 GB, free: 9.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.3411, allocations: 292.7 kB / 0.5729 GB, free: 8.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3411, allocations: 0 / 0.5729 GB, free: 8.781 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007729/0.3419, allocations: 370.3 kB / 0.5733 GB, free: 8.414 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3419, allocations: 8.156 kB / 0.5733 GB, free: 8.406 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3419, allocations: 8 kB / 0.5733 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.3419, allocations: 4 kB / 0.5733 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/0.3424, allocations: 95.88 kB / 0.5734 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.3424, allocations: 7.984 kB / 0.5734 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/0.3427, allocations: 47.67 kB / 0.5734 GB, free: 8.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3428, allocations: 15.98 kB / 0.5735 GB, free: 8.23 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.0002416/0.343, allocations: 153.7 kB / 0.5736 GB, free: 8.07 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.002e-05/0.3431, allocations: 31.81 kB / 0.5736 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000727/0.3438, allocations: 321.2 kB / 0.5739 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3438, allocations: 4 kB / 0.5739 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3438, allocations: 0 / 0.5739 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3438, allocations: 3.984 kB / 0.5739 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.3444, allocations: 380.2 kB / 0.5743 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.3444, allocations: 0 / 0.5743 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/0.3448, allocations: 87.88 kB / 0.5744 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3448, allocations: 4 kB / 0.5744 GB, free: 7.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.119e-05/0.3448, allocations: 4 kB / 0.5744 GB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.671e-06/0.3448, allocations: 4 kB / 0.5744 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3448, allocations: 0 / 0.5744 GB, free: 7.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3458, allocations: 0.5146 MB / 0.5749 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.346, allocations: 55.81 kB / 0.575 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.989e-05/0.3461, allocations: 11.98 kB / 0.575 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.3463, allocations: 8 kB / 0.575 GB, free: 6.594 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.3464, allocations: 23.95 kB / 0.575 GB, free: 6.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3464, allocations: 4 kB / 0.575 GB, free: 6.566 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.3466, allocations: 193.2 kB / 0.5752 GB, free: 6.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3466, allocations: 0 / 0.5752 GB, free: 6.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003774/0.347, allocations: 95.78 kB / 0.5753 GB, free: 6.281 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.0001422/0.3471, allocations: 107.2 kB / 0.5754 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.3477, allocations: 255.6 kB / 0.5756 GB, free: 5.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3477, allocations: 3.938 kB / 0.5756 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.348, allocations: 123.8 kB / 0.5757 GB, free: 5.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3483, allocations: 36.86 kB / 0.5758 GB, free: 5.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.35, allocations: 0.7938 MB / 0.5766 GB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/0.3504, allocations: 0.7837 MB / 0.5773 GB, free: 4.121 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.3506, allocations: 31.42 kB / 0.5774 GB, free: 4.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3506, allocations: 0 / 0.5774 GB, free: 4.09 MB / 414.1 MB Notification: Performance of Templates: time 0.007261/0.3578, allocations: 3.936 MB / 0.5812 GB, free: 172 kB / 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.369276066077873]