Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 112.4 kB / 17.08 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 197.2 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2059/0.2059, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 63.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.125, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004471/0.1295, allocations: 2.978 MB / 0.4914 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1313, allocations: 0.7682 MB / 0.4922 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004018/0.1317, allocations: 7.938 kB / 0.4922 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.132, allocations: 63.38 kB / 0.4922 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.1324, allocations: 95.11 kB / 0.4923 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.1328, allocations: 119.8 kB / 0.4925 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.1334, allocations: 474.5 kB / 0.4929 GB, free: 7.293 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.1336, allocations: 148 kB / 0.493 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.1339, allocations: 187.3 kB / 0.4932 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.1342, allocations: 211.1 kB / 0.4934 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.1342, allocations: 36 kB / 0.4935 GB, free: 6.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.1343, allocations: 40 kB / 0.4935 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.669e-05/0.1344, allocations: 95.61 kB / 0.4936 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.1346, allocations: 203 kB / 0.4938 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004217/0.135, allocations: 470.3 kB / 0.4942 GB, free: 5.922 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.135, allocations: 0 / 0.4942 GB, free: 5.922 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.135, allocations: 0 / 0.4942 GB, free: 5.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.135, allocations: 0 / 0.4942 GB, free: 5.922 MB / 382.1 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.001352/0.1364, allocations: 0.702 MB / 0.4949 GB, free: 5.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1364, allocations: 11.89 kB / 0.4949 GB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.839e-05/0.1365, allocations: 48.38 kB / 0.495 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.1369, allocations: 287.3 kB / 0.4952 GB, free: 4.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.137, allocations: 29.38 kB / 0.4953 GB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.214e-05/0.137, allocations: 36.38 kB / 0.4953 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.1376, allocations: 350.8 kB / 0.4956 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1377, allocations: 4 kB / 0.4956 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.1377, allocations: 12 kB / 0.4957 GB, free: 4.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.1377, allocations: 12 kB / 0.4957 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.1383, allocations: 299.8 kB / 0.496 GB, free: 4.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/0.1404, allocations: 1.345 MB / 0.4973 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.1409, allocations: 272.9 kB / 0.4975 GB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.1412, allocations: 165.3 kB / 0.4977 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1412, allocations: 288 / 0.4977 GB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.1413, allocations: 38.84 kB / 0.4977 GB, free: 2.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 3.687e-06/0.1413, allocations: 4 kB / 0.4977 GB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008272/0.1421, allocations: 378.3 kB / 0.4981 GB, free: 1.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.1422, allocations: 59.39 kB / 0.4981 GB, free: 1.684 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.1425, allocations: 270.6 kB / 0.4984 GB, free: 1.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.1425, allocations: 29.7 kB / 0.4984 GB, free: 1.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.1427, allocations: 208 kB / 0.4986 GB, free: 1.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.314e-05/0.1428, allocations: 110.3 kB / 0.4987 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.1429, allocations: 74.03 kB / 0.4988 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1431, allocations: 346.8 kB / 0.4991 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.1433, allocations: 100.8 kB / 0.4992 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.1436, allocations: 175.4 kB / 0.4994 GB, free: 352 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.1441, allocations: 288.7 kB / 0.4997 GB, free: 40 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1441, allocations: 0 / 0.4997 GB, free: 40 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006566/0.1448, allocations: 374.2 kB / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.1448, allocations: 4 kB / 0.5 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1448, allocations: 8.156 kB / 0.5 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1449, allocations: 8 kB / 0.5001 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/0.1454, allocations: 103.9 kB / 0.5002 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1454, allocations: 3.938 kB / 0.5002 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.1457, allocations: 39.67 kB / 0.5002 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/0.1457, allocations: 12 kB / 0.5002 GB, free: 15.49 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.1459, allocations: 149.7 kB / 0.5003 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.118e-05/0.1459, allocations: 31.61 kB / 0.5004 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.1466, allocations: 332.3 kB / 0.5007 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1466, allocations: 4 kB / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1466, allocations: 0 / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1467, allocations: 0 / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.1471, allocations: 408.9 kB / 0.5011 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1471, allocations: 0 / 0.5011 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004088/0.1476, allocations: 83.88 kB / 0.5012 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1476, allocations: 8 kB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.1476, allocations: 4 kB / 0.5012 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.1476, allocations: 4 kB / 0.5012 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1476, allocations: 0 / 0.5012 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008247/0.1485, allocations: 0.5145 MB / 0.5017 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.1486, allocations: 128.7 kB / 0.5018 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1486, allocations: 8.062 kB / 0.5018 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1489, allocations: 15.98 kB / 0.5018 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.1489, allocations: 23.97 kB / 0.5019 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.149, allocations: 11.94 kB / 0.5019 GB, free: 13.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.1492, allocations: 194 kB / 0.5021 GB, free: 13.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1492, allocations: 0 / 0.5021 GB, free: 13.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.1495, allocations: 87.84 kB / 0.5021 GB, free: 13.41 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.1497, allocations: 103.1 kB / 0.5022 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005753/0.1503, allocations: 279.6 kB / 0.5025 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1503, allocations: 3.938 kB / 0.5025 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.1505, allocations: 131.9 kB / 0.5026 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1509, allocations: 39.08 kB / 0.5027 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1523, allocations: 0.7808 MB / 0.5034 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1528, allocations: 0.7835 MB / 0.5042 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.1529, allocations: 31.42 kB / 0.5042 GB, free: 11.21 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1529, allocations: 0 / 0.5042 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Templates: time 0.006526/0.1594, allocations: 3.965 MB / 0.5081 GB, free: 7.246 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches