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.001553/0.001553, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001837/0.001837, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.521/1.521, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.23/0.23, allocations: 46.97 MB / 361.6 MB, free: 4.027 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.002701/0.002701, allocations: 71.91 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3523, allocations: 66.03 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004351/0.3567, allocations: 2.8 MB / 0.5646 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3582, allocations: 0.7427 MB / 0.5653 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001634/0.3584, allocations: 7.938 kB / 0.5653 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001855/0.3586, allocations: 63.38 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.3588, allocations: 99.11 kB / 0.5654 GB, free: 452 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003039/0.3591, allocations: 119.8 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.3596, allocations: 470.7 kB / 0.566 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.3599, allocations: 120.4 kB / 0.5661 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.3601, allocations: 191.3 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.3604, allocations: 207.1 kB / 0.5665 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.3604, allocations: 40 kB / 0.5665 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.3605, allocations: 44 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.3606, allocations: 91.67 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.3608, allocations: 171.2 kB / 0.5668 GB, free: 15 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004994/0.3613, allocations: 481.7 kB / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3613, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.3613, allocations: 0 / 0.5673 GB, free: 14.53 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3613, allocations: 0 / 0.5673 GB, free: 14.53 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.001479/0.3628, allocations: 0.6379 MB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.3628, allocations: 12.03 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/0.3632, allocations: 64.58 kB / 0.568 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.3638, allocations: 234 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.3638, allocations: 29.38 kB / 0.5682 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.3639, allocations: 36.38 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007241/0.3646, allocations: 346.7 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/0.3646, allocations: 8 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.3647, allocations: 12 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.3647, allocations: 16 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.3653, allocations: 299.8 kB / 0.5689 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.3677, allocations: 1.147 MB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00051/0.3682, allocations: 245.4 kB / 0.5703 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.3685, allocations: 141.4 kB / 0.5704 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.3685, allocations: 8.219 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.3686, allocations: 38.84 kB / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.3686, allocations: 0 / 0.5705 GB, free: 11.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008694/0.3694, allocations: 367.6 kB / 0.5708 GB, free: 10.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.3695, allocations: 59.34 kB / 0.5709 GB, free: 10.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.3697, allocations: 232.8 kB / 0.5711 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.3698, allocations: 33.7 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3699, allocations: 212.6 kB / 0.5713 GB, free: 10.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.37, allocations: 134.8 kB / 0.5714 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3701, allocations: 70.12 kB / 0.5715 GB, free: 9.996 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3703, allocations: 338.8 kB / 0.5718 GB, free: 9.656 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.3705, allocations: 100.8 kB / 0.5719 GB, free: 9.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.3708, allocations: 171.5 kB / 0.5721 GB, free: 9.367 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005689/0.3714, allocations: 288.7 kB / 0.5724 GB, free: 9.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3714, allocations: 0 / 0.5724 GB, free: 9.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006847/0.3721, allocations: 374.5 kB / 0.5727 GB, free: 8.691 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3721, allocations: 4 kB / 0.5727 GB, free: 8.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.3721, allocations: 4 kB / 0.5727 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3721, allocations: 4 kB / 0.5727 GB, free: 8.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.3726, allocations: 103.8 kB / 0.5728 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3727, allocations: 4 kB / 0.5728 GB, free: 8.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.3729, allocations: 35.73 kB / 0.5729 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.373, allocations: 19.98 kB / 0.5729 GB, free: 8.52 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.0001721/0.3731, allocations: 153.7 kB / 0.573 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.3732, allocations: 31.8 kB / 0.5731 GB, free: 8.328 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006895/0.3739, allocations: 325.1 kB / 0.5734 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3739, allocations: 3.984 kB / 0.5734 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3739, allocations: 0 / 0.5734 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.374, allocations: 51.7 kB / 0.5734 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.3741, allocations: 4 kB / 0.5734 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.3743, allocations: 12 kB / 0.5735 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.3744, allocations: 27.95 kB / 0.5735 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009366/0.3753, allocations: 404.6 kB / 0.5739 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009258/0.3762, allocations: 0.5763 MB / 0.5744 GB, free: 6.914 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002306/0.3765, allocations: 108.4 kB / 0.5745 GB, free: 6.809 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.3766, allocations: 168.5 kB / 0.5747 GB, free: 6.645 MB / 414.1 MB Notification: Performance of Backend: time 4.71e-07/0.3766, allocations: 4 kB / 0.5747 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007187/0.3773, allocations: 246.1 kB / 0.5749 GB, free: 6.395 MB / 414.1 MB Notification: Performance of SimCode: time 0.001417/0.3788, allocations: 1.123 MB / 0.576 GB, free: 5.223 MB / 414.1 MB Notification: Performance of Templates: time 0.008663/0.3874, allocations: 4.302 MB / 0.5802 GB, free: 0.9766 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: 5.237579503998859]