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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 109.7 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.678/1.678, allocations: 207.6 MB / 232.1 MB, free: 11.11 MB / 190.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.2738/0.2738, allocations: 44.24 MB / 328.4 MB, free: 10.06 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 71.89 kB / 465.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1753, allocations: 61.01 MB / 0.5142 GB, free: 7.781 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.005177/0.1805, allocations: 3.003 MB / 0.5171 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.1825, allocations: 0.776 MB / 0.5179 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.1827, allocations: 7.938 kB / 0.5179 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.1829, allocations: 55.38 kB / 0.5179 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002702/0.1832, allocations: 103.1 kB / 0.518 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.1835, allocations: 119.8 kB / 0.5182 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005987/0.1841, allocations: 482.4 kB / 0.5186 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.1844, allocations: 108 kB / 0.5187 GB, free: 3.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.1847, allocations: 179.4 kB / 0.5189 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.1849, allocations: 211 kB / 0.5191 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.296e-05/0.185, allocations: 40 kB / 0.5191 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.341e-05/0.1851, allocations: 40 kB / 0.5192 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/0.1852, allocations: 87.67 kB / 0.5193 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.1854, allocations: 203 kB / 0.5195 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.1859, allocations: 474 kB / 0.5199 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1859, allocations: 0 / 0.5199 GB, free: 1.895 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1859, allocations: 0 / 0.5199 GB, free: 1.895 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1859, allocations: 0 / 0.5199 GB, free: 1.895 MB / 398.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.001529/0.1875, allocations: 0.7093 MB / 0.5206 GB, free: 1.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.177e-05/0.1875, allocations: 19.83 kB / 0.5206 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.1877, allocations: 48.66 kB / 0.5207 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007376/0.1884, allocations: 291.7 kB / 0.5209 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.1885, allocations: 33.31 kB / 0.521 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/0.1886, allocations: 40.38 kB / 0.521 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00097/0.1896, allocations: 346.8 kB / 0.5213 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.1896, allocations: 0 / 0.5213 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.1896, allocations: 16 kB / 0.5214 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.1897, allocations: 12 kB / 0.5214 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009097/0.1906, allocations: 303.8 kB / 0.5217 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.1937, allocations: 1.337 MB / 0.523 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.1942, allocations: 250.5 kB / 0.5232 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.1945, allocations: 145.3 kB / 0.5233 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.1946, allocations: 4.281 kB / 0.5233 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/0.1946, allocations: 34.84 kB / 0.5234 GB, free: 14.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.743e-06/0.1946, allocations: 0 / 0.5234 GB, free: 14.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.001031/0.1956, allocations: 382.5 kB / 0.5237 GB, free: 13.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.1957, allocations: 63.41 kB / 0.5238 GB, free: 13.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004044/0.1961, allocations: 262.6 kB / 0.5241 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.1961, allocations: 29.7 kB / 0.5241 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.1963, allocations: 208.4 kB / 0.5243 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.1965, allocations: 126.9 kB / 0.5244 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.1967, allocations: 70.12 kB / 0.5245 GB, free: 12.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003271/0.197, allocations: 338.8 kB / 0.5248 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.1973, allocations: 108.8 kB / 0.5249 GB, free: 12.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.1976, allocations: 175.4 kB / 0.5251 GB, free: 12.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.1983, allocations: 288.7 kB / 0.5253 GB, free: 12.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1983, allocations: 0 / 0.5253 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000776/0.1991, allocations: 378.3 kB / 0.5257 GB, free: 11.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.1991, allocations: 8 kB / 0.5257 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1991, allocations: 0 / 0.5257 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.1992, allocations: 4 kB / 0.5257 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.1997, allocations: 103.9 kB / 0.5258 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.1997, allocations: 7.938 kB / 0.5258 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.2, allocations: 43.94 kB / 0.5259 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.2001, allocations: 12 kB / 0.5259 GB, free: 11.47 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.00021/0.2003, allocations: 157.6 kB / 0.526 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.2003, allocations: 35.81 kB / 0.5261 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007514/0.2011, allocations: 320.3 kB / 0.5264 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.2011, allocations: 4 kB / 0.5264 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.2011, allocations: 7.938 kB / 0.5264 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2011, allocations: 3.984 kB / 0.5264 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.2017, allocations: 401.2 kB / 0.5268 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.2017, allocations: 4 kB / 0.5268 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.2022, allocations: 75.94 kB / 0.5268 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.2022, allocations: 4 kB / 0.5268 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.2022, allocations: 11.94 kB / 0.5268 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2022, allocations: 0 / 0.5268 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2022, allocations: 3.984 kB / 0.5269 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.2032, allocations: 0.5224 MB / 0.5274 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.2034, allocations: 124.9 kB / 0.5275 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.2034, allocations: 8 kB / 0.5275 GB, free: 9.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.2036, allocations: 11.98 kB / 0.5275 GB, free: 9.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.2037, allocations: 23.97 kB / 0.5275 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.2037, allocations: 12.06 kB / 0.5275 GB, free: 9.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002356/0.204, allocations: 190 kB / 0.5277 GB, free: 9.477 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.204, allocations: 0 / 0.5277 GB, free: 9.477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003677/0.2043, allocations: 91.83 kB / 0.5278 GB, free: 9.387 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.0001425/0.2045, allocations: 99.19 kB / 0.5279 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.2051, allocations: 260 kB / 0.5281 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2051, allocations: 4.062 kB / 0.5282 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.2054, allocations: 127.8 kB / 0.5283 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.2057, allocations: 32.5 kB / 0.5283 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.2074, allocations: 0.7546 MB / 0.529 GB, free: 8.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.2079, allocations: 0.7835 MB / 0.5298 GB, free: 7.273 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.2081, allocations: 42.94 kB / 0.5298 GB, free: 7.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.2082, allocations: 31.38 kB / 0.5299 GB, free: 7.203 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2082, allocations: 0 / 0.5299 GB, free: 7.203 MB / 414.1 MB Notification: Performance of Templates: time 0.008244/0.2164, allocations: 2.819 MB / 0.5326 GB, free: 4.391 MB / 414.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.786384413018823]