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.001469/0.001469, allocations: 181.7 kB / 13.66 MB, free: 1.664 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.113/2.113, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001051/0.001051, allocations: 90.66 kB / 267.5 MB, free: 14.11 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.2774/0.2774, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.218e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1136, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.599, allocations: 89.92 MB / 0.5606 GB, free: 13.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.5993, allocations: 74.92 kB / 0.5607 GB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02558/0.6249, allocations: 5.608 MB / 0.5662 GB, free: 8.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.625, allocations: 0 / 0.5662 GB, free: 8.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.154e-05/0.625, allocations: 11.98 kB / 0.5662 GB, free: 8.859 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.00161/0.6267, allocations: 0.5925 MB / 0.5667 GB, free: 8.246 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.6267, allocations: 12.03 kB / 0.5668 GB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.6269, allocations: 47.73 kB / 0.5668 GB, free: 8.188 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.6274, allocations: 276.8 kB / 0.5671 GB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.6275, allocations: 27.78 kB / 0.5671 GB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-05/0.6276, allocations: 41.62 kB / 0.5671 GB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.6284, allocations: 315.2 kB / 0.5674 GB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.6285, allocations: 0 / 0.5674 GB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.193e-05/0.6285, allocations: 19.06 kB / 0.5674 GB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.6285, allocations: 8 kB / 0.5675 GB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007821/0.6293, allocations: 266.4 kB / 0.5677 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.6329, allocations: 1.36 MB / 0.569 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.6336, allocations: 271.6 kB / 0.5693 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.634, allocations: 140.8 kB / 0.5694 GB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.6341, allocations: 8.219 kB / 0.5694 GB, free: 5.977 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6341, allocations: 38.16 kB / 0.5695 GB, free: 5.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.276e-06/0.6341, allocations: 0 / 0.5695 GB, free: 5.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007633/0.6349, allocations: 260.5 kB / 0.5697 GB, free: 5.734 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.635, allocations: 51.41 kB / 0.5698 GB, free: 5.672 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.6353, allocations: 239.3 kB / 0.57 GB, free: 5.473 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.6354, allocations: 29.64 kB / 0.57 GB, free: 5.441 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.6355, allocations: 252.7 kB / 0.5703 GB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.6357, allocations: 127.2 kB / 0.5704 GB, free: 5.113 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.6357, allocations: 11.12 kB / 0.5704 GB, free: 5.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.6359, allocations: 329.5 kB / 0.5707 GB, free: 4.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/0.6361, allocations: 95.55 kB / 0.5708 GB, free: 4.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003304/0.6365, allocations: 152.4 kB / 0.571 GB, free: 4.586 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003353/0.6368, allocations: 113.4 kB / 0.5711 GB, free: 4.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6369, allocations: 0 / 0.5711 GB, free: 4.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008387/0.6377, allocations: 326.7 kB / 0.5714 GB, free: 4.266 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.6378, allocations: 4 kB / 0.5714 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6378, allocations: 4 kB / 0.5714 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.6378, allocations: 224 / 0.5714 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009848/0.6388, allocations: 111.1 kB / 0.5715 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/0.6388, allocations: 4 kB / 0.5715 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005139/0.6394, allocations: 50.72 kB / 0.5715 GB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.6394, allocations: 8 kB / 0.5715 GB, free: 4.098 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.0001391/0.6396, allocations: 127.5 kB / 0.5717 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.6397, allocations: 35.31 kB / 0.5717 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.6405, allocations: 298.8 kB / 0.572 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6405, allocations: 4 kB / 0.572 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6406, allocations: 0 / 0.572 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.6406, allocations: 3.984 kB / 0.572 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/0.6413, allocations: 399.2 kB / 0.5724 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6413, allocations: 0 / 0.5724 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/0.6422, allocations: 87.69 kB / 0.5725 GB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.6422, allocations: 4 kB / 0.5725 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.6423, allocations: 11.67 kB / 0.5725 GB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-06/0.6423, allocations: 4 kB / 0.5725 GB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6423, allocations: 0 / 0.5725 GB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001099/0.6434, allocations: 486.3 kB / 0.5729 GB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.6436, allocations: 134 kB / 0.5731 GB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.6437, allocations: 10.12 kB / 0.5731 GB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.6441, allocations: 18.36 kB / 0.5731 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.6442, allocations: 22.41 kB / 0.5731 GB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.6443, allocations: 7.062 kB / 0.5731 GB, free: 2.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002808/0.6446, allocations: 192.7 kB / 0.5733 GB, free: 2.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6446, allocations: 3.938 kB / 0.5733 GB, free: 2.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005117/0.6451, allocations: 87.78 kB / 0.5734 GB, free: 2.473 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.0001628/0.6453, allocations: 104.3 kB / 0.5735 GB, free: 2.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007349/0.646, allocations: 256.4 kB / 0.5737 GB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6461, allocations: 0 / 0.5737 GB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.6464, allocations: 119.4 kB / 0.5739 GB, free: 2.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.6468, allocations: 34.97 kB / 0.5739 GB, free: 2.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.6486, allocations: 0.5618 MB / 0.5744 GB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.649, allocations: 0.7952 MB / 0.5752 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.6492, allocations: 35.42 kB / 0.5752 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6492, allocations: 3.938 kB / 0.5752 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of Templates: time 0.009542/0.6588, allocations: 3.741 MB / 0.5789 GB, free: 12.99 MB / 394.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