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.001416/0.001416, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001418/0.001418, allocations: 203.9 kB / 23.73 MB, free: 4.379 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 / 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.2436/0.2436, allocations: 46.95 MB / 360.9 MB, free: 4.137 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.002087/0.002087, allocations: 71.84 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.392, allocations: 66.04 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.005247/0.3973, allocations: 2.781 MB / 0.5638 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002174/0.3994, allocations: 0.766 MB / 0.5645 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004516/0.3999, allocations: 4 kB / 0.5645 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.4001, allocations: 51.39 kB / 0.5646 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003415/0.4005, allocations: 111 kB / 0.5647 GB, free: 464 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.401, allocations: 115.8 kB / 0.5648 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000636/0.4016, allocations: 470.6 kB / 0.5653 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.4019, allocations: 112.4 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003575/0.4023, allocations: 195.4 kB / 0.5656 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.4026, allocations: 203.1 kB / 0.5657 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.4026, allocations: 40 kB / 0.5658 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.737e-05/0.4027, allocations: 51.98 kB / 0.5658 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.899e-05/0.4028, allocations: 87.73 kB / 0.5659 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.403, allocations: 171.1 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.4036, allocations: 473.7 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.4036, allocations: 4 kB / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4036, allocations: 0 / 0.5665 GB, free: 14.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.4036, allocations: 0 / 0.5665 GB, free: 14.56 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.001582/0.4052, allocations: 0.6418 MB / 0.5672 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.4053, allocations: 11.97 kB / 0.5672 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.4056, allocations: 56.64 kB / 0.5672 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.4061, allocations: 238 kB / 0.5675 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.4061, allocations: 29.38 kB / 0.5675 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.616e-05/0.4062, allocations: 40.38 kB / 0.5675 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.407, allocations: 354.7 kB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.407, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.407, allocations: 16 kB / 0.5679 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.407, allocations: 12 kB / 0.5679 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006821/0.4077, allocations: 299.8 kB / 0.5682 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.4101, allocations: 1.14 MB / 0.5693 GB, free: 11.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005461/0.4106, allocations: 257.4 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.4109, allocations: 137.4 kB / 0.5697 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.411, allocations: 8.219 kB / 0.5697 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.411, allocations: 34.84 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.411, allocations: 0 / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009192/0.4119, allocations: 375.5 kB / 0.5701 GB, free: 10.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.412, allocations: 59.34 kB / 0.5701 GB, free: 10.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.4122, allocations: 232.8 kB / 0.5703 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.4123, allocations: 33.7 kB / 0.5704 GB, free: 10.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.4124, allocations: 212.6 kB / 0.5706 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.4125, allocations: 122.9 kB / 0.5707 GB, free: 10.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.4127, allocations: 74.12 kB / 0.5708 GB, free: 10.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4128, allocations: 338.8 kB / 0.5711 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.4131, allocations: 104.8 kB / 0.5712 GB, free: 9.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.4134, allocations: 171.5 kB / 0.5714 GB, free: 9.387 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.4139, allocations: 288.7 kB / 0.5716 GB, free: 9.082 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4139, allocations: 0 / 0.5716 GB, free: 9.082 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007236/0.4147, allocations: 378.4 kB / 0.572 GB, free: 8.707 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4147, allocations: 4 kB / 0.572 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.4147, allocations: 4 kB / 0.572 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.4147, allocations: 0 / 0.572 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.4153, allocations: 103.9 kB / 0.5721 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.4153, allocations: 4 kB / 0.5721 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.4156, allocations: 43.72 kB / 0.5721 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.4156, allocations: 15.94 kB / 0.5722 GB, free: 8.535 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.0001779/0.4158, allocations: 153.8 kB / 0.5723 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.52e-05/0.4158, allocations: 31.78 kB / 0.5723 GB, free: 8.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006995/0.4165, allocations: 321.2 kB / 0.5726 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4165, allocations: 4 kB / 0.5726 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.4165, allocations: 0 / 0.5726 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4165, allocations: 0 / 0.5726 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.417, allocations: 288.9 kB / 0.5729 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.417, allocations: 0 / 0.5729 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.4174, allocations: 83.88 kB / 0.573 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4174, allocations: 3.938 kB / 0.573 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.4175, allocations: 12 kB / 0.573 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4175, allocations: 0 / 0.573 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4175, allocations: 0 / 0.573 GB, free: 7.613 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009887/0.4185, allocations: 0.5147 MB / 0.5735 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.4186, allocations: 47.73 kB / 0.5736 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.4186, allocations: 8.062 kB / 0.5736 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.4189, allocations: 19.92 kB / 0.5736 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.4189, allocations: 23.95 kB / 0.5736 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.419, allocations: 8 kB / 0.5736 GB, free: 6.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.4192, allocations: 168.5 kB / 0.5738 GB, free: 6.812 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4192, allocations: 0 / 0.5738 GB, free: 6.812 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003868/0.4195, allocations: 99.73 kB / 0.5739 GB, free: 6.715 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.0001475/0.4197, allocations: 103.2 kB / 0.574 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006208/0.4203, allocations: 255.6 kB / 0.5742 GB, free: 6.355 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4203, allocations: 4 kB / 0.5742 GB, free: 6.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.4206, allocations: 127.8 kB / 0.5743 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.421, allocations: 22.94 kB / 0.5744 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.4225, allocations: 0.7652 MB / 0.5751 GB, free: 5.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.4228, allocations: 181.5 kB / 0.5753 GB, free: 5.215 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00017/0.423, allocations: 34.89 kB / 0.5753 GB, free: 5.176 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.781e-05/0.4231, allocations: 23.44 kB / 0.5753 GB, free: 5.152 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4231, allocations: 0 / 0.5753 GB, free: 5.152 MB / 414.1 MB Notification: Performance of Templates: time 0.007629/0.4307, allocations: 2.96 MB / 0.5782 GB, free: 2.23 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.480523546691984]