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.002073/0.002073, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.964/1.964, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 99.81 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2878/0.2878, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.872e-05/1.871e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3922, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.554, allocations: 89.27 MB / 0.5531 GB, free: 10.04 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/0.5543, allocations: 71.95 kB / 0.5531 GB, free: 9.965 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02634/0.5807, allocations: 5.56 MB / 0.5586 GB, free: 4.383 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5807, allocations: 0 / 0.5586 GB, free: 4.383 MB / 395.1 MB Notification: Performance of Transformations before backend: time 3.348e-05/0.5808, allocations: 12 kB / 0.5586 GB, free: 4.371 MB / 395.1 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.001654/0.5825, allocations: 0.5961 MB / 0.5592 GB, free: 3.73 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5825, allocations: 8.031 kB / 0.5592 GB, free: 3.723 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.5827, allocations: 51.73 kB / 0.5592 GB, free: 3.672 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.5832, allocations: 275.2 kB / 0.5595 GB, free: 3.363 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.5832, allocations: 12 kB / 0.5595 GB, free: 3.352 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.5833, allocations: 23.94 kB / 0.5595 GB, free: 3.328 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008135/0.5841, allocations: 249.5 kB / 0.5598 GB, free: 3.082 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007694/0.5849, allocations: 258.2 kB / 0.56 GB, free: 2.824 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.585, allocations: 3.828 kB / 0.56 GB, free: 2.824 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.204e-05/0.585, allocations: 0 / 0.56 GB, free: 2.824 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.5851, allocations: 12 kB / 0.56 GB, free: 2.812 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003739/0.5888, allocations: 1.284 MB / 0.5613 GB, free: 1.441 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.5895, allocations: 236.2 kB / 0.5615 GB, free: 1.199 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.5899, allocations: 137.4 kB / 0.5616 GB, free: 1.062 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.923e-05/0.5899, allocations: 4.281 kB / 0.5616 GB, free: 1.059 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.59, allocations: 30.84 kB / 0.5617 GB, free: 1.02 MB / 395.1 MB Notification: Performance of pre-optimization done (n=34): time 3.366e-06/0.59, allocations: 0 / 0.5617 GB, free: 1.02 MB / 395.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007989/0.5908, allocations: 239.8 kB / 0.5619 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.5909, allocations: 55.41 kB / 0.5619 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.5912, allocations: 196.5 kB / 0.5621 GB, free: 0.5117 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.446e-05/0.5913, allocations: 25.7 kB / 0.5622 GB, free: 492 kB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.5915, allocations: 270.4 kB / 0.5624 GB, free: 220 kB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5916, allocations: 122.1 kB / 0.5625 GB, free: 96 kB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.5916, allocations: 0 / 0.5625 GB, free: 96 kB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5918, allocations: 330.8 kB / 0.5628 GB, free: 15.76 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.5921, allocations: 84.88 kB / 0.5629 GB, free: 15.68 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.5924, allocations: 142.7 kB / 0.5631 GB, free: 15.52 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.5928, allocations: 109.5 kB / 0.5632 GB, free: 15.41 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5928, allocations: 0 / 0.5632 GB, free: 15.41 MB / 411.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007966/0.5936, allocations: 279.2 kB / 0.5634 GB, free: 15.13 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.5936, allocations: 8 kB / 0.5634 GB, free: 15.12 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.5936, allocations: 0 / 0.5634 GB, free: 15.12 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.5937, allocations: 4 kB / 0.5634 GB, free: 15.12 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009636/0.5946, allocations: 112.1 kB / 0.5635 GB, free: 15.01 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5947, allocations: 0 / 0.5635 GB, free: 15.01 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.5952, allocations: 35.67 kB / 0.5636 GB, free: 14.98 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.5952, allocations: 12 kB / 0.5636 GB, free: 14.96 MB / 411.1 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 () * 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.0001331/0.5954, allocations: 116.8 kB / 0.5637 GB, free: 14.84 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/0.5955, allocations: 27.7 kB / 0.5637 GB, free: 14.82 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.5962, allocations: 268.7 kB / 0.564 GB, free: 14.55 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.5963, allocations: 7.984 kB / 0.564 GB, free: 14.54 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5963, allocations: 0 / 0.564 GB, free: 14.54 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5963, allocations: 0 / 0.564 GB, free: 14.54 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/0.597, allocations: 337.8 kB / 0.5643 GB, free: 14.17 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.597, allocations: 3.953 kB / 0.5643 GB, free: 14.17 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000797/0.5978, allocations: 83.88 kB / 0.5644 GB, free: 14.09 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.5978, allocations: 4 kB / 0.5644 GB, free: 14.08 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.5979, allocations: 4 kB / 0.5644 GB, free: 14.08 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.5979, allocations: 4 kB / 0.5644 GB, free: 14.07 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.5979, allocations: 0 / 0.5644 GB, free: 14.07 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.5989, allocations: 454.7 kB / 0.5648 GB, free: 13.61 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.5992, allocations: 136.6 kB / 0.565 GB, free: 13.46 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.388e-05/0.5992, allocations: 0 / 0.565 GB, free: 13.46 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.5996, allocations: 8 kB / 0.565 GB, free: 13.45 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.655e-05/0.5997, allocations: 23.95 kB / 0.565 GB, free: 13.43 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.5998, allocations: 12.06 kB / 0.565 GB, free: 13.42 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.6, allocations: 156.5 kB / 0.5652 GB, free: 13.26 MB / 411.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6, allocations: 0 / 0.5652 GB, free: 13.26 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005282/0.6006, allocations: 83.69 kB / 0.5652 GB, free: 13.18 MB / 411.1 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 () * 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.0001749/0.6007, allocations: 95.19 kB / 0.5653 GB, free: 13.08 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0007161/0.6015, allocations: 231.6 kB / 0.5656 GB, free: 12.85 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6015, allocations: 448 / 0.5656 GB, free: 12.85 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.6018, allocations: 124.5 kB / 0.5657 GB, free: 12.73 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.6022, allocations: 16.31 kB / 0.5657 GB, free: 12.71 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.6041, allocations: 0.5395 MB / 0.5662 GB, free: 12.15 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.6046, allocations: 0.7955 MB / 0.567 GB, free: 11.33 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.6049, allocations: 27.42 kB / 0.567 GB, free: 11.3 MB / 411.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6049, allocations: 0 / 0.567 GB, free: 11.3 MB / 411.1 MB Notification: Performance of Templates: time 0.009588/0.6145, allocations: 3.629 MB / 0.5706 GB, free: 7.68 MB / 411.1 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