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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009713/0.0009714, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.242/0.242, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1628, allocations: 58.85 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.6223, allocations: 90.02 MB / 0.5667 GB, free: 9.824 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.6226, allocations: 73.89 kB / 0.5667 GB, free: 9.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01564/0.6383, allocations: 5.612 MB / 0.5722 GB, free: 4.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.6383, allocations: 0 / 0.5722 GB, free: 4.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.5e-05/0.6384, allocations: 19.19 kB / 0.5722 GB, free: 4.941 MB / 378.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.001123/0.6395, allocations: 0.6255 MB / 0.5728 GB, free: 4.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6396, allocations: 8.031 kB / 0.5728 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.394e-05/0.6397, allocations: 55.36 kB / 0.5729 GB, free: 4.227 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.64, allocations: 271 kB / 0.5732 GB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.6401, allocations: 24.19 kB / 0.5732 GB, free: 3.934 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.6402, allocations: 45.56 kB / 0.5732 GB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/0.6408, allocations: 341.7 kB / 0.5736 GB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.6408, allocations: 3.906 kB / 0.5736 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.731e-05/0.6409, allocations: 9.688 kB / 0.5736 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.6409, allocations: 12 kB / 0.5736 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.6416, allocations: 312 kB / 0.5739 GB, free: 3.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/0.6441, allocations: 1.359 MB / 0.5752 GB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005523/0.6446, allocations: 293 kB / 0.5755 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.6447, allocations: 288 / 0.5755 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.6447, allocations: 38.84 kB / 0.5755 GB, free: 1.984 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.343e-06/0.6447, allocations: 0 / 0.5755 GB, free: 1.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.000841/0.6456, allocations: 391.4 kB / 0.5759 GB, free: 1.695 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.6456, allocations: 55.34 kB / 0.5759 GB, free: 1.629 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.6459, allocations: 240.1 kB / 0.5762 GB, free: 1.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.6459, allocations: 29.64 kB / 0.5762 GB, free: 1.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.6461, allocations: 202.4 kB / 0.5764 GB, free: 1.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.332e-05/0.6462, allocations: 121.5 kB / 0.5765 GB, free: 1.125 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/0.6462, allocations: 11.69 kB / 0.5765 GB, free: 1.121 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.6464, allocations: 346.2 kB / 0.5769 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.6466, allocations: 109.1 kB / 0.577 GB, free: 0.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.6469, allocations: 176.5 kB / 0.5771 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.6472, allocations: 134.6 kB / 0.5773 GB, free: 480 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6472, allocations: 0 / 0.5773 GB, free: 480 kB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006729/0.6479, allocations: 365.4 kB / 0.5776 GB, free: 200 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.6479, allocations: 6.656 kB / 0.5776 GB, free: 196 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6479, allocations: 4 kB / 0.5776 GB, free: 192 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.648, allocations: 4 kB / 0.5776 GB, free: 188 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.6485, allocations: 107 kB / 0.5777 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.6485, allocations: 7.984 kB / 0.5777 GB, free: 76 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.6488, allocations: 49.77 kB / 0.5778 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.6488, allocations: 15.5 kB / 0.5778 GB, free: 20 kB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001974/0.649, allocations: 159.9 kB / 0.5779 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.6491, allocations: 27.62 kB / 0.578 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007455/0.6498, allocations: 345.8 kB / 0.5783 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6499, allocations: 4 kB / 0.5783 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6499, allocations: 0 / 0.5783 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6499, allocations: 3.984 kB / 0.5783 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.6504, allocations: 406.1 kB / 0.5787 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6504, allocations: 0 / 0.5787 GB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.6508, allocations: 87.86 kB / 0.5788 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.6508, allocations: 4 kB / 0.5788 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/0.6509, allocations: 6.812 kB / 0.5788 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.6509, allocations: 8 kB / 0.5788 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6509, allocations: 0 / 0.5788 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.6518, allocations: 0.5299 MB / 0.5793 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.6519, allocations: 130 kB / 0.5794 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.652, allocations: 6.75 kB / 0.5794 GB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.6522, allocations: 14.98 kB / 0.5795 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.6523, allocations: 22.78 kB / 0.5795 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.6523, allocations: 7.312 kB / 0.5795 GB, free: 14.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002114/0.6525, allocations: 194 kB / 0.5797 GB, free: 14.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6525, allocations: 4.062 kB / 0.5797 GB, free: 14.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004318/0.653, allocations: 90.09 kB / 0.5798 GB, free: 14.3 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001855/0.6532, allocations: 95.12 kB / 0.5798 GB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.6538, allocations: 301.5 kB / 0.5801 GB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6538, allocations: 0 / 0.5801 GB, free: 13.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002538/0.6541, allocations: 141.4 kB / 0.5803 GB, free: 13.87 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.6544, allocations: 30.05 kB / 0.5803 GB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.656, allocations: 0.9518 MB / 0.5812 GB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.6563, allocations: 0.7952 MB / 0.582 GB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000198/0.6565, allocations: 34.95 kB / 0.582 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.6566, allocations: 31.42 kB / 0.5821 GB, free: 12.04 MB / 394.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6566, allocations: 0 / 0.5821 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Templates: time 0.005741/0.6624, allocations: 2.343 MB / 0.5844 GB, free: 9.711 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) 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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches