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.001246/0.001246, allocations: 176.2 kB / 16.76 MB, free: 5.047 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.592/1.592, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008531/0.0008529, allocations: 88.28 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3622/0.3622, allocations: 43.57 MB / 363.1 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004148, allocations: 19.98 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 58.83 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.5024, allocations: 90.07 MB / 0.5679 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.5026, allocations: 67.97 kB / 0.568 GB, free: 11.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.5176, allocations: 5.62 MB / 0.5734 GB, free: 6.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5176, allocations: 0 / 0.5734 GB, free: 6.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.5177, allocations: 8 kB / 0.5735 GB, free: 6.141 MB / 394.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.001096/0.5188, allocations: 0.6354 MB / 0.5741 GB, free: 5.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.5188, allocations: 8.031 kB / 0.5741 GB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.637e-05/0.5189, allocations: 48.41 kB / 0.5741 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.5193, allocations: 291.4 kB / 0.5744 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.5194, allocations: 29.38 kB / 0.5744 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.623e-05/0.5195, allocations: 44.36 kB / 0.5745 GB, free: 5.008 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.5201, allocations: 343 kB / 0.5748 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.5201, allocations: 192 / 0.5748 GB, free: 4.668 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.5202, allocations: 19.94 kB / 0.5748 GB, free: 4.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.5202, allocations: 12 kB / 0.5748 GB, free: 4.637 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.5208, allocations: 311.8 kB / 0.5751 GB, free: 4.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.5231, allocations: 1.354 MB / 0.5765 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.5236, allocations: 281.9 kB / 0.5767 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.5239, allocations: 169.4 kB / 0.5769 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.5239, allocations: 8.219 kB / 0.5769 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.524, allocations: 30.84 kB / 0.5769 GB, free: 2.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.524, allocations: 0 / 0.5769 GB, free: 2.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008724/0.5249, allocations: 395.3 kB / 0.5773 GB, free: 1.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.5249, allocations: 59.34 kB / 0.5774 GB, free: 1.922 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.5252, allocations: 258.7 kB / 0.5776 GB, free: 1.664 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.5253, allocations: 33.7 kB / 0.5776 GB, free: 1.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.5254, allocations: 207.9 kB / 0.5778 GB, free: 1.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.5255, allocations: 118.3 kB / 0.5779 GB, free: 1.301 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.907e-05/0.5255, allocations: 8 kB / 0.578 GB, free: 1.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5257, allocations: 342.8 kB / 0.5783 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.5259, allocations: 108.8 kB / 0.5784 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.5262, allocations: 175.5 kB / 0.5786 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.5268, allocations: 300.6 kB / 0.5788 GB, free: 340 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.5268, allocations: 0 / 0.5788 GB, free: 340 kB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000749/0.5275, allocations: 382.7 kB / 0.5792 GB, free: 15.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.5276, allocations: 8 kB / 0.5792 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.5276, allocations: 4 kB / 0.5792 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5276, allocations: 4 kB / 0.5792 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.5281, allocations: 107.8 kB / 0.5793 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.5281, allocations: 4 kB / 0.5793 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.5284, allocations: 51.52 kB / 0.5794 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.5284, allocations: 12 kB / 0.5794 GB, free: 15.77 MB / 410.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.0001772/0.5286, allocations: 153.8 kB / 0.5795 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-05/0.5287, allocations: 31.66 kB / 0.5796 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006357/0.5293, allocations: 338.4 kB / 0.5799 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5294, allocations: 8 kB / 0.5799 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5294, allocations: 0 / 0.5799 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.5294, allocations: 11.92 kB / 0.5799 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.5299, allocations: 393.2 kB / 0.5803 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.5299, allocations: 7.875 kB / 0.5803 GB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.5303, allocations: 87.88 kB / 0.5804 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5303, allocations: 0 / 0.5804 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.5304, allocations: 8 kB / 0.5804 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5304, allocations: 0 / 0.5804 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5304, allocations: 4 kB / 0.5804 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009036/0.5313, allocations: 0.5285 MB / 0.5809 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.5314, allocations: 136.5 kB / 0.581 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.5315, allocations: 8 kB / 0.581 GB, free: 13.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.5317, allocations: 15.98 kB / 0.5811 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.5318, allocations: 23.91 kB / 0.5811 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.5318, allocations: 8 kB / 0.5811 GB, free: 13.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001791/0.532, allocations: 186 kB / 0.5813 GB, free: 13.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.532, allocations: 0 / 0.5813 GB, free: 13.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.5324, allocations: 99.81 kB / 0.5814 GB, free: 13.65 MB / 410.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.0001428/0.5325, allocations: 107.2 kB / 0.5815 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005645/0.5331, allocations: 288.1 kB / 0.5817 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5331, allocations: 0 / 0.5817 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.5334, allocations: 139.8 kB / 0.5819 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.5338, allocations: 36.48 kB / 0.5819 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.5352, allocations: 0.949 MB / 0.5828 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.5356, allocations: 0.7835 MB / 0.5836 GB, free: 11.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.5358, allocations: 30.95 kB / 0.5836 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.705e-05/0.5359, allocations: 35.42 kB / 0.5837 GB, free: 11.24 MB / 410.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5359, allocations: 4 kB / 0.5837 GB, free: 11.23 MB / 410.7 MB Notification: Performance of Templates: time 0.005475/0.5414, allocations: 2.364 MB / 0.586 GB, free: 8.891 MB / 410.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/jenkins1/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