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.001343/0.001343, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001277/0.001277, allocations: 173 kB / 24.05 MB, free: 452 kB / 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 1.137/1.137, allocations: 158.6 MB / 185.9 MB, free: 2.41 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.1588/0.1588, allocations: 32.37 MB / 270.7 MB, free: 14.51 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.543e-06/1.543e-06, allocations: 0 / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.558e-05, allocations: 6.25 kB / 348.1 MB, free: 9.195 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004762/0.004788, allocations: 2.945 MB / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.00675, allocations: 0.7529 MB / 351.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.007046, allocations: 11.94 kB / 351.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.007234, allocations: 59.38 kB / 351.9 MB, free: 5.406 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.007479, allocations: 107 kB / 352 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.007798, allocations: 115.8 kB / 352.1 MB, free: 5.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.008332, allocations: 490.3 kB / 352.6 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.008565, allocations: 108.5 kB / 352.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.009001, allocations: 267.5 kB / 352.9 MB, free: 4.332 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.009239, allocations: 159.5 kB / 353.1 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.605e-05/0.009306, allocations: 40 kB / 353.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.557e-05/0.009361, allocations: 40 kB / 353.2 MB, free: 4.098 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.664e-05/0.009428, allocations: 91.66 kB / 353.3 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.009545, allocations: 131.7 kB / 353.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.009888, allocations: 310.8 kB / 353.7 MB, free: 3.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00989, allocations: 0 / 353.7 MB, free: 3.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.009891, allocations: 0 / 353.7 MB, free: 3.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.0099, allocations: 4 kB / 353.7 MB, free: 3.57 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.001004/0.0109, allocations: 0.7334 MB / 354.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.01095, allocations: 12.03 kB / 354.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.01106, allocations: 76.66 kB / 354.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.01137, allocations: 239.9 kB / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.0114, allocations: 33.38 kB / 354.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.01145, allocations: 36.38 kB / 354.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.01182, allocations: 247.7 kB / 355.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.01184, allocations: 192 / 355.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.01187, allocations: 16.38 kB / 355.1 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.01188, allocations: 11.94 kB / 355.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002118/0.01209, allocations: 126.9 kB / 355.2 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.01368, allocations: 1.113 MB / 356.3 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002545/0.01393, allocations: 167.4 kB / 356.5 MB, free: 0.625 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.01405, allocations: 84.2 kB / 356.6 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.01408, allocations: 12.27 kB / 356.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.0141, allocations: 41.67 kB / 356.6 MB, free: 488 kB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.914e-06/0.0141, allocations: 0 / 356.6 MB, free: 488 kB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003897/0.01449, allocations: 226.7 kB / 356.8 MB, free: 256 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.01452, allocations: 59.39 kB / 356.9 MB, free: 184 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.01473, allocations: 276.1 kB / 357.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.01476, allocations: 29.7 kB / 357.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.01492, allocations: 259.3 kB / 357.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.01501, allocations: 126.9 kB / 357.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.01513, allocations: 75.77 kB / 357.7 MB, free: 15.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.01534, allocations: 0.5117 MB / 358.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.76e-05/0.01544, allocations: 44.95 kB / 358.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.01559, allocations: 138.7 kB / 358.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01586, allocations: 187.2 kB / 358.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.01586, allocations: 0 / 358.5 MB, free: 14.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003988/0.01626, allocations: 266.4 kB / 358.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.01628, allocations: 8 kB / 358.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01629, allocations: 0 / 358.8 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.01631, allocations: 11.92 kB / 358.8 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.01667, allocations: 103.8 kB / 358.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.01668, allocations: 4 kB / 358.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.01686, allocations: 39.94 kB / 358.9 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.01688, allocations: 16 kB / 359 MB, free: 14 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 0.0001473/0.01703, allocations: 180.4 kB / 359.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.01709, allocations: 31.86 kB / 359.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.01747, allocations: 228.1 kB / 359.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.01747, allocations: 7.938 kB / 359.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.01748, allocations: 0 / 359.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.01748, allocations: 3.984 kB / 359.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.01783, allocations: 225 kB / 359.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.01783, allocations: 0 / 359.6 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.01815, allocations: 87.88 kB / 359.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.01816, allocations: 4 kB / 359.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.01818, allocations: 4 kB / 359.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.01818, allocations: 0 / 359.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01818, allocations: 0 / 359.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000581/0.01876, allocations: 415 kB / 360.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.01888, allocations: 43.77 kB / 360.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.01892, allocations: 7.953 kB / 360.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.01908, allocations: 12 kB / 360.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/0.01915, allocations: 19.95 kB / 360.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.01917, allocations: 15.97 kB / 360.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.01932, allocations: 189.1 kB / 360.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01932, allocations: 0 / 360.4 MB, free: 12.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000418/0.01973, allocations: 95.78 kB / 360.5 MB, free: 12.39 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 0.0001411/0.01988, allocations: 99.19 kB / 360.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.02018, allocations: 172.9 kB / 360.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.02019, allocations: 0 / 360.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.02032, allocations: 95.72 kB / 360.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.02068, allocations: 39.16 kB / 360.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.02201, allocations: 0.6625 MB / 361.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.02211, allocations: 96.75 kB / 361.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.02229, allocations: 38.95 kB / 361.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.02248, allocations: 114.2 kB / 361.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.02248, allocations: 0 / 361.8 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Templates: time 0.006612/0.02909, allocations: 2.667 MB / 364.5 MB, free: 8.379 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.3723699278198183]