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.001015/0.001015, allocations: 91.31 kB / 20.43 MB, free: 4.152 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.001121/0.001121, allocations: 161 kB / 23.79 MB, free: 0.7891 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 1.119/1.119, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1637/0.1637, allocations: 32.38 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.302e-06/1.302e-06, allocations: 0 / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.949e-05, allocations: 4.281 kB / 347.7 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002725/0.002755, allocations: 2.981 MB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003998, allocations: 0.7607 MB / 351.4 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.0042, allocations: 7.938 kB / 351.4 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.004366, allocations: 51.39 kB / 351.5 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.004565, allocations: 115 kB / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.004849, allocations: 115.8 kB / 351.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.005213, allocations: 482.4 kB / 352.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.005403, allocations: 104.5 kB / 352.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.00571, allocations: 275.4 kB / 352.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.005872, allocations: 155.5 kB / 352.7 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.005922, allocations: 40 kB / 352.7 MB, free: 4.367 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.005961, allocations: 40 kB / 352.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.795e-05/0.006009, allocations: 95.64 kB / 352.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.911e-05/0.006098, allocations: 143.6 kB / 353 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.006378, allocations: 298.9 kB / 353.3 MB, free: 3.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.006382, allocations: 7.938 kB / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.006383, allocations: 0 / 353.3 MB, free: 3.793 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.006392, allocations: 0 / 353.3 MB, free: 3.793 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.0007663/0.007158, allocations: 0.7374 MB / 354 MB, free: 3.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.007198, allocations: 8.031 kB / 354 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.007287, allocations: 76.66 kB / 354.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.007533, allocations: 231.9 kB / 354.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.00755, allocations: 29.38 kB / 354.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.007589, allocations: 40.38 kB / 354.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.007916, allocations: 267.8 kB / 354.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.007929, allocations: 192 / 354.7 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.007952, allocations: 20.38 kB / 354.7 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.007963, allocations: 15.94 kB / 354.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.008186, allocations: 161.9 kB / 354.9 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.009431, allocations: 1.16 MB / 356 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.009697, allocations: 187.9 kB / 356.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.009828, allocations: 96.16 kB / 356.3 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.009852, allocations: 8.281 kB / 356.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.00987, allocations: 33.67 kB / 356.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.009871, allocations: 0 / 356.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003719/0.01024, allocations: 270.7 kB / 356.6 MB, free: 308 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.01027, allocations: 55.41 kB / 356.7 MB, free: 240 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.01044, allocations: 280.2 kB / 356.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.01046, allocations: 29.7 kB / 357 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01059, allocations: 263.3 kB / 357.2 MB, free: 15.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.169e-05/0.01067, allocations: 122.9 kB / 357.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.213e-05/0.01076, allocations: 75.78 kB / 357.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.01091, allocations: 0.504 MB / 357.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.01101, allocations: 52.95 kB / 358 MB, free: 14.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.01122, allocations: 146.8 kB / 358.1 MB, free: 14.7 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.01162, allocations: 215.2 kB / 358.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.01162, allocations: 4 kB / 358.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000575/0.0122, allocations: 286.5 kB / 358.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.01222, allocations: 8.031 kB / 358.6 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.01224, allocations: 7.938 kB / 358.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.01226, allocations: 4 kB / 358.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.01262, allocations: 95.88 kB / 358.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.01264, allocations: 8 kB / 358.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.01287, allocations: 43.72 kB / 358.8 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-05/0.0129, allocations: 8 kB / 358.8 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.0001793/0.01308, allocations: 184.4 kB / 358.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.01315, allocations: 35.86 kB / 359 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.01363, allocations: 252 kB / 359.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.01364, allocations: 4 kB / 359.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.01364, allocations: 3.984 kB / 359.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01365, allocations: 4 kB / 359.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003991/0.01405, allocations: 276.3 kB / 359.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.01405, allocations: 0 / 359.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.01441, allocations: 83.88 kB / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.01442, allocations: 4 kB / 359.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.01444, allocations: 4 kB / 359.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.01445, allocations: 7.938 kB / 359.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.01445, allocations: 0 / 359.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.01507, allocations: 439.1 kB / 360 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.01518, allocations: 43.77 kB / 360.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.01522, allocations: 11.95 kB / 360.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.01539, allocations: 15.94 kB / 360.1 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.01546, allocations: 19.95 kB / 360.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.01548, allocations: 11.98 kB / 360.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.01563, allocations: 189.1 kB / 360.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01563, allocations: 0 / 360.3 MB, free: 12.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.0159, 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 0.0001304/0.01603, allocations: 107.2 kB / 360.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004364/0.01647, allocations: 184.9 kB / 360.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01647, allocations: 0 / 360.7 MB, free: 11.97 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.01664, allocations: 103.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.0003821/0.01702, allocations: 32.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.001411/0.01843, allocations: 0.6746 MB / 361.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.01e-05/0.01852, allocations: 96.8 kB / 361.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000159/0.01868, allocations: 34.95 kB / 361.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.009e-05/0.01876, allocations: 28.5 kB / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of SimCode: time 1.363e-06/0.01876, allocations: 0 / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of Templates: time 0.007401/0.02616, allocations: 2.582 MB / 364.3 MB, free: 8.398 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.3170838421210647]