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.001485/0.001485, allocations: 95.2 kB / 20.43 MB, free: 4.145 MB / 18.57 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.001586/0.001586, allocations: 165 kB / 23.79 MB, free: 0.7812 MB / 18.57 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.9283/0.9283, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.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.1213/0.1213, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.763e-06/1.763e-06, allocations: 0 / 347.7 MB, free: 9.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.913e-05, allocations: 2.312 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002854/0.002873, allocations: 2.987 MB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.004143, allocations: 0.7606 MB / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.004324, allocations: 4 kB / 351.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.004476, allocations: 67.31 kB / 351.5 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001778/0.004654, allocations: 107 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.004917, allocations: 115.8 kB / 351.7 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.005228, allocations: 482.5 kB / 352.2 MB, free: 4.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.00541, allocations: 100.5 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.005662, allocations: 275.4 kB / 352.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.005804, allocations: 155.5 kB / 352.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.005844, allocations: 40 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.00588, allocations: 36 kB / 352.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.322e-05/0.005924, allocations: 99.58 kB / 352.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.006007, allocations: 147.6 kB / 353 MB, free: 4.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.006243, allocations: 302.9 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.006244, allocations: 3.938 kB / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.006245, allocations: 0 / 353.3 MB, free: 3.789 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.00625, allocations: 0 / 353.3 MB, free: 3.789 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.0007356/0.006986, allocations: 0.7413 MB / 354 MB, free: 3.012 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.00702, allocations: 8.031 kB / 354 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.007095, allocations: 80.66 kB / 354.1 MB, free: 2.926 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.007313, allocations: 228 kB / 354.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.00733, allocations: 29.38 kB / 354.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.00737, allocations: 40.38 kB / 354.4 MB, free: 2.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.007685, allocations: 271.7 kB / 354.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007696, allocations: 192 / 354.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.129e-05/0.007718, allocations: 16.38 kB / 354.7 MB, free: 2.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.007726, allocations: 15.94 kB / 354.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.007951, allocations: 161.9 kB / 354.9 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.009066, allocations: 1.16 MB / 356 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002303/0.009297, allocations: 183.9 kB / 356.2 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.009435, allocations: 96.14 kB / 356.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.009468, allocations: 8.281 kB / 356.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.009484, allocations: 33.67 kB / 356.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.009486, allocations: 0 / 356.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003716/0.009857, allocations: 270.6 kB / 356.6 MB, free: 304 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.009875, allocations: 55.41 kB / 356.7 MB, free: 236 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.01002, allocations: 280.2 kB / 356.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.01004, allocations: 37.7 kB / 357 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.01015, allocations: 251.3 kB / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.01021, allocations: 130.9 kB / 357.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.01029, allocations: 71.84 kB / 357.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.01042, allocations: 0.5001 MB / 357.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.343e-05/0.01051, allocations: 56.95 kB / 358 MB, free: 14.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.01065, allocations: 142.8 kB / 358.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.01088, allocations: 223.2 kB / 358.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01089, allocations: 0 / 358.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003141/0.0112, allocations: 286.4 kB / 358.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01122, allocations: 4 kB / 358.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.01122, allocations: 7.938 kB / 358.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01124, allocations: 4.219 kB / 358.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.01152, allocations: 103.9 kB / 358.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.01152, allocations: 3.938 kB / 358.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.01163, allocations: 43.72 kB / 358.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.01165, allocations: 12 kB / 358.8 MB, free: 13.99 MB / 298.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 9.112e-05/0.01174, allocations: 176.5 kB / 359 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.01178, allocations: 35.86 kB / 359 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.01207, allocations: 248 kB / 359.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01208, allocations: 8 kB / 359.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.01208, allocations: 7.938 kB / 359.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01208, allocations: 4 kB / 359.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.01234, allocations: 272.3 kB / 359.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01234, allocations: 0 / 359.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.01253, allocations: 79.94 kB / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.01254, allocations: 4 kB / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01255, allocations: 7.938 kB / 359.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01256, allocations: 3.938 kB / 359.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01256, allocations: 4 kB / 359.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.01295, allocations: 431.1 kB / 360 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.01302, allocations: 51.78 kB / 360.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.01304, allocations: 11.95 kB / 360.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.109e-05/0.01313, allocations: 15.94 kB / 360.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.0132, allocations: 19.95 kB / 360.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.01321, allocations: 8 kB / 360.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.01332, allocations: 193.1 kB / 360.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01332, allocations: 0 / 360.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.01356, allocations: 99.78 kB / 360.4 MB, free: 12.27 MB / 298.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 8.844e-05/0.01365, allocations: 103.2 kB / 360.5 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.01392, allocations: 188.9 kB / 360.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01392, allocations: 0 / 360.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.01402, allocations: 107.4 kB / 360.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.01425, allocations: 28.48 kB / 360.8 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.01507, allocations: 0.6784 MB / 361.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.556e-05/0.01513, allocations: 96.8 kB / 361.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.01523, allocations: 34.97 kB / 361.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.0153, allocations: 28.48 kB / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0153, allocations: 0 / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of Templates: time 0.004127/0.01943, allocations: 2.476 MB / 364.2 MB, free: 8.496 MB / 298.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 -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: 3.2637319238856435]