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.001156/0.001156, allocations: 88.25 kB / 22.22 MB, free: 2.277 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.001207/0.001207, allocations: 162.1 kB / 25.61 MB, free: 8.574 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 1.006/1.006, allocations: 177 MB / 205.9 MB, free: 4.441 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.145/0.145, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.352e-06/1.352e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.836e-05, allocations: 2.875 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.002521/0.002539, allocations: 2.975 MB / 383 MB, free: 19.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009762/0.003516, allocations: 0.7633 MB / 383.7 MB, free: 18.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.00366, allocations: 7.938 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.003808, allocations: 59.38 kB / 383.8 MB, free: 18.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.003954, allocations: 111 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.004214, allocations: 119.8 kB / 384 MB, free: 18.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.004503, allocations: 486.5 kB / 384.5 MB, free: 18.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.004658, allocations: 108.4 kB / 384.6 MB, free: 18.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002446/0.004903, allocations: 279.4 kB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001361/0.005039, allocations: 151.5 kB / 385 MB, free: 17.67 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.005075, allocations: 40 kB / 385.1 MB, free: 17.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.005136, allocations: 47.98 kB / 385.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.027e-05/0.005176, allocations: 87.66 kB / 385.2 MB, free: 17.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.254e-05/0.005249, allocations: 147.6 kB / 385.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.005473, allocations: 318.8 kB / 385.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.005475, allocations: 0 / 385.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005476, allocations: 0 / 385.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.00548, allocations: 0 / 385.7 MB, free: 17.04 MB / 314.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.0006687/0.006148, allocations: 0.7338 MB / 386.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.006176, allocations: 8.031 kB / 386.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.006333, allocations: 92.64 kB / 386.5 MB, free: 16.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.006514, allocations: 239.9 kB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.00653, allocations: 29.38 kB / 386.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.006564, allocations: 40.38 kB / 386.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.006778, allocations: 243.7 kB / 387 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.006791, allocations: 12.12 kB / 387 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.908e-05/0.00681, allocations: 12.38 kB / 387.1 MB, free: 15.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.006819, allocations: 19.94 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.006952, allocations: 126.9 kB / 387.2 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.008179, allocations: 1.098 MB / 388.3 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.008364, allocations: 163.2 kB / 388.5 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/0.008447, allocations: 80.2 kB / 388.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.008468, allocations: 8.281 kB / 388.5 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.008484, allocations: 37.67 kB / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.008486, allocations: 0 / 388.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002694/0.008755, allocations: 233 kB / 388.8 MB, free: 13.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.008776, allocations: 63.33 kB / 388.9 MB, free: 13.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.008879, allocations: 280.2 kB / 389.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008893, allocations: 29.7 kB / 389.2 MB, free: 13.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.00898, allocations: 263.2 kB / 389.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.009046, allocations: 122.9 kB / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.475e-05/0.009141, allocations: 71.81 kB / 389.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.647e-05/0.009187, allocations: 0.5079 MB / 390.1 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.009241, allocations: 40.95 kB / 390.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.437e-05/0.009315, allocations: 138.7 kB / 390.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.009455, allocations: 191.2 kB / 390.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.009458, allocations: 0 / 390.5 MB, free: 11.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002238/0.009681, allocations: 258.4 kB / 390.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.009694, allocations: 8 kB / 390.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.009699, allocations: 8.203 kB / 390.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.009711, allocations: 7.938 kB / 390.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.009943, allocations: 99.88 kB / 390.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009948, allocations: 7.938 kB / 390.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.01006, allocations: 35.77 kB / 390.9 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.01007, allocations: 12 kB / 390.9 MB, free: 11.48 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 6.763e-05/0.01014, allocations: 168.5 kB / 391.1 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.01018, allocations: 43.8 kB / 391.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.01039, allocations: 223.6 kB / 391.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.01039, allocations: 11.94 kB / 391.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.01039, allocations: 0 / 391.3 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.0104, allocations: 7.984 kB / 391.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.01057, allocations: 236.7 kB / 391.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01057, allocations: 0 / 391.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.01076, allocations: 87.88 kB / 391.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01076, allocations: 4 kB / 391.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.01077, allocations: 8 kB / 391.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01078, allocations: 0 / 391.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01078, allocations: 3.938 kB / 391.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.0111, allocations: 412 kB / 392.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.01116, allocations: 43.77 kB / 392.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.01119, allocations: 4 kB / 392.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.0113, allocations: 12 kB / 392.2 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.01134, allocations: 19.95 kB / 392.2 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.01135, allocations: 11.94 kB / 392.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.559e-05/0.01141, allocations: 189.1 kB / 392.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01141, allocations: 0 / 392.4 MB, free: 9.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002091/0.01161, allocations: 95.78 kB / 392.5 MB, free: 9.871 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 6.704e-05/0.01168, allocations: 107.2 kB / 392.6 MB, free: 9.758 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.01186, allocations: 164.3 kB / 392.7 MB, free: 9.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01186, allocations: 0 / 392.7 MB, free: 9.594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.644e-05/0.01194, allocations: 99.5 kB / 392.8 MB, free: 9.492 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.01216, allocations: 38.62 kB / 392.9 MB, free: 9.457 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/0.01284, allocations: 0.6553 MB / 393.5 MB, free: 8.766 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.821e-05/0.01288, allocations: 108.5 kB / 393.6 MB, free: 8.641 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.01299, allocations: 34.95 kB / 393.7 MB, free: 8.605 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.0131, allocations: 114.2 kB / 393.8 MB, free: 8.492 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.0131, allocations: 0 / 393.8 MB, free: 8.492 MB / 314.7 MB Notification: Performance of Templates: time 0.004644/0.01774, allocations: 2.73 MB / 396.5 MB, free: 5.812 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: 3.1814006897620857]