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.001676/0.001675, allocations: 107.1 kB / 16.41 MB, free: 6.508 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.001509/0.001509, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.791/1.791, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2534/0.2534, allocations: 43.52 MB / 314.1 MB, free: 468 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.001613/0.001613, allocations: 67.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1501, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004346/0.1545, allocations: 2.973 MB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1559, allocations: 0.7643 MB / 0.4915 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.156, allocations: 11.94 kB / 0.4915 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.1563, allocations: 59.38 kB / 0.4916 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.1565, allocations: 99.11 kB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.1569, allocations: 119.8 kB / 0.4918 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.1573, allocations: 474.5 kB / 0.4923 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.1576, allocations: 156 kB / 0.4924 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.1578, allocations: 187.3 kB / 0.4926 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002438/0.1581, allocations: 207.1 kB / 0.4928 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.1582, allocations: 40 kB / 0.4928 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.875e-05/0.1582, allocations: 40 kB / 0.4929 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1583, allocations: 91.62 kB / 0.4929 GB, free: 6.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.1585, allocations: 199 kB / 0.4931 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.159, allocations: 470.3 kB / 0.4936 GB, free: 5.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.159, allocations: 0 / 0.4936 GB, free: 5.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1591, allocations: 0 / 0.4936 GB, free: 5.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1591, allocations: 3.938 kB / 0.4936 GB, free: 5.91 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.001597/0.1607, allocations: 0.702 MB / 0.4943 GB, free: 5.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.1607, allocations: 11.89 kB / 0.4943 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.849e-05/0.1608, allocations: 48.38 kB / 0.4943 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1612, allocations: 291.3 kB / 0.4946 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.1613, allocations: 29.38 kB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.1614, allocations: 36.38 kB / 0.4947 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006326/0.162, allocations: 346.8 kB / 0.495 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.162, allocations: 0 / 0.495 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.1621, allocations: 16 kB / 0.495 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.1621, allocations: 12 kB / 0.495 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.1627, allocations: 299.8 kB / 0.4953 GB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002256/0.165, allocations: 1.333 MB / 0.4966 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.1655, allocations: 284.9 kB / 0.4969 GB, free: 2.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.1658, allocations: 161.4 kB / 0.497 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1658, allocations: 288 / 0.497 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.1659, allocations: 34.84 kB / 0.4971 GB, free: 2.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 2.906e-06/0.1659, allocations: 0 / 0.4971 GB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008839/0.1668, allocations: 390.3 kB / 0.4974 GB, free: 1.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.1668, allocations: 55.41 kB / 0.4975 GB, free: 1.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.1671, allocations: 270.6 kB / 0.4978 GB, free: 1.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.1672, allocations: 29.7 kB / 0.4978 GB, free: 1.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.1674, allocations: 200 kB / 0.498 GB, free: 1.168 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.1675, allocations: 118.3 kB / 0.4981 GB, free: 1.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.1676, allocations: 74.03 kB / 0.4982 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1677, allocations: 342.8 kB / 0.4985 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.168, allocations: 104.8 kB / 0.4986 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.1683, allocations: 171.4 kB / 0.4987 GB, free: 348 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.1688, allocations: 292.7 kB / 0.499 GB, free: 32 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1688, allocations: 0 / 0.499 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007109/0.1696, allocations: 374.2 kB / 0.4994 GB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.1696, allocations: 6.5 kB / 0.4994 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1696, allocations: 7.938 kB / 0.4994 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1696, allocations: 8.219 kB / 0.4994 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.1701, allocations: 99.88 kB / 0.4995 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.1702, allocations: 7.938 kB / 0.4995 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003553/0.1705, allocations: 39.67 kB / 0.4995 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.1706, allocations: 15.98 kB / 0.4996 GB, free: 15.48 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.0001625/0.1707, allocations: 153.7 kB / 0.4997 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.1708, allocations: 27.62 kB / 0.4997 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/0.1716, allocations: 328.3 kB / 0.5 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1716, allocations: 4 kB / 0.5001 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1716, allocations: 3.938 kB / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1716, allocations: 0 / 0.5001 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.1721, allocations: 412.9 kB / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.1721, allocations: 0 / 0.5005 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.1725, allocations: 83.88 kB / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.1725, allocations: 4 kB / 0.5005 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.1726, allocations: 8 kB / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.1726, allocations: 4 kB / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1726, allocations: 0 / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009548/0.1736, allocations: 0.5145 MB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.1737, allocations: 124.7 kB / 0.5012 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.1738, allocations: 11.98 kB / 0.5012 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.174, allocations: 16.06 kB / 0.5012 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.598e-05/0.1741, allocations: 15.97 kB / 0.5012 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1741, allocations: 12 kB / 0.5012 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002401/0.1744, allocations: 190 kB / 0.5014 GB, free: 13.49 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1744, allocations: 0 / 0.5014 GB, free: 13.49 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003673/0.1747, allocations: 91.84 kB / 0.5015 GB, free: 13.4 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.0001313/0.1749, allocations: 103.1 kB / 0.5016 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.1755, allocations: 275.6 kB / 0.5019 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1755, allocations: 3.938 kB / 0.5019 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.1758, allocations: 135.9 kB / 0.502 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.0003667/0.1762, allocations: 36.42 kB / 0.502 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.1777, allocations: 0.744 MB / 0.5027 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.1781, allocations: 0.7835 MB / 0.5035 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.1783, allocations: 38.94 kB / 0.5035 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.362e-05/0.1784, allocations: 31.42 kB / 0.5036 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1784, allocations: 4 kB / 0.5036 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Templates: time 0.006822/0.1852, allocations: 2.702 MB / 0.5062 GB, free: 8.508 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins/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