Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001358/0.001358, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 164 kB / 24.91 MB, free: 8.715 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9521/0.9521, allocations: 177 MB / 205.2 MB, free: 5.008 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2755/0.2755, allocations: 34.85 MB / 296.6 MB, free: 404 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.768e-05, allocations: 6.109 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004627/0.004654, allocations: 2.986 MB / 328.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00163/0.006284, allocations: 0.7889 MB / 329.7 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.00647, allocations: 4 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.006627, allocations: 59.31 kB / 329.7 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.006826, allocations: 111 kB / 329.8 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.007131, allocations: 123.7 kB / 330 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003716/0.007503, allocations: 486.5 kB / 330.4 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.007683, allocations: 117.1 kB / 330.6 MB, free: 2.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.007978, allocations: 271.4 kB / 330.8 MB, free: 2.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.008133, allocations: 155.5 kB / 331 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.008175, allocations: 40 kB / 331 MB, free: 2.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.00824, allocations: 48 kB / 331.1 MB, free: 1.969 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.008292, allocations: 91.58 kB / 331.2 MB, free: 1.879 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.633e-05/0.008388, allocations: 147.6 kB / 331.3 MB, free: 1.734 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.008662, allocations: 310.8 kB / 331.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.008664, allocations: 0 / 331.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008665, allocations: 0 / 331.6 MB, free: 1.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.008669, allocations: 0 / 331.6 MB, free: 1.43 MB / 298.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.000712/0.009381, allocations: 0.6137 MB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.009414, allocations: 8.031 kB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.009588, allocations: 76.88 kB / 332.3 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.009802, allocations: 201.1 kB / 332.5 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.009821, allocations: 29.38 kB / 332.5 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.009863, allocations: 36.38 kB / 332.6 MB, free: 436 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.0101, allocations: 255.7 kB / 332.8 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.01012, allocations: 192 / 332.8 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.01014, allocations: 16.38 kB / 332.8 MB, free: 156 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.577e-06/0.01014, allocations: 15.94 kB / 332.8 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.01028, allocations: 110.9 kB / 332.9 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.01136, allocations: 0.9351 MB / 333.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.01153, allocations: 140.8 kB / 334 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.244e-05/0.01161, allocations: 74.8 kB / 334.1 MB, free: 14.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.01163, allocations: 12.22 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.01165, allocations: 30.84 kB / 334.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 1.482e-06/0.01165, allocations: 0 / 334.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002368/0.01189, allocations: 179.8 kB / 334.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.01192, allocations: 63.34 kB / 334.4 MB, free: 14.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.01205, allocations: 216.9 kB / 334.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.01207, allocations: 37.7 kB / 334.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.63e-05/0.01215, allocations: 204.2 kB / 334.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.01221, allocations: 122.9 kB / 334.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.869e-05/0.01228, allocations: 70.11 kB / 335 MB, free: 13.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.01237, allocations: 346.7 kB / 335.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.01242, allocations: 36.92 kB / 335.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.88e-05/0.0125, allocations: 112.1 kB / 335.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.01266, allocations: 172.5 kB / 335.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01267, allocations: 0 / 335.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002106/0.01288, allocations: 194.7 kB / 335.8 MB, free: 12.94 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.01289, allocations: 4.219 kB / 335.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.0129, allocations: 8 kB / 335.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.01291, allocations: 7.938 kB / 335.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.01314, allocations: 99.81 kB / 336 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.01314, allocations: 4 kB / 336 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.01324, allocations: 35.77 kB / 336 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.01325, allocations: 12 kB / 336 MB, free: 12.77 MB / 314.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 8.517e-05/0.01334, allocations: 125.8 kB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.01337, allocations: 27.97 kB / 336.2 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.01359, allocations: 194.7 kB / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.01359, allocations: 4 kB / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.01359, allocations: 3.938 kB / 336.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.0136, allocations: 3.984 kB / 336.4 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.0138, allocations: 193.6 kB / 336.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0138, allocations: 0 / 336.6 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.01398, allocations: 79.89 kB / 336.6 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01398, allocations: 7.984 kB / 336.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.014, allocations: 8 kB / 336.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.014, allocations: 0 / 336.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.014, allocations: 4 kB / 336.7 MB, free: 12.1 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.01425, allocations: 315.9 kB / 337 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.01431, allocations: 43.67 kB / 337 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.01433, allocations: 8 kB / 337 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.01442, allocations: 11.94 kB / 337 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.01446, allocations: 23.81 kB / 337 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.01447, allocations: 4 kB / 337.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.169e-05/0.01452, allocations: 78.72 kB / 337.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01452, allocations: 0 / 337.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.01471, allocations: 91.84 kB / 337.2 MB, free: 11.51 MB / 314.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.485e-05/0.0148, allocations: 92.38 kB / 337.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01497, allocations: 145.7 kB / 337.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.01498, allocations: 4 kB / 337.5 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-05/0.01505, allocations: 84.7 kB / 337.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.01523, allocations: 36.42 kB / 337.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007513/0.01598, allocations: 0.6379 MB / 338.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.729e-05/0.01604, allocations: 101.3 kB / 338.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000104/0.01614, allocations: 38.94 kB / 338.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.01625, allocations: 87.36 kB / 338.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01625, allocations: 0 / 338.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of Templates: time 0.004426/0.02067, allocations: 2.606 MB / 341 MB, free: 7.672 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/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.8432614877820015]