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.0008561/0.0008561, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001334/0.00219, allocations: 447.8 kB / 10.35 MB, free: 348 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.000813/0.000813, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001866, allocations: 463.6 kB / 11.69 MB, free: 2.48 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 1.042/1.042, allocations: 158.6 MB / 171 MB, free: 2.168 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2176/1.259, allocations: 49.5 MB / 220.5 MB, free: 5.262 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.1421/0.1421, allocations: 32.35 MB / 253.6 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02672/0.1689, allocations: 12.29 MB / 265.9 MB, free: 7.82 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 1.643e-06/1.643e-06, allocations: 0 / 267.2 MB, free: 6.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.426e-05, allocations: 2.312 kB / 267.2 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005049/0.005073, allocations: 3.008 MB / 270.2 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.00714, allocations: 0.7835 MB / 271 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003005/0.007441, allocations: 11.94 kB / 271 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.007631, allocations: 59.38 kB / 271.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.007923, allocations: 111 kB / 271.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.008248, allocations: 115.8 kB / 271.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.008815, allocations: 478.4 kB / 271.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.009078, allocations: 113.1 kB / 271.9 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005039/0.009581, allocations: 295.4 kB / 272.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.00984, allocations: 159.5 kB / 272.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.009915, allocations: 40 kB / 272.3 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.009976, allocations: 36 kB / 272.4 MB, free: 1.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.01005, allocations: 67.75 kB / 272.4 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.01019, allocations: 111.8 kB / 272.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.01061, allocations: 275 kB / 272.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.273e-05/0.01064, allocations: 0 / 272.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.01064, allocations: 0 / 272.8 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.843e-05/0.01067, allocations: 0 / 272.8 MB, free: 0.8711 MB / 266.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.001289/0.01196, allocations: 0.6948 MB / 273.5 MB, free: 156 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.012, allocations: 8.031 kB / 273.5 MB, free: 148 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.01212, allocations: 60.89 kB / 273.6 MB, free: 88 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.01249, allocations: 197.1 kB / 273.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.01252, allocations: 29.38 kB / 273.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.01259, allocations: 36.38 kB / 273.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.013, allocations: 255.7 kB / 274.1 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.01302, allocations: 4.188 kB / 274.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.01305, allocations: 12.38 kB / 274.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.01306, allocations: 19.88 kB / 274.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.01331, allocations: 110.9 kB / 274.2 MB, free: 15.4 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.01512, allocations: 0.9344 MB / 275.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.01539, allocations: 144.6 kB / 275.3 MB, free: 14.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.01552, allocations: 73.39 kB / 275.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.01555, allocations: 4.281 kB / 275.4 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.01558, allocations: 46.78 kB / 275.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.01558, allocations: 0 / 275.4 MB, free: 14.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003696/0.01595, allocations: 178.9 kB / 275.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.01599, allocations: 63.33 kB / 275.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.01622, allocations: 217 kB / 275.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.01624, allocations: 29.7 kB / 275.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.01638, allocations: 204.2 kB / 276.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.01648, allocations: 122.9 kB / 276.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.0166, allocations: 78.14 kB / 276.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.01671, allocations: 334.8 kB / 276.6 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.01679, allocations: 32.98 kB / 276.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.01692, allocations: 116.1 kB / 276.8 MB, free: 12.7 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.01715, allocations: 168.5 kB / 276.9 MB, free: 12.52 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01715, allocations: 7.938 kB / 276.9 MB, free: 12.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003171/0.01747, allocations: 194.6 kB / 277.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01749, allocations: 8 kB / 277.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.0175, allocations: 4 kB / 277.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.01751, allocations: 4 kB / 277.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.01798, allocations: 131.7 kB / 277.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.01799, allocations: 4 kB / 277.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.01817, allocations: 39.73 kB / 277.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.01819, allocations: 12.2 kB / 277.3 MB, free: 12.11 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.000115/0.01831, allocations: 129.8 kB / 277.5 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.01836, allocations: 23.98 kB / 277.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.01868, allocations: 200 kB / 277.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.01869, allocations: 4 kB / 277.7 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01869, allocations: 3.938 kB / 277.7 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.01869, allocations: 3.984 kB / 277.7 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.01901, allocations: 201.6 kB / 277.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01901, allocations: 0 / 277.9 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.01938, allocations: 95.88 kB / 278 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.01946, allocations: 27.75 kB / 278 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.01947, allocations: 4 kB / 278 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.01949, allocations: 7.984 kB / 278 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01949, allocations: 4 kB / 278 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.0195, allocations: 3.938 kB / 278 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.0199, allocations: 307.4 kB / 278.3 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.01994, allocations: 7.938 kB / 278.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.02008, allocations: 11.98 kB / 278.3 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.02014, allocations: 23.95 kB / 278.4 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.02015, allocations: 8.031 kB / 278.4 MB, free: 11.01 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.881e-05/0.02024, allocations: 70.73 kB / 278.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02024, allocations: 0 / 278.4 MB, free: 10.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.02057, allocations: 103.7 kB / 278.5 MB, free: 10.84 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 0.0001215/0.02069, allocations: 84.34 kB / 278.6 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.02097, allocations: 157.7 kB / 278.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/0.02098, allocations: 4 kB / 278.8 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.0211, allocations: 81.14 kB / 278.9 MB, free: 10.5 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002974/0.0214, allocations: 52.48 kB / 278.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.02384, allocations: 0.6802 MB / 279.6 MB, free: 9.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.213e-05/0.02393, allocations: 97.05 kB / 279.7 MB, free: 9.629 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.02413, allocations: 38.95 kB / 279.7 MB, free: 9.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.0243, allocations: 91.36 kB / 279.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of SimCode: time 1.793e-06/0.0243, allocations: 0 / 279.8 MB, free: 9.504 MB / 282.7 MB Notification: Performance of Templates: time 0.007335/0.03163, allocations: 2.647 MB / 282.5 MB, free: 6.855 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8328481828793883]