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.001656/0.001645, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.266/2.266, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001591/0.001591, allocations: 106.8 kB / 270.9 MB, free: 13.37 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.2895/0.2895, allocations: 43.54 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004927, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1219, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004415/0.1263, allocations: 2.39 MB / 492.6 MB, free: 6.934 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1285, allocations: 0.757 MB / 493.4 MB, free: 6.168 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002709/0.1288, allocations: 8 kB / 493.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.129, allocations: 39.69 kB / 493.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.1294, allocations: 115.6 kB / 493.5 MB, free: 6.008 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004086/0.1298, allocations: 91.83 kB / 493.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.1304, allocations: 299.8 kB / 493.9 MB, free: 5.625 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.1308, allocations: 118.9 kB / 494 MB, free: 5.508 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.1311, allocations: 151.5 kB / 494.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.1315, allocations: 179.2 kB / 494.3 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.1315, allocations: 20 kB / 494.4 MB, free: 5.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.1316, allocations: 24 kB / 494.4 MB, free: 5.141 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.551e-05/0.1317, allocations: 59.75 kB / 494.4 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1319, allocations: 89.52 kB / 494.5 MB, free: 4.988 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005046/0.1324, allocations: 342.9 kB / 494.9 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1324, allocations: 4 kB / 494.9 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1324, allocations: 0 / 494.9 MB, free: 4.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1324, allocations: 0 / 494.9 MB, free: 4.648 MB / 330.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.002024/0.1345, allocations: 0.6395 MB / 495.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1345, allocations: 12.03 kB / 495.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1347, allocations: 39.53 kB / 495.6 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.1352, allocations: 282.1 kB / 495.8 MB, free: 3.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1352, allocations: 33 kB / 495.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.1353, allocations: 39.94 kB / 495.9 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.1364, allocations: 346.4 kB / 496.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.1364, allocations: 0 / 496.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.1365, allocations: 16 kB / 496.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.1365, allocations: 8 kB / 496.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.1377, allocations: 311.8 kB / 496.6 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003616/0.1413, allocations: 1.353 MB / 497.9 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008617/0.1422, allocations: 276.9 kB / 498.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.1423, allocations: 8.266 kB / 498.2 MB, free: 1.117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1423, allocations: 42.78 kB / 498.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 3.457e-06/0.1423, allocations: 0 / 498.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.001416/0.1438, allocations: 398.9 kB / 498.6 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.1438, allocations: 59.41 kB / 498.7 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004149/0.1443, allocations: 258.6 kB / 499 MB, free: 344 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.1443, allocations: 33.7 kB / 499 MB, free: 304 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.1445, allocations: 254.4 kB / 499.2 MB, free: 44 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1447, allocations: 122.2 kB / 499.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.1447, allocations: 4 kB / 499.4 MB, free: 15.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1449, allocations: 326.8 kB / 499.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004287/0.1454, allocations: 112.8 kB / 499.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004896/0.1459, allocations: 183.4 kB / 500 MB, free: 15.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004799/0.1464, allocations: 129.6 kB / 0.4884 GB, free: 15.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1464, allocations: 0 / 0.4884 GB, free: 15.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001153/0.1476, allocations: 359.2 kB / 0.4887 GB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1476, allocations: 7.438 kB / 0.4887 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.1476, allocations: 4 kB / 0.4887 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.1477, allocations: 8.172 kB / 0.4887 GB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/0.1486, allocations: 111.8 kB / 0.4888 GB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.554e-05/0.1486, allocations: 4 kB / 0.4888 GB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.1491, allocations: 47.52 kB / 0.4889 GB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.1492, allocations: 15.94 kB / 0.4889 GB, free: 14.6 MB / 346.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.0002621/0.1495, allocations: 153.8 kB / 0.489 GB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.1496, allocations: 27.62 kB / 0.4891 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1507, allocations: 336.3 kB / 0.4894 GB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.1507, allocations: 4 kB / 0.4894 GB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.1508, allocations: 3.953 kB / 0.4894 GB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1508, allocations: 0 / 0.4894 GB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.1515, allocations: 405.1 kB / 0.4898 GB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.1515, allocations: 4 kB / 0.4898 GB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007899/0.1523, allocations: 75.89 kB / 0.4899 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.1524, allocations: 8 kB / 0.4899 GB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.1524, allocations: 7.984 kB / 0.4899 GB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.1524, allocations: 7.938 kB / 0.4899 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1524, allocations: 0 / 0.4899 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.154, allocations: 0.5376 MB / 0.4904 GB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002112/0.1542, allocations: 128.6 kB / 0.4905 GB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.32e-05/0.1543, allocations: 4 kB / 0.4905 GB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.1547, allocations: 20.05 kB / 0.4906 GB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.1548, allocations: 23.97 kB / 0.4906 GB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.1549, allocations: 8 kB / 0.4906 GB, free: 12.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002965/0.1552, allocations: 193.9 kB / 0.4908 GB, free: 12.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1552, allocations: 0 / 0.4908 GB, free: 12.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005368/0.1557, allocations: 87.84 kB / 0.4909 GB, free: 12.5 MB / 346.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.0001664/0.1559, allocations: 103.2 kB / 0.491 GB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1569, allocations: 291.8 kB / 0.4912 GB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.157, allocations: 0 / 0.4912 GB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004566/0.1574, allocations: 144.2 kB / 0.4914 GB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.1578, allocations: 28.36 kB / 0.4914 GB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.1601, allocations: 0.968 MB / 0.4923 GB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004688/0.1606, allocations: 0.7952 MB / 0.4931 GB, free: 10.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.1609, allocations: 27.44 kB / 0.4931 GB, free: 10.09 MB / 346.7 MB Notification: Performance of SimCode: time 1.063e-06/0.1609, allocations: 4 kB / 0.4932 GB, free: 10.08 MB / 346.7 MB Notification: Performance of Templates: time 0.009881/0.1708, allocations: 3.73 MB / 0.4968 GB, free: 6.355 MB / 346.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