Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.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.001882/0.001882, allocations: 74.5 kB / 19.93 MB, free: 1.785 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.002878/0.002878, allocations: 165.7 kB / 23.21 MB, free: 4.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3136/0.3136, allocations: 32.39 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.813e-05/4.021e-05, allocations: 4.391 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.006273/0.006313, allocations: 2.763 MB / 410.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.008687, allocations: 0.7485 MB / 410.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.009284, allocations: 4 kB / 410.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.009698, allocations: 67.31 kB / 410.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005352/0.01023, allocations: 107 kB / 411 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.01089, allocations: 115.8 kB / 411.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01219, allocations: 486.4 kB / 411.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.0126, allocations: 116.4 kB / 411.7 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008869/0.01349, allocations: 267.4 kB / 412 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.01393, allocations: 155.5 kB / 412.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.01406, allocations: 40 kB / 412.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.01418, allocations: 40 kB / 412.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.01431, allocations: 91.58 kB / 412.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002628/0.01457, allocations: 143.6 kB / 412.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008462/0.01542, allocations: 486.4 kB / 412.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.01542, allocations: 4 kB / 412.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.01543, allocations: 0 / 412.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.01545, allocations: 0 / 412.9 MB, free: 13.41 MB / 350.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.002056/0.0175, allocations: 0.6301 MB / 413.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001614/0.01766, allocations: 8.031 kB / 413.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.01782, allocations: 44.66 kB / 413.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000679/0.0185, allocations: 236.8 kB / 413.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.01855, allocations: 29.38 kB / 413.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.01865, allocations: 36.38 kB / 413.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.01967, allocations: 347 kB / 414.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.0197, allocations: 192 / 414.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.01975, allocations: 16.38 kB / 414.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.01977, allocations: 11.94 kB / 414.3 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008258/0.0206, allocations: 303.8 kB / 414.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0028/0.0234, allocations: 1.145 MB / 415.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.02401, allocations: 250.4 kB / 416 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.02435, allocations: 141.3 kB / 416.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.02438, allocations: 4.281 kB / 416.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.02442, allocations: 34.84 kB / 416.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.02442, allocations: 0 / 416.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001167/0.02559, allocations: 382.6 kB / 416.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.02566, allocations: 55.41 kB / 416.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003486/0.02601, allocations: 233.7 kB / 416.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.02605, allocations: 33.7 kB / 416.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.02625, allocations: 216.5 kB / 417 MB, free: 9.113 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.02637, allocations: 118.9 kB / 417.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.02652, allocations: 74.17 kB / 417.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.02671, allocations: 334.8 kB / 417.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.02699, allocations: 109 kB / 417.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.02734, allocations: 172.1 kB / 417.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.02805, allocations: 288.6 kB / 418.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.02805, allocations: 4 kB / 418.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008345/0.02889, allocations: 362.4 kB / 418.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.02891, allocations: 8 kB / 418.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.02892, allocations: 3.938 kB / 418.5 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.02895, allocations: 7.984 kB / 418.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.02947, allocations: 104.1 kB / 418.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.02949, allocations: 4 kB / 418.6 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.0298, allocations: 43.72 kB / 418.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.636e-05/0.02985, allocations: 8 kB / 418.6 MB, free: 7.438 MB / 350.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.0002043/0.03005, allocations: 157.7 kB / 418.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.03013, allocations: 27.8 kB / 418.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008037/0.03093, allocations: 324.2 kB / 419.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.03094, allocations: 8 kB / 419.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.03095, allocations: 4 kB / 419.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.03096, allocations: 3.938 kB / 419.1 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.03152, allocations: 285 kB / 419.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.03152, allocations: 0 / 419.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.03197, allocations: 83.88 kB / 419.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.03198, allocations: 0 / 419.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.03201, allocations: 8 kB / 419.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.03202, allocations: 7.938 kB / 419.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.03202, allocations: 0 / 419.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.03323, allocations: 0.5067 MB / 420 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.03337, allocations: 51.75 kB / 420.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.03342, allocations: 4 kB / 420.1 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.03366, allocations: 19.92 kB / 420.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.761e-05/0.03375, allocations: 23.95 kB / 420.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.03377, allocations: 4 kB / 420.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.03403, allocations: 169.2 kB / 420.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.03403, allocations: 64 / 420.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.03446, allocations: 99.78 kB / 420.4 MB, free: 5.613 MB / 350.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.0001725/0.03463, allocations: 103.5 kB / 420.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008341/0.03547, allocations: 260.1 kB / 420.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.03547, allocations: 0 / 420.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.03584, allocations: 132.1 kB / 420.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/0.0363, allocations: 36.47 kB / 420.9 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.03833, allocations: 0.6828 MB / 421.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.03858, allocations: 177.3 kB / 421.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001859/0.03877, allocations: 34.95 kB / 421.8 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.03891, allocations: 28.44 kB / 421.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.03891, allocations: 0 / 421.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of Templates: time 0.008717/0.04763, allocations: 2.452 MB / 424.3 MB, free: 1.699 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.522503670305014]