Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001795/0.001795, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.001815/0.001815, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.541/1.541, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.224/0.224, allocations: 44.91 MB / 359.6 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 70.39 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3111, allocations: 65.46 MB / 0.5582 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004583/0.3156, allocations: 3.042 MB / 0.5612 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3171, allocations: 0.798 MB / 0.562 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.3172, allocations: 11.94 kB / 0.562 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.3174, allocations: 59.38 kB / 0.5621 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.3176, allocations: 99.06 kB / 0.5622 GB, free: 3.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.3179, allocations: 115.8 kB / 0.5623 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005266/0.3184, allocations: 466.6 kB / 0.5627 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002412/0.3187, allocations: 116.4 kB / 0.5628 GB, free: 3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.319, allocations: 199.3 kB / 0.563 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.3193, allocations: 207.1 kB / 0.5632 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.3194, allocations: 40 kB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.3195, allocations: 40 kB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.3195, allocations: 91.67 kB / 0.5634 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.3197, allocations: 203 kB / 0.5636 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.3203, allocations: 472.7 kB / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3203, allocations: 0 / 0.564 GB, free: 1.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3203, allocations: 4 kB / 0.564 GB, free: 1.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.3203, allocations: 4 kB / 0.564 GB, free: 1.766 MB / 398.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.001454/0.3218, allocations: 0.634 MB / 0.5646 GB, free: 1.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3218, allocations: 15.98 kB / 0.5647 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.3221, allocations: 56.64 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004335/0.3225, allocations: 242 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3225, allocations: 29.38 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.455e-05/0.3226, allocations: 36.38 kB / 0.565 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.3233, allocations: 346.8 kB / 0.5653 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3233, allocations: 3.938 kB / 0.5653 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.3233, allocations: 16 kB / 0.5654 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3233, allocations: 8 kB / 0.5654 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006449/0.324, allocations: 307.8 kB / 0.5657 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.3263, allocations: 1.287 MB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000534/0.3269, allocations: 267.4 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3272, allocations: 141.4 kB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.3272, allocations: 4.281 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.3272, allocations: 38.84 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.3272, allocations: 0 / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008734/0.3281, allocations: 371.5 kB / 0.5677 GB, free: 13.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.3282, allocations: 59.34 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.3285, allocations: 265.8 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.3285, allocations: 37.64 kB / 0.568 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3286, allocations: 208.3 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.3288, allocations: 123 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.3289, allocations: 74.08 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.329, allocations: 338.8 kB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/0.3293, allocations: 100.8 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.3296, allocations: 175.5 kB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/0.3302, allocations: 288.7 kB / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3302, allocations: 0 / 0.5693 GB, free: 12.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007079/0.3309, allocations: 374.3 kB / 0.5697 GB, free: 11.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3309, allocations: 8 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3309, allocations: 0 / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3309, allocations: 7.938 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.3314, allocations: 99.88 kB / 0.5698 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.3314, allocations: 7.984 kB / 0.5698 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.3317, allocations: 43.89 kB / 0.5698 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.3317, allocations: 23.98 kB / 0.5698 GB, free: 11.54 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.0001732/0.3319, allocations: 153.6 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.332, allocations: 31.81 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006993/0.3327, allocations: 317.2 kB / 0.5703 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3327, allocations: 4 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3327, allocations: 0 / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3327, allocations: 7.984 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/0.3332, allocations: 380.2 kB / 0.5707 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3332, allocations: 0 / 0.5707 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004342/0.3336, allocations: 83.88 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.3336, allocations: 4 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3337, allocations: 4 kB / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3337, allocations: 0 / 0.5708 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3337, allocations: 7.984 kB / 0.5708 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009214/0.3346, allocations: 0.5185 MB / 0.5713 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.3347, allocations: 55.73 kB / 0.5713 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.3348, allocations: 8 kB / 0.5713 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.335, allocations: 12 kB / 0.5714 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.335, allocations: 19.95 kB / 0.5714 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.3351, allocations: 8 kB / 0.5714 GB, free: 9.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.3353, allocations: 189.3 kB / 0.5716 GB, free: 9.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3353, allocations: 4 kB / 0.5716 GB, free: 9.676 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003722/0.3356, allocations: 95.84 kB / 0.5717 GB, free: 9.582 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.0001216/0.3358, allocations: 103.2 kB / 0.5718 GB, free: 9.473 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000591/0.3363, allocations: 259.6 kB / 0.572 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3363, allocations: 448 / 0.572 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002544/0.3366, allocations: 131.8 kB / 0.5721 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.337, allocations: 36.42 kB / 0.5722 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.3385, allocations: 0.7821 MB / 0.5729 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.3389, allocations: 0.7837 MB / 0.5737 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.339, allocations: 31.42 kB / 0.5737 GB, free: 7.398 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.339, allocations: 0 / 0.5737 GB, free: 7.398 MB / 414.1 MB Notification: Performance of Templates: time 0.006897/0.3459, allocations: 3.939 MB / 0.5776 GB, free: 3.477 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.5556611251086]