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.001352/0.001352, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002332/0.002332, allocations: 216.9 kB / 23.73 MB, free: 4.156 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2511/0.2511, allocations: 46.95 MB / 360.9 MB, free: 4.012 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.002176/0.002176, allocations: 71.89 kB / 0.4966 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3622, allocations: 66.03 MB / 0.5611 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004818/0.367, allocations: 2.807 MB / 0.5638 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.3689, allocations: 0.7427 MB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001847/0.3691, allocations: 4 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.3693, allocations: 63.38 kB / 0.5646 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.3696, allocations: 107 kB / 0.5647 GB, free: 448 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.3699, allocations: 111.8 kB / 0.5648 GB, free: 336 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.3705, allocations: 474.6 kB / 0.5653 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002771/0.3708, allocations: 108.4 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003286/0.3711, allocations: 195.2 kB / 0.5656 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.3714, allocations: 179.1 kB / 0.5657 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.3715, allocations: 40 kB / 0.5658 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.3716, allocations: 48 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.104e-05/0.3717, allocations: 87.67 kB / 0.5659 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.3718, allocations: 171.2 kB / 0.5661 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000572/0.3724, allocations: 481.6 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3724, allocations: 0 / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.2e-06/0.3724, allocations: 3.984 kB / 0.5665 GB, free: 14.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3724, allocations: 0 / 0.5665 GB, free: 14.57 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.001444/0.3739, allocations: 0.6379 MB / 0.5671 GB, free: 13.9 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.3739, allocations: 8.031 kB / 0.5671 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.3742, allocations: 60.64 kB / 0.5672 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005687/0.3748, allocations: 234 kB / 0.5674 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.3748, allocations: 29.38 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.3749, allocations: 40.38 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.3756, allocations: 354.7 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.3756, allocations: 0 / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.3756, allocations: 16 kB / 0.5678 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3756, allocations: 8 kB / 0.5679 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006712/0.3763, allocations: 299.8 kB / 0.5681 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.3787, allocations: 1.147 MB / 0.5693 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005407/0.3793, allocations: 253.5 kB / 0.5695 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.3795, allocations: 137.4 kB / 0.5696 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.3796, allocations: 8.219 kB / 0.5696 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.3796, allocations: 30.84 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 2.244e-06/0.3796, allocations: 0 / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009114/0.3805, allocations: 371.5 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.3806, allocations: 63.34 kB / 0.5701 GB, free: 10.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.3809, allocations: 232.8 kB / 0.5703 GB, free: 10.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.3809, allocations: 33.7 kB / 0.5703 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.3811, allocations: 208.6 kB / 0.5705 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3812, allocations: 130.9 kB / 0.5707 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3813, allocations: 70.12 kB / 0.5707 GB, free: 10.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.3816, allocations: 338.8 kB / 0.5711 GB, free: 9.703 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/0.3818, allocations: 100.8 kB / 0.5712 GB, free: 9.602 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.3821, allocations: 171.5 kB / 0.5713 GB, free: 9.414 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.3827, allocations: 288.7 kB / 0.5716 GB, free: 9.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3827, allocations: 0 / 0.5716 GB, free: 9.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007381/0.3835, allocations: 378.3 kB / 0.5719 GB, free: 8.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.3835, allocations: 4 kB / 0.572 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3835, allocations: 4 kB / 0.572 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.3835, allocations: 8 kB / 0.572 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.3841, allocations: 99.88 kB / 0.5721 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.3841, allocations: 11.92 kB / 0.5721 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.3843, allocations: 39.95 kB / 0.5721 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.3844, allocations: 15.98 kB / 0.5721 GB, free: 8.555 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.000183/0.3846, allocations: 157.7 kB / 0.5723 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.3846, allocations: 31.73 kB / 0.5723 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000789/0.3854, allocations: 317.2 kB / 0.5726 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.3854, allocations: 7.984 kB / 0.5726 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3854, allocations: 0 / 0.5726 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3854, allocations: 3.984 kB / 0.5726 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.3859, allocations: 285 kB / 0.5729 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.3859, allocations: 3.984 kB / 0.5729 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004187/0.3863, allocations: 75.89 kB / 0.573 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.737e-06/0.3863, allocations: 7.938 kB / 0.573 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.3864, allocations: 11.98 kB / 0.573 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3864, allocations: 0 / 0.573 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3864, allocations: 4 kB / 0.573 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.3873, allocations: 0.5147 MB / 0.5735 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.3874, allocations: 47.73 kB / 0.5735 GB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.3875, allocations: 7.953 kB / 0.5735 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.3877, allocations: 11.98 kB / 0.5736 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.3878, allocations: 19.97 kB / 0.5736 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.3878, allocations: 15.98 kB / 0.5736 GB, free: 6.992 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001683/0.388, allocations: 164.5 kB / 0.5737 GB, free: 6.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 0.5737 GB, free: 6.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.3884, allocations: 99.78 kB / 0.5738 GB, free: 6.734 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.0001321/0.3885, allocations: 103.2 kB / 0.5739 GB, free: 6.625 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.3891, allocations: 255.6 kB / 0.5742 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3891, allocations: 0 / 0.5742 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002651/0.3894, allocations: 123.8 kB / 0.5743 GB, free: 6.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.3897, allocations: 28.86 kB / 0.5743 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3912, allocations: 0.7647 MB / 0.5751 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.3914, allocations: 177.5 kB / 0.5752 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000201/0.3916, allocations: 38.94 kB / 0.5753 GB, free: 5.195 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.3917, allocations: 27.42 kB / 0.5753 GB, free: 5.168 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3917, allocations: 4 kB / 0.5753 GB, free: 5.164 MB / 414.1 MB Notification: Performance of Templates: time 0.007673/0.3994, allocations: 2.839 MB / 0.5781 GB, free: 2.363 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/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.432694343850017]