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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 183 kB / 16.63 MB, free: 5.137 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.406/1.406, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001172/0.001172, allocations: 99.59 kB / 269.9 MB, free: 8.445 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.3749/0.3749, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 55.91 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.126, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.004938/0.1309, allocations: 3.014 MB / 490 MB, free: 9.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.1331, allocations: 0.7683 MB / 490.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.1335, allocations: 4 kB / 490.8 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.1338, allocations: 47.62 kB / 490.8 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.1343, allocations: 79.31 kB / 490.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.1348, allocations: 111.8 kB / 491 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.1359, allocations: 454.5 kB / 491.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004182/0.1363, allocations: 140.4 kB / 491.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004124/0.1367, allocations: 167.3 kB / 491.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.1371, allocations: 199.1 kB / 492 MB, free: 7.539 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.128e-05/0.1372, allocations: 28 kB / 492 MB, free: 7.512 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.035e-05/0.1373, allocations: 28 kB / 492 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.383e-05/0.1374, allocations: 79.66 kB / 492.1 MB, free: 7.406 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002512/0.1377, allocations: 190.9 kB / 492.3 MB, free: 7.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.1382, allocations: 446.3 kB / 492.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1382, allocations: 0 / 492.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1382, allocations: 0 / 492.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.1382, allocations: 0 / 492.7 MB, free: 6.781 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.001756/0.14, allocations: 0.7059 MB / 493.4 MB, free: 6.023 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.14, allocations: 8.031 kB / 493.4 MB, free: 6.016 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1402, allocations: 48.38 kB / 493.5 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.1406, allocations: 283.4 kB / 493.8 MB, free: 5.652 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.1406, allocations: 25.38 kB / 493.8 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/0.1407, allocations: 40.38 kB / 493.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.1414, allocations: 350.7 kB / 494.2 MB, free: 5.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1414, allocations: 4 kB / 494.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.1415, allocations: 16 kB / 494.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.1415, allocations: 8 kB / 494.2 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.1421, allocations: 299.8 kB / 494.5 MB, free: 4.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.1446, allocations: 1.345 MB / 495.8 MB, free: 3.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.1451, allocations: 276.9 kB / 496.1 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.1454, allocations: 157.4 kB / 496.3 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.1455, allocations: 8.266 kB / 496.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/0.1455, allocations: 38.84 kB / 496.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 2.235e-06/0.1456, allocations: 0 / 496.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008394/0.1464, allocations: 382.3 kB / 496.7 MB, free: 2.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.1465, allocations: 59.39 kB / 496.7 MB, free: 2.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1467, allocations: 258.7 kB / 497 MB, free: 2.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1468, allocations: 33.7 kB / 497 MB, free: 2.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.1469, allocations: 203.9 kB / 497.2 MB, free: 2.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.978e-05/0.147, allocations: 118.3 kB / 497.3 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.1472, allocations: 70.03 kB / 497.4 MB, free: 1.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1473, allocations: 342.8 kB / 497.7 MB, free: 1.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/0.1476, allocations: 100.8 kB / 497.8 MB, free: 1.406 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.1479, allocations: 175.5 kB / 498 MB, free: 1.207 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005006/0.1484, allocations: 292.6 kB / 498.3 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.1484, allocations: 0 / 498.3 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000641/0.149, allocations: 381.7 kB / 498.7 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1491, allocations: 8 kB / 498.7 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1491, allocations: 0 / 498.7 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.1491, allocations: 8 kB / 498.7 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.1496, allocations: 100.1 kB / 498.8 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.1496, allocations: 11.94 kB / 498.8 MB, free: 404 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.1499, allocations: 47.55 kB / 498.8 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.1499, allocations: 16 kB / 498.9 MB, free: 340 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001508/0.1501, allocations: 145.7 kB / 499 MB, free: 184 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.1501, allocations: 35.61 kB / 499 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006674/0.1508, allocations: 320.4 kB / 499.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1508, allocations: 4 kB / 499.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1508, allocations: 0 / 499.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1509, allocations: 0 / 499.3 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.1513, allocations: 409.1 kB / 499.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1514, allocations: 3.938 kB / 499.7 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.1518, allocations: 79.94 kB / 499.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1518, allocations: 0 / 499.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1518, allocations: 8 kB / 499.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1518, allocations: 0 / 499.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1518, allocations: 7.938 kB / 499.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.1541, allocations: 1.714 MB / 0.4898 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.1543, allocations: 124.6 kB / 0.4899 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.1543, allocations: 8 kB / 0.4899 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.1545, allocations: 11.98 kB / 0.4899 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.1546, allocations: 24.06 kB / 0.49 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.1547, allocations: 12.05 kB / 0.49 GB, free: 13.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.1548, allocations: 190 kB / 0.4902 GB, free: 13.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1549, allocations: 0 / 0.4902 GB, free: 13.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004839/0.1553, allocations: 115.6 kB / 0.4903 GB, free: 12.93 MB / 394.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 (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.0001111/0.1555, allocations: 111.2 kB / 0.4904 GB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005651/0.156, allocations: 275.8 kB / 0.4906 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.156, allocations: 0 / 0.4906 GB, free: 12.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002474/0.1563, allocations: 135.8 kB / 0.4908 GB, free: 12.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.1567, allocations: 28.5 kB / 0.4908 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001613/0.1583, allocations: 1.114 MB / 0.4919 GB, free: 11.22 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.1587, allocations: 0.8029 MB / 0.4927 GB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.1589, allocations: 34.94 kB / 0.4927 GB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.607e-05/0.159, allocations: 31.44 kB / 0.4927 GB, free: 10.33 MB / 394.7 MB Notification: Performance of SimCode: time 3.8e-07/0.159, allocations: 0 / 0.4927 GB, free: 10.33 MB / 394.7 MB Notification: Performance of Templates: time 0.006004/0.165, allocations: 2.621 MB / 0.4953 GB, free: 7.715 MB / 394.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches