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.000968/0.0009679, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.773/1.773, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009189/0.0009188, allocations: 90.3 kB / 270.9 MB, free: 8.348 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.4607/0.4607, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004111, allocations: 12 kB / 431.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003149/0.1435, allocations: 2.521 MB / 492.8 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1449, allocations: 0.7451 MB / 493.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.1451, allocations: 11.94 kB / 493.5 MB, free: 7.676 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1453, allocations: 31.7 kB / 493.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1455, allocations: 87.3 kB / 493.6 MB, free: 7.559 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1458, allocations: 87.83 kB / 493.7 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004108/0.1463, allocations: 422.6 kB / 494.1 MB, free: 7.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.1465, allocations: 130.9 kB / 494.3 MB, free: 6.926 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000213/0.1467, allocations: 151.4 kB / 494.4 MB, free: 6.777 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.147, allocations: 175.2 kB / 494.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.147, allocations: 20 kB / 494.6 MB, free: 6.586 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.18e-05/0.1471, allocations: 24 kB / 494.6 MB, free: 6.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.1471, allocations: 59.75 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.351e-05/0.1472, allocations: 93.52 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.1475, allocations: 342.9 kB / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1476, allocations: 0 / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1476, allocations: 0 / 495.1 MB, free: 6.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1476, allocations: 0 / 495.1 MB, free: 6.07 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.001277/0.1489, allocations: 0.6473 MB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.1489, allocations: 8.031 kB / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.304e-05/0.149, allocations: 43.47 kB / 495.8 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.1494, allocations: 274.4 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.1495, allocations: 29 kB / 496.1 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.694e-05/0.1496, allocations: 39.95 kB / 496.1 MB, free: 4.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.1503, allocations: 346.5 kB / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.1503, allocations: 0 / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.1504, allocations: 19.94 kB / 496.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.1504, allocations: 8 kB / 496.5 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.1511, allocations: 315.8 kB / 496.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1535, allocations: 1.349 MB / 498.2 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005155/0.154, allocations: 276.8 kB / 498.4 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.1543, allocations: 173.3 kB / 498.6 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.1544, allocations: 4.266 kB / 498.6 MB, free: 2.367 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.1544, allocations: 38.84 kB / 498.6 MB, free: 2.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.1544, allocations: 0 / 498.6 MB, free: 2.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008796/0.1553, allocations: 390.4 kB / 499 MB, free: 1.934 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1553, allocations: 55.41 kB / 499.1 MB, free: 1.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.1556, allocations: 258.7 kB / 499.3 MB, free: 1.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.1557, allocations: 33.7 kB / 499.4 MB, free: 1.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.1558, allocations: 207.8 kB / 499.6 MB, free: 1.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.1559, allocations: 118.3 kB / 499.7 MB, free: 1.246 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.156, allocations: 11.94 kB / 499.7 MB, free: 1.234 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1561, allocations: 338.8 kB / 0.4883 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.1564, allocations: 108.8 kB / 0.4884 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1567, allocations: 183.5 kB / 0.4886 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.1569, allocations: 125.6 kB / 0.4887 GB, free: 468 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.157, allocations: 4 kB / 0.4887 GB, free: 464 kB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000684/0.1577, allocations: 371.1 kB / 0.4891 GB, free: 88 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1577, allocations: 8 kB / 0.4891 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.1577, allocations: 0 / 0.4891 GB, free: 80 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1577, allocations: 7.984 kB / 0.4891 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2522/0.4099, allocations: 99.91 kB / 0.4892 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/0.41, allocations: 7.828 kB / 0.4892 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.4105, allocations: 47.97 kB / 0.4892 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.4106, allocations: 13.72 kB / 0.4892 GB, free: 42.8 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.0002522/0.4108, allocations: 148 kB / 0.4894 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.4109, allocations: 43.83 kB / 0.4894 GB, free: 42.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007986/0.4117, allocations: 325.1 kB / 0.4897 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.4117, allocations: 4.453 kB / 0.4897 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.4118, allocations: 0.7969 kB / 0.4897 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4118, allocations: 2.672 kB / 0.4897 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004977/0.4123, allocations: 397.4 kB / 0.4901 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4123, allocations: 2.781 kB / 0.4901 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.4127, allocations: 86.19 kB / 0.4902 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.4127, allocations: 5.625 kB / 0.4902 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.4128, allocations: 6.562 kB / 0.4902 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.4128, allocations: 2.688 kB / 0.4902 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4128, allocations: 0.6875 kB / 0.4902 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.4137, allocations: 0.5306 MB / 0.4907 GB, free: 42.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4139, allocations: 128.4 kB / 0.4909 GB, free: 42.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.4139, allocations: 11.25 kB / 0.4909 GB, free: 42.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.4141, allocations: 18.64 kB / 0.4909 GB, free: 42.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/0.4142, allocations: 24.69 kB / 0.4909 GB, free: 42.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4143, allocations: 11.58 kB / 0.4909 GB, free: 42.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002166/0.4145, allocations: 188.7 kB / 0.4911 GB, free: 42.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.192e-06/0.4145, allocations: 0 / 0.4911 GB, free: 42.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.4149, allocations: 95.92 kB / 0.4912 GB, free: 42.12 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.0001182/0.415, allocations: 104.8 kB / 0.4913 GB, free: 42.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007047/0.4157, allocations: 287.8 kB / 0.4916 GB, free: 42.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4157, allocations: 5.125 kB / 0.4916 GB, free: 42.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.416, allocations: 137.9 kB / 0.4917 GB, free: 42.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.4165, allocations: 35.62 kB / 0.4917 GB, free: 42.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.418, allocations: 0.9636 MB / 0.4927 GB, free: 41.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.4184, allocations: 0.7877 MB / 0.4934 GB, free: 40.81 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.4185, allocations: 30.39 kB / 0.4935 GB, free: 40.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4185, allocations: 1.219 kB / 0.4935 GB, free: 40.8 MB / 378.7 MB Notification: Performance of Templates: time 0.006658/0.4252, allocations: 3.824 MB / 0.4972 GB, free: 40.51 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