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.001488/0.001488, allocations: 88.86 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.001145/0.001145, allocations: 158.6 kB / 24.91 MB, free: 8.719 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.011/1.011, allocations: 177 MB / 205.2 MB, free: 5.023 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.2669/0.2669, allocations: 34.86 MB / 296.6 MB, free: 392 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 4.99e-06/4.99e-06, allocations: 4 kB / 325.9 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/3.238e-05, allocations: 6.25 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.009725/0.009757, allocations: 3.031 MB / 329 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.01187, allocations: 0.785 MB / 329.8 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.01217, allocations: 7.938 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.0124, allocations: 67.31 kB / 329.8 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.01275, allocations: 107 kB / 329.9 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.01319, allocations: 115.8 kB / 330.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008004/0.01399, allocations: 490.4 kB / 330.5 MB, free: 2.469 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.01427, allocations: 117.1 kB / 330.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006094/0.01488, allocations: 279.4 kB / 330.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.01519, allocations: 155.5 kB / 331.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.861e-05/0.01528, allocations: 36 kB / 331.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.01541, allocations: 44 kB / 331.2 MB, free: 1.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.01549, allocations: 95.64 kB / 331.3 MB, free: 1.746 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001511/0.01564, allocations: 139.7 kB / 331.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.0161, allocations: 310.8 kB / 331.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0161, allocations: 0 / 331.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0161, allocations: 0 / 331.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.01612, allocations: 0 / 331.7 MB, free: 1.305 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.001188/0.0173, allocations: 0.6176 MB / 332.3 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.01734, allocations: 8.031 kB / 332.3 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/0.01765, allocations: 80.88 kB / 332.4 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.01801, allocations: 197.1 kB / 332.6 MB, free: 364 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.01804, allocations: 29.38 kB / 332.6 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.0181, allocations: 36.38 kB / 332.7 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.01851, allocations: 247.7 kB / 332.9 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.01853, allocations: 4.188 kB / 332.9 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.01856, allocations: 12.38 kB / 332.9 MB, free: 28 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.01857, allocations: 19.94 kB / 332.9 MB, free: 8 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.01882, allocations: 114.9 kB / 333 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.02055, allocations: 0.9312 MB / 334 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.02109, allocations: 140.8 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000122/0.02121, allocations: 70.5 kB / 334.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.02124, allocations: 8.219 kB / 334.2 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.02127, allocations: 38.84 kB / 334.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.735e-06/0.02127, allocations: 0 / 334.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004002/0.02167, allocations: 179.7 kB / 334.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.02171, allocations: 63.34 kB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.02191, allocations: 224.9 kB / 334.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.02194, allocations: 29.7 kB / 334.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.02205, allocations: 204.2 kB / 334.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.862e-05/0.02214, allocations: 122.9 kB / 335 MB, free: 13.78 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.02225, allocations: 74.11 kB / 335.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.02236, allocations: 342.8 kB / 335.4 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/0.02245, allocations: 32.98 kB / 335.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.02259, allocations: 116.1 kB / 335.6 MB, free: 13.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.02283, allocations: 168.6 kB / 335.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.02283, allocations: 0 / 335.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003397/0.02317, allocations: 198.6 kB / 335.9 MB, free: 12.81 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.02319, allocations: 4.219 kB / 335.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0232, allocations: 8 kB / 336 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.02322, allocations: 4 kB / 336 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.0237, allocations: 115.7 kB / 336.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.02371, allocations: 4 kB / 336.1 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.02391, allocations: 35.78 kB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-05/0.02394, allocations: 15.98 kB / 336.1 MB, free: 12.62 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 0.0001197/0.02406, allocations: 121.8 kB / 336.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.02411, allocations: 23.98 kB / 336.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.02445, allocations: 198.7 kB / 336.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.02446, allocations: 4 kB / 336.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.02446, allocations: 3.938 kB / 336.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.02447, allocations: 3.984 kB / 336.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.02483, allocations: 197.6 kB / 336.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.02484, allocations: 0 / 336.7 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.02522, allocations: 91.86 kB / 336.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.02522, allocations: 3.938 kB / 336.8 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.02526, allocations: 16 kB / 336.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.02526, allocations: 0 / 336.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.02526, allocations: 0 / 336.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.02571, allocations: 315.9 kB / 337.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.02581, allocations: 35.69 kB / 337.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.02584, allocations: 4 kB / 337.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.02594, allocations: 8 kB / 337.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.02599, allocations: 27.81 kB / 337.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.026, allocations: 4 kB / 337.2 MB, free: 11.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.628e-05/0.02607, allocations: 82.7 kB / 337.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02607, allocations: 0 / 337.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002372/0.02631, allocations: 95.88 kB / 337.3 MB, free: 11.36 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 0.0001022/0.02641, allocations: 84.36 kB / 337.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002483/0.02666, allocations: 149.6 kB / 337.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.02666, allocations: 0 / 337.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.978e-05/0.02675, allocations: 88.77 kB / 337.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000224/0.02698, allocations: 28.86 kB / 337.7 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.02789, allocations: 0.6545 MB / 338.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.803e-05/0.02796, allocations: 93.31 kB / 338.4 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.02808, allocations: 38.94 kB / 338.5 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.02822, allocations: 91.36 kB / 338.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.343e-06/0.02822, allocations: 0 / 338.6 MB, free: 10.08 MB / 314.7 MB Notification: Performance of Templates: time 0.005394/0.03361, allocations: 2.607 MB / 341.2 MB, free: 7.52 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 -s gbode -gbm=radauIIA3 -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.0487965838983655]