Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001596/0.001596, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.144/2.144, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001178/0.001178, allocations: 96.36 kB / 270.9 MB, free: 8.391 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.5169/0.5169, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004671, allocations: 12 kB / 431.4 MB, free: 6.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1714, allocations: 58.85 MB / 490.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5552/0.7267, allocations: 90.02 MB / 0.5666 GB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.727, allocations: 67.97 kB / 0.5667 GB, free: 12.66 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02472/0.7517, allocations: 5.617 MB / 0.5722 GB, free: 7.074 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7518, allocations: 3.938 kB / 0.5722 GB, free: 7.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.834e-05/0.7518, allocations: 12 kB / 0.5722 GB, free: 7.059 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.001677/0.7535, allocations: 0.634 MB / 0.5728 GB, free: 6.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.7536, allocations: 8.031 kB / 0.5728 GB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.7537, allocations: 39.53 kB / 0.5729 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004636/0.7542, allocations: 274.6 kB / 0.5731 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.7542, allocations: 30.03 kB / 0.5732 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.897e-05/0.7543, allocations: 36 kB / 0.5732 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009952/0.7554, allocations: 347.8 kB / 0.5735 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.7554, allocations: 0 / 0.5735 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.7555, allocations: 19.98 kB / 0.5735 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.7555, allocations: 12 kB / 0.5736 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.7566, allocations: 311.8 kB / 0.5738 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003457/0.76, allocations: 1.359 MB / 0.5752 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008555/0.7609, allocations: 277.9 kB / 0.5754 GB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.762e-05/0.761, allocations: 8.281 kB / 0.5754 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.761, allocations: 38.84 kB / 0.5755 GB, free: 3.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.085e-06/0.7611, allocations: 0 / 0.5755 GB, free: 3.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001374/0.7624, allocations: 391.9 kB / 0.5759 GB, free: 3.105 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.7625, allocations: 59.34 kB / 0.5759 GB, free: 3.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.7629, allocations: 237.8 kB / 0.5761 GB, free: 2.801 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.7629, allocations: 29.7 kB / 0.5762 GB, free: 2.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.7631, allocations: 262.4 kB / 0.5764 GB, free: 2.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.7633, allocations: 118.2 kB / 0.5765 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.7633, allocations: 12 kB / 0.5765 GB, free: 2.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7635, allocations: 326.8 kB / 0.5769 GB, free: 2.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.7639, allocations: 108.8 kB / 0.577 GB, free: 1.941 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004874/0.7644, allocations: 179.5 kB / 0.5771 GB, free: 1.742 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004747/0.7649, allocations: 125.6 kB / 0.5773 GB, free: 1.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.7649, allocations: 3.938 kB / 0.5773 GB, free: 1.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001103/0.766, allocations: 355.3 kB / 0.5776 GB, free: 1.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.7661, allocations: 5.406 kB / 0.5776 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7661, allocations: 8.219 kB / 0.5776 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.7661, allocations: 7.984 kB / 0.5776 GB, free: 1.246 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/0.767, allocations: 99.81 kB / 0.5777 GB, free: 1.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.767, allocations: 4.625 kB / 0.5777 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.7675, allocations: 51.52 kB / 0.5778 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.904e-05/0.7676, allocations: 19.98 kB / 0.5778 GB, free: 1.074 MB / 394.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.0002506/0.7679, allocations: 153.7 kB / 0.5779 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/0.768, allocations: 31.62 kB / 0.578 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.7691, allocations: 338.5 kB / 0.5783 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.7691, allocations: 4 kB / 0.5783 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7691, allocations: 7.938 kB / 0.5783 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.7691, allocations: 3.984 kB / 0.5783 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.7698, allocations: 409 kB / 0.5787 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.7699, allocations: 0 / 0.5787 GB, free: 88 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/0.7706, allocations: 87.88 kB / 0.5788 GB, free: 0 / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.7707, allocations: 0 / 0.5788 GB, free: 0 / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.7707, allocations: 8.078 kB / 0.5788 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.7707, allocations: 0 / 0.5788 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.897e-06/0.7707, allocations: 3.984 kB / 0.5788 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.7722, allocations: 0.5322 MB / 0.5793 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.7724, allocations: 132.7 kB / 0.5794 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.7725, allocations: 8 kB / 0.5794 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.7729, allocations: 15.98 kB / 0.5795 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.773, allocations: 19.97 kB / 0.5795 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.773, allocations: 8 kB / 0.5795 GB, free: 15.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002901/0.7733, allocations: 193.9 kB / 0.5797 GB, free: 15.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7734, allocations: 0 / 0.5797 GB, free: 15.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005727/0.7739, allocations: 87.84 kB / 0.5797 GB, free: 14.96 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.0001606/0.7741, allocations: 111.2 kB / 0.5799 GB, free: 14.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009606/0.7751, allocations: 291.9 kB / 0.5801 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7751, allocations: 448 / 0.5801 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.7756, allocations: 147.8 kB / 0.5803 GB, free: 14.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.7759, allocations: 20.55 kB / 0.5803 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/0.7781, allocations: 0.9855 MB / 0.5813 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.7786, allocations: 0.7952 MB / 0.582 GB, free: 12.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002205/0.7788, allocations: 31.42 kB / 0.5821 GB, free: 12.53 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7789, allocations: 0 / 0.5821 GB, free: 12.53 MB / 410.7 MB Notification: Performance of Templates: time 0.00905/0.7879, allocations: 3.744 MB / 0.5857 GB, free: 8.805 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches