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.001291/0.001291, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001515/0.001515, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.228/0.228, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.003232/0.003232, allocations: 67.89 kB / 0.4973 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3666, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005064/0.3717, allocations: 2.789 MB / 0.5645 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.3734, allocations: 0.7592 MB / 0.5653 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.3736, allocations: 8 kB / 0.5653 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.3738, allocations: 51.39 kB / 0.5653 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.374, allocations: 107 kB / 0.5654 GB, free: 412 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.3744, allocations: 115.8 kB / 0.5655 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.3749, allocations: 470.7 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.3752, allocations: 112.4 kB / 0.5661 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002981/0.3755, allocations: 191.3 kB / 0.5663 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.3758, allocations: 211.1 kB / 0.5665 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.85e-05/0.3758, allocations: 40 kB / 0.5665 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.76e-05/0.3759, allocations: 44 kB / 0.5666 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.376, allocations: 83.73 kB / 0.5666 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.3762, allocations: 179.1 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006143/0.3768, allocations: 472.8 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3768, allocations: 0 / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3768, allocations: 4 kB / 0.5673 GB, free: 14.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3768, allocations: 0 / 0.5673 GB, free: 14.51 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.001536/0.3784, allocations: 0.6379 MB / 0.5679 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.3784, allocations: 12.03 kB / 0.5679 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.3787, allocations: 56.64 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.3792, allocations: 242 kB / 0.5682 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.977e-05/0.3793, allocations: 33.38 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/0.3793, allocations: 40.31 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/0.3801, allocations: 354.7 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.3801, allocations: 0 / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.3801, allocations: 16 kB / 0.5686 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.3801, allocations: 8 kB / 0.5686 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.3808, allocations: 307.8 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.383, allocations: 1.136 MB / 0.57 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.3835, allocations: 249.5 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.3838, allocations: 137.4 kB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.3839, allocations: 8.219 kB / 0.5704 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.3839, allocations: 34.84 kB / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.944e-06/0.3839, allocations: 0 / 0.5704 GB, free: 11.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008794/0.3848, allocations: 379.5 kB / 0.5708 GB, free: 10.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.3849, allocations: 59.34 kB / 0.5709 GB, free: 10.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.3851, allocations: 232.8 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3852, allocations: 29.7 kB / 0.5711 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.3853, allocations: 212.6 kB / 0.5713 GB, free: 10.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3854, allocations: 122.9 kB / 0.5714 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3856, allocations: 74.12 kB / 0.5715 GB, free: 9.973 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.3858, allocations: 334.8 kB / 0.5718 GB, free: 9.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.386, allocations: 108.8 kB / 0.5719 GB, free: 9.527 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.3863, allocations: 171.5 kB / 0.5721 GB, free: 9.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005758/0.3869, allocations: 284.7 kB / 0.5724 GB, free: 9.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3869, allocations: 4 kB / 0.5724 GB, free: 9.035 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006996/0.3876, allocations: 374.2 kB / 0.5727 GB, free: 8.664 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.3876, allocations: 8 kB / 0.5727 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3876, allocations: 0 / 0.5727 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3876, allocations: 4.219 kB / 0.5727 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.3882, allocations: 111.8 kB / 0.5728 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3882, allocations: 4 kB / 0.5728 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.3885, allocations: 43.72 kB / 0.5729 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.3885, allocations: 11.94 kB / 0.5729 GB, free: 8.484 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.0001897/0.3887, allocations: 153.7 kB / 0.573 GB, free: 8.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.3888, allocations: 27.8 kB / 0.5731 GB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/0.3895, allocations: 325.2 kB / 0.5734 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3895, allocations: 0 / 0.5734 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.3895, allocations: 7.984 kB / 0.5734 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3895, allocations: 0 / 0.5734 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.3899, allocations: 280.9 kB / 0.5736 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3899, allocations: 0 / 0.5736 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.3904, allocations: 83.88 kB / 0.5737 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.3904, allocations: 3.938 kB / 0.5737 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.3904, allocations: 15.94 kB / 0.5737 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3904, allocations: 0 / 0.5737 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3904, allocations: 4 kB / 0.5738 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009222/0.3913, allocations: 0.5147 MB / 0.5743 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.3914, allocations: 47.73 kB / 0.5743 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.3915, allocations: 8 kB / 0.5743 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3917, allocations: 11.98 kB / 0.5743 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.3918, allocations: 23.95 kB / 0.5743 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.3918, allocations: 8 kB / 0.5743 GB, free: 6.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.392, allocations: 164.5 kB / 0.5745 GB, free: 6.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.392, allocations: 12 kB / 0.5745 GB, free: 6.758 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003726/0.3924, allocations: 95.73 kB / 0.5746 GB, free: 6.664 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.0001445/0.3925, allocations: 107.2 kB / 0.5747 GB, free: 6.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005895/0.3931, allocations: 251.6 kB / 0.5749 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3931, allocations: 0 / 0.5749 GB, free: 6.305 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002479/0.3933, allocations: 128.2 kB / 0.5751 GB, free: 6.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3937, allocations: 35.03 kB / 0.5751 GB, free: 6.145 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.3952, allocations: 0.7609 MB / 0.5758 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.3954, allocations: 181.5 kB / 0.576 GB, free: 5.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.3956, allocations: 38.89 kB / 0.5761 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.629e-05/0.3957, allocations: 23.44 kB / 0.5761 GB, free: 5.094 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3957, allocations: 0 / 0.5761 GB, free: 5.094 MB / 414.1 MB Notification: Performance of Templates: time 0.007327/0.403, allocations: 2.951 MB / 0.579 GB, free: 2.18 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 -s cvode -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.079796645994065]