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.001055/0.001055, allocations: 172.8 kB / 8 MB, free: 1.074 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.551/1.551, allocations: 205.3 MB / 213.7 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 90.16 kB / 261.7 MB, free: 1.609 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.2083/0.2083, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.215e-05/1.216e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/0.475, allocations: 89.27 MB / 0.5531 GB, free: 6.223 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.4753, allocations: 66.66 kB / 0.5532 GB, free: 6.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.4888, allocations: 5.547 MB / 0.5586 GB, free: 1.504 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4888, allocations: 192 / 0.5586 GB, free: 1.504 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.811e-05/0.4889, allocations: 12 kB / 0.5586 GB, free: 1.492 MB / 362.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.001017/0.4899, allocations: 0.61 MB / 0.5592 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.49, allocations: 8.031 kB / 0.5592 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.4901, allocations: 47.73 kB / 0.5592 GB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003401/0.4904, allocations: 273.3 kB / 0.5595 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.4905, allocations: 12 kB / 0.5595 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.744e-05/0.4905, allocations: 23.94 kB / 0.5595 GB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004072/0.4909, allocations: 249.4 kB / 0.5598 GB, free: 340 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.4913, allocations: 267.1 kB / 0.56 GB, free: 132 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.4914, allocations: 0 / 0.56 GB, free: 132 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.4914, allocations: 0 / 0.56 GB, free: 132 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4914, allocations: 12 kB / 0.56 GB, free: 120 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002251/0.4937, allocations: 1.274 MB / 0.5613 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000373/0.4941, allocations: 243.5 kB / 0.5615 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/0.4943, allocations: 135.8 kB / 0.5616 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4943, allocations: 4.281 kB / 0.5617 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.4944, allocations: 38.84 kB / 0.5617 GB, free: 14.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.034e-06/0.4944, allocations: 0 / 0.5617 GB, free: 14.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004671/0.4948, allocations: 231.8 kB / 0.5619 GB, free: 14.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4949, allocations: 55.41 kB / 0.562 GB, free: 14.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.4951, allocations: 195.5 kB / 0.5621 GB, free: 14.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.4952, allocations: 25.7 kB / 0.5622 GB, free: 14.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.4953, allocations: 205.5 kB / 0.5624 GB, free: 14.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.707e-05/0.4954, allocations: 120.2 kB / 0.5625 GB, free: 13.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.4954, allocations: 4 kB / 0.5625 GB, free: 13.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4956, allocations: 338.3 kB / 0.5628 GB, free: 13.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.4958, allocations: 88.38 kB / 0.5629 GB, free: 13.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.4959, allocations: 139.7 kB / 0.563 GB, free: 13.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.4961, allocations: 101.4 kB / 0.5631 GB, free: 13.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.4962, allocations: 4 kB / 0.5631 GB, free: 13.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004609/0.4966, allocations: 295.9 kB / 0.5634 GB, free: 13.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4967, allocations: 4.219 kB / 0.5634 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.4967, allocations: 12 kB / 0.5634 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4967, allocations: 4 kB / 0.5634 GB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.4972, allocations: 106.9 kB / 0.5635 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4972, allocations: 4 kB / 0.5635 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.4975, allocations: 31.67 kB / 0.5636 GB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.4975, allocations: 19.17 kB / 0.5636 GB, free: 13 MB / 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 () * 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.0001103/0.4977, allocations: 112.9 kB / 0.5637 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.66e-05/0.4977, allocations: 27.62 kB / 0.5637 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.4982, allocations: 269.6 kB / 0.564 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.4982, allocations: 4 kB / 0.564 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.4982, allocations: 0 / 0.564 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4983, allocations: 7.922 kB / 0.564 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004541/0.4987, allocations: 343.1 kB / 0.5643 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4987, allocations: 3.953 kB / 0.5643 GB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.4992, allocations: 90.56 kB / 0.5644 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.4992, allocations: 0 / 0.5644 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.4992, allocations: 3.938 kB / 0.5644 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4992, allocations: 0 / 0.5644 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4992, allocations: 4 kB / 0.5644 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.4998, allocations: 446 kB / 0.5648 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.5, allocations: 131.2 kB / 0.565 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.5, allocations: 4.047 kB / 0.565 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5003, allocations: 12 kB / 0.565 GB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.5003, allocations: 23.52 kB / 0.565 GB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.5003, allocations: 11.98 kB / 0.565 GB, free: 11.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001339/0.5005, allocations: 155.2 kB / 0.5652 GB, free: 11.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5005, allocations: 3.938 kB / 0.5652 GB, free: 11.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.5009, allocations: 83.69 kB / 0.5652 GB, free: 11.5 MB / 378.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 () * 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.0001235/0.501, allocations: 99.25 kB / 0.5653 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003723/0.5014, allocations: 222.6 kB / 0.5655 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.5014, allocations: 0 / 0.5655 GB, free: 11.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.5015, allocations: 120.6 kB / 0.5657 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.5018, allocations: 22.3 kB / 0.5657 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.503, allocations: 0.5171 MB / 0.5662 GB, free: 10.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.5033, allocations: 0.7955 MB / 0.567 GB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001977/0.5035, allocations: 31.27 kB / 0.567 GB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.5036, allocations: 27.42 kB / 0.567 GB, free: 9.773 MB / 378.7 MB Notification: Performance of SimCode: time 5.1e-07/0.5036, allocations: 0 / 0.567 GB, free: 9.773 MB / 378.7 MB Notification: Performance of Templates: time 0.005466/0.5091, allocations: 2.12 MB / 0.5691 GB, free: 7.668 MB / 378.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