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.00157/0.00157, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.169/2.169, allocations: 205.4 MB / 223.6 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.0008744/0.0008741, allocations: 92.88 kB / 271.9 MB, free: 8.266 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.3235/0.3235, allocations: 43.56 MB / 363.8 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000574/0.0005741, allocations: 15.98 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1179, allocations: 58.84 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4711/0.5891, allocations: 90.06 MB / 0.5679 GB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5895, allocations: 78.5 kB / 0.5679 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01613/0.6056, allocations: 5.612 MB / 0.5734 GB, free: 6.719 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6057, allocations: 4 kB / 0.5734 GB, free: 6.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.897e-05/0.6057, allocations: 8 kB / 0.5734 GB, free: 6.707 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.001069/0.6068, allocations: 0.631 MB / 0.5741 GB, free: 6.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6068, allocations: 12.03 kB / 0.5741 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.732e-05/0.6069, allocations: 40.47 kB / 0.5741 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.6072, allocations: 299.3 kB / 0.5744 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.6073, allocations: 29.38 kB / 0.5744 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.6073, allocations: 36.38 kB / 0.5744 GB, free: 5.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.608, allocations: 347 kB / 0.5748 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.6081, allocations: 192 / 0.5748 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.6081, allocations: 19.94 kB / 0.5748 GB, free: 5.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.6081, allocations: 8 kB / 0.5748 GB, free: 5.211 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.6088, allocations: 311.8 kB / 0.5751 GB, free: 4.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.6111, allocations: 1.365 MB / 0.5764 GB, free: 3.445 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004944/0.6116, allocations: 281.9 kB / 0.5767 GB, free: 3.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.6119, allocations: 161.4 kB / 0.5769 GB, free: 3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.111e-05/0.612, allocations: 8.219 kB / 0.5769 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.612, allocations: 38.84 kB / 0.5769 GB, free: 2.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.707e-06/0.612, allocations: 0 / 0.5769 GB, free: 2.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.000859/0.6129, allocations: 391.3 kB / 0.5773 GB, free: 2.559 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.6129, allocations: 59.34 kB / 0.5773 GB, free: 2.488 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.6133, allocations: 258.7 kB / 0.5776 GB, free: 2.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.6133, allocations: 37.64 kB / 0.5776 GB, free: 2.188 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.6135, allocations: 211.9 kB / 0.5778 GB, free: 1.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/0.6136, allocations: 118.3 kB / 0.5779 GB, free: 1.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.6136, allocations: 8 kB / 0.5779 GB, free: 1.852 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.6138, allocations: 338.8 kB / 0.5783 GB, free: 1.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.6141, allocations: 104.8 kB / 0.5784 GB, free: 1.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.6144, allocations: 179.5 kB / 0.5785 GB, free: 1.207 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.6149, allocations: 300.6 kB / 0.5788 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6149, allocations: 0 / 0.5788 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000669/0.6156, allocations: 378.7 kB / 0.5792 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.6156, allocations: 8 kB / 0.5792 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6156, allocations: 4.625 kB / 0.5792 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.6157, allocations: 4 kB / 0.5792 GB, free: 0.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.6162, allocations: 107.8 kB / 0.5793 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.6162, allocations: 4 kB / 0.5793 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.6165, allocations: 51.52 kB / 0.5794 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.6165, allocations: 8 kB / 0.5794 GB, free: 340 kB / 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.0001804/0.6167, allocations: 153.8 kB / 0.5795 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.6167, allocations: 27.66 kB / 0.5795 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006874/0.6174, allocations: 350.4 kB / 0.5799 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.6175, allocations: 8 kB / 0.5799 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.6175, allocations: 0 / 0.5799 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.6175, allocations: 0 / 0.5799 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.618, allocations: 401.1 kB / 0.5803 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.618, allocations: 3.938 kB / 0.5803 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.6184, allocations: 91.81 kB / 0.5803 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.6184, allocations: 4 kB / 0.5804 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.6185, allocations: 4 kB / 0.5804 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6185, allocations: 0 / 0.5804 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6185, allocations: 8 kB / 0.5804 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.6194, allocations: 0.5246 MB / 0.5809 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.6195, allocations: 140.5 kB / 0.581 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.6196, allocations: 8 kB / 0.581 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.6198, allocations: 15.98 kB / 0.581 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.6199, allocations: 23.97 kB / 0.5811 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.6199, allocations: 4 kB / 0.5811 GB, free: 14.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.6201, allocations: 194 kB / 0.5812 GB, free: 14.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6201, allocations: 0 / 0.5812 GB, free: 14.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.6205, allocations: 91.81 kB / 0.5813 GB, free: 14.21 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.0001309/0.6206, allocations: 107.2 kB / 0.5814 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.6212, allocations: 288.1 kB / 0.5817 GB, free: 13.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6212, allocations: 4.125 kB / 0.5817 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.6215, allocations: 139.8 kB / 0.5818 GB, free: 13.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.6219, allocations: 28.5 kB / 0.5819 GB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.6234, allocations: 0.9895 MB / 0.5828 GB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.6237, allocations: 0.7835 MB / 0.5836 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.6239, allocations: 31.42 kB / 0.5836 GB, free: 11.79 MB / 410.7 MB Notification: Performance of SimCode: time 4.31e-07/0.6239, allocations: 0 / 0.5836 GB, free: 11.79 MB / 410.7 MB Notification: Performance of Templates: time 0.006016/0.6299, allocations: 3.806 MB / 0.5874 GB, free: 7.996 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