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.001008/0.001008, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.2/1.2, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007439/0.000744, allocations: 99.95 kB / 271.2 MB, free: 8.254 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.3026/0.3026, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003955, allocations: 16 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.002859/0.1286, allocations: 2.529 MB / 493.4 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.1298, allocations: 0.7373 MB / 494.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.13, allocations: 11.94 kB / 494.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1301, allocations: 39.62 kB / 494.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1303, allocations: 87.3 kB / 494.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.1305, allocations: 79.91 kB / 494.3 MB, free: 7.395 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.131, allocations: 430.5 kB / 494.7 MB, free: 6.969 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.1313, allocations: 140.6 kB / 494.9 MB, free: 6.824 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.1315, allocations: 151.4 kB / 495 MB, free: 6.676 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.1317, allocations: 175.2 kB / 495.2 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1318, allocations: 20 kB / 495.2 MB, free: 6.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.994e-05/0.1318, allocations: 20 kB / 495.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.1319, allocations: 71.69 kB / 495.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.1321, allocations: 196.8 kB / 495.5 MB, free: 6.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.1324, allocations: 339 kB / 495.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1324, allocations: 0 / 495.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1324, allocations: 0 / 495.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1324, allocations: 3.938 kB / 495.8 MB, free: 5.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.00125/0.1337, allocations: 0.6474 MB / 496.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1337, allocations: 8.031 kB / 496.5 MB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.1338, allocations: 44.47 kB / 496.5 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1341, allocations: 283.4 kB / 496.8 MB, free: 4.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.1342, allocations: 25.38 kB / 496.8 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.435e-05/0.1343, allocations: 48.22 kB / 496.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.1349, allocations: 346.8 kB / 497.2 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.1349, allocations: 4 kB / 497.2 MB, free: 4.375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.135, allocations: 23.92 kB / 497.2 MB, free: 4.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.135, allocations: 12 kB / 497.2 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006069/0.1356, allocations: 303.8 kB / 497.5 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.1377, allocations: 1.349 MB / 498.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.1382, allocations: 276.9 kB / 499.2 MB, free: 2.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002854/0.1385, allocations: 165.4 kB / 499.3 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.1385, allocations: 8.281 kB / 499.3 MB, free: 2.148 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1386, allocations: 34.84 kB / 499.4 MB, free: 2.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.014e-06/0.1386, allocations: 0 / 499.4 MB, free: 2.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008121/0.1394, allocations: 398.3 kB / 499.8 MB, free: 1.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1394, allocations: 55.41 kB / 499.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1397, allocations: 262.7 kB / 0.4883 GB, free: 1.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1397, allocations: 29.7 kB / 0.4884 GB, free: 1.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1399, allocations: 199.9 kB / 0.4886 GB, free: 1.145 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.492e-05/0.14, allocations: 122.3 kB / 0.4887 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/0.14, allocations: 7.938 kB / 0.4887 GB, free: 1.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1401, allocations: 346.8 kB / 0.489 GB, free: 0.668 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.1404, allocations: 104.8 kB / 0.4891 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.1407, allocations: 179.5 kB / 0.4893 GB, free: 372 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.1412, allocations: 296.6 kB / 0.4896 GB, free: 52 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1412, allocations: 0 / 0.4896 GB, free: 52 kB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.2253/0.3665, allocations: 373.8 kB / 0.4899 GB, free: 42.92 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.927e-05/0.3666, allocations: 5.25 kB / 0.4899 GB, free: 42.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3666, allocations: 2.062 kB / 0.4899 GB, free: 42.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.3666, allocations: 6.203 kB / 0.4899 GB, free: 42.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.3671, allocations: 109.2 kB / 0.49 GB, free: 42.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.3672, allocations: 7.25 kB / 0.4901 GB, free: 42.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3674, allocations: 43.92 kB / 0.4901 GB, free: 42.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.3675, allocations: 18.03 kB / 0.4901 GB, free: 42.92 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 () * 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.0001839/0.3677, allocations: 151.4 kB / 0.4903 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.3677, allocations: 29.47 kB / 0.4903 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006856/0.3684, allocations: 330.4 kB / 0.4906 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.3684, allocations: 8.125 kB / 0.4906 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3685, allocations: 1.219 kB / 0.4906 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3685, allocations: 2.844 kB / 0.4906 GB, free: 42.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/0.369, allocations: 399.3 kB / 0.491 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.369, allocations: 0 / 0.491 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.3694, allocations: 87.08 kB / 0.4911 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3694, allocations: 1.875 kB / 0.4911 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.3694, allocations: 5.594 kB / 0.4911 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3695, allocations: 5.562 kB / 0.4911 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3695, allocations: 0.7031 kB / 0.4911 GB, free: 42.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008752/0.3703, allocations: 0.5262 MB / 0.4916 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3705, allocations: 128.7 kB / 0.4917 GB, free: 42.31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.3705, allocations: 7.156 kB / 0.4917 GB, free: 42.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.3707, allocations: 18.28 kB / 0.4917 GB, free: 42.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.3708, allocations: 22.64 kB / 0.4918 GB, free: 42.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.3708, allocations: 9.703 kB / 0.4918 GB, free: 42.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3711, allocations: 189.7 kB / 0.492 GB, free: 42.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.3711, allocations: 0 / 0.492 GB, free: 42.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003693/0.3714, allocations: 99.45 kB / 0.4921 GB, free: 42.21 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 () * 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.000111/0.3716, allocations: 110.2 kB / 0.4922 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006438/0.3722, allocations: 285.2 kB / 0.4924 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3722, allocations: 4.812 kB / 0.4924 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.3725, allocations: 136.2 kB / 0.4926 GB, free: 42.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.3729, allocations: 32.61 kB / 0.4926 GB, free: 42.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3744, allocations: 0.9704 MB / 0.4935 GB, free: 41.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.3747, allocations: 0.7858 MB / 0.4943 GB, free: 40.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3748, allocations: 31.41 kB / 0.4943 GB, free: 40.88 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3748, allocations: 1.469 kB / 0.4943 GB, free: 40.88 MB / 378.7 MB Notification: Performance of Templates: time 0.006065/0.3809, allocations: 3.807 MB / 0.4981 GB, free: 40.59 MB / 378.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/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_cpp_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches