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.0009165/0.0009165, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001349/0.002266, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0008841/0.0008841, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002053, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.9916/0.9916, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1858/1.177, allocations: 49.5 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] 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.1382/0.1382, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03373/0.1719, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] 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.024e-06/2.024e-06, allocations: 3.938 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.684e-05, allocations: 10.19 kB / 267.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003586/0.003613, allocations: 3.009 MB / 270.4 MB, free: 15.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009477/0.004561, allocations: 0.7835 MB / 271.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.004673, allocations: 7.938 kB / 271.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.954e-05/0.004772, allocations: 63.31 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.004906, allocations: 99.06 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.005069, allocations: 123.8 kB / 271.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.005418, allocations: 482.4 kB / 271.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.005602, allocations: 113.1 kB / 272 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002582/0.00586, allocations: 295.4 kB / 272.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.006023, allocations: 155.5 kB / 272.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.00607, allocations: 40 kB / 272.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.363e-05/0.006113, allocations: 44 kB / 272.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.006165, allocations: 63.75 kB / 272.6 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.404e-05/0.006249, allocations: 111.8 kB / 272.7 MB, free: 13.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.006512, allocations: 278.8 kB / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083e-05/0.006523, allocations: 0 / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006524, allocations: 0 / 273 MB, free: 12.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.006533, allocations: 0 / 273 MB, free: 12.89 MB / 282.7 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.0007301/0.007264, allocations: 0.687 MB / 273.7 MB, free: 12.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.007292, allocations: 16.03 kB / 273.7 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.007351, allocations: 56.89 kB / 273.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.007555, allocations: 201.1 kB / 274 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.007575, allocations: 29.38 kB / 274 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.007616, allocations: 36.38 kB / 274 MB, free: 11.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.007857, allocations: 255.7 kB / 274.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.007867, allocations: 192 / 274.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.007887, allocations: 16.38 kB / 274.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.007895, allocations: 15.94 kB / 274.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.008034, allocations: 114.9 kB / 274.4 MB, free: 11.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.009073, allocations: 0.9344 MB / 275.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.009238, allocations: 140.6 kB / 275.5 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.009314, allocations: 69.41 kB / 275.6 MB, free: 10.22 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.009336, allocations: 12.27 kB / 275.6 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.009357, allocations: 38.83 kB / 275.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.012e-06/0.009358, allocations: 0 / 275.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002304/0.009589, allocations: 182.9 kB / 275.8 MB, free: 9.977 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.00962, allocations: 59.34 kB / 275.8 MB, free: 9.906 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.009752, allocations: 221 kB / 276.1 MB, free: 9.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.009771, allocations: 29.7 kB / 276.1 MB, free: 9.645 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.009999, allocations: 204.2 kB / 276.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.07e-05/0.01006, allocations: 122.9 kB / 276.4 MB, free: 9.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.01013, allocations: 74.11 kB / 276.5 MB, free: 9.242 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.01025, allocations: 342.8 kB / 276.8 MB, free: 8.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.0103, allocations: 36.97 kB / 276.9 MB, free: 8.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.997e-05/0.0104, allocations: 104.1 kB / 277 MB, free: 8.738 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.01056, allocations: 180.5 kB / 277.1 MB, free: 8.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.01056, allocations: 11.98 kB / 277.1 MB, free: 8.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000194/0.01076, allocations: 194.6 kB / 277.3 MB, free: 8.332 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.01077, allocations: 8 kB / 277.3 MB, free: 8.324 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.01077, allocations: 4.219 kB / 277.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.01078, allocations: 4 kB / 277.3 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.01106, allocations: 123.8 kB / 277.5 MB, free: 8.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01107, allocations: 4 kB / 277.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.01117, allocations: 47.66 kB / 277.5 MB, free: 8.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.01118, allocations: 4 kB / 277.5 MB, free: 8.141 MB / 282.7 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.0001774/0.01136, allocations: 129.8 kB / 277.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.0114, allocations: 27.97 kB / 277.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.01162, allocations: 192.2 kB / 277.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.01163, allocations: 4 kB / 277.9 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01163, allocations: 3.938 kB / 277.9 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.01164, allocations: 0 / 277.9 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.01185, allocations: 197.6 kB / 278.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01185, allocations: 0 / 278.1 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.01205, allocations: 95.88 kB / 278.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.01211, allocations: 31.73 kB / 278.2 MB, free: 7.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.01211, allocations: 4 kB / 278.2 MB, free: 7.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.01212, allocations: 8 kB / 278.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.01212, allocations: 4 kB / 278.2 MB, free: 7.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01213, allocations: 3.938 kB / 278.2 MB, free: 7.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.01242, allocations: 315.3 kB / 278.5 MB, free: 7.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01244, allocations: 4 kB / 278.5 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.01252, allocations: 8 kB / 278.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.01257, allocations: 23.95 kB / 278.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.01258, allocations: 4 kB / 278.6 MB, free: 7.051 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.532e-05/0.01263, allocations: 74.72 kB / 278.6 MB, free: 6.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01263, allocations: 0 / 278.6 MB, free: 6.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001825/0.01282, allocations: 103.8 kB / 278.7 MB, free: 6.875 MB / 282.7 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 7.789e-05/0.01289, allocations: 92.28 kB / 278.8 MB, free: 6.777 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001727/0.01307, allocations: 153.7 kB / 279 MB, free: 6.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.01307, allocations: 4 kB / 279 MB, free: 6.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.01318, allocations: 104.7 kB / 279.1 MB, free: 6.516 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.01355, allocations: 239.2 kB / 279.3 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.015, allocations: 0.6763 MB / 280 MB, free: 5.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.061e-05/0.01506, allocations: 96.8 kB / 280.1 MB, free: 5.422 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.01517, allocations: 38.94 kB / 280.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.0153, allocations: 95.36 kB / 280.2 MB, free: 5.293 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.0153, allocations: 4 kB / 280.2 MB, free: 5.289 MB / 282.7 MB Notification: Performance of Templates: time 0.005023/0.02032, allocations: 2.763 MB / 283 MB, free: 2.523 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.698911893181503]