Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 230.2 MB / 255.1 MB, free: 15.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2504/0.2504, allocations: 46.89 MB / 358.1 MB, free: 10.53 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 79.88 kB / 0.4924 GB, free: 8.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1347, allocations: 65.99 MB / 0.5568 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004746/0.1394, allocations: 3.025 MB / 0.5597 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1409, allocations: 0.7751 MB / 0.5605 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.1411, allocations: 11.94 kB / 0.5605 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.1413, allocations: 55.39 kB / 0.5606 GB, free: 2.023 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.1415, allocations: 99.11 kB / 0.5607 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.1418, allocations: 127.8 kB / 0.5608 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.1424, allocations: 470.6 kB / 0.5612 GB, free: 1.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.1426, allocations: 112 kB / 0.5613 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.1429, allocations: 195.3 kB / 0.5615 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1432, allocations: 207.1 kB / 0.5617 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.306e-05/0.1433, allocations: 36 kB / 0.5618 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.781e-05/0.1434, allocations: 44 kB / 0.5618 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.1435, allocations: 95.61 kB / 0.5619 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.1437, allocations: 203 kB / 0.5621 GB, free: 464 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005528/0.1442, allocations: 474.1 kB / 0.5625 GB, free: 15.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1442, allocations: 0 / 0.5625 GB, free: 15.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1442, allocations: 0 / 0.5625 GB, free: 15.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1442, allocations: 0 / 0.5625 GB, free: 15.98 MB / 430.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.001476/0.1457, allocations: 0.717 MB / 0.5632 GB, free: 15.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1457, allocations: 8.031 kB / 0.5632 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.146, allocations: 60.64 kB / 0.5633 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.1465, allocations: 299.3 kB / 0.5636 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.1465, allocations: 29.38 kB / 0.5636 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.81e-05/0.1466, allocations: 40.36 kB / 0.5637 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007416/0.1474, allocations: 354.8 kB / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.1474, allocations: 0 / 0.564 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.1474, allocations: 16 kB / 0.564 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1474, allocations: 8 kB / 0.564 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.1481, allocations: 299.8 kB / 0.5643 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002348/0.1505, allocations: 1.337 MB / 0.5656 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.151, allocations: 256.9 kB / 0.5659 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.1513, allocations: 137.3 kB / 0.566 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.1513, allocations: 4.281 kB / 0.566 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1514, allocations: 42.77 kB / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.1514, allocations: 0 / 0.566 GB, free: 12.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008725/0.1522, allocations: 379.5 kB / 0.5664 GB, free: 11.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.1523, allocations: 59.34 kB / 0.5664 GB, free: 11.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.1526, allocations: 258.7 kB / 0.5667 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.1526, allocations: 33.7 kB / 0.5667 GB, free: 11.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.1528, allocations: 208.3 kB / 0.5669 GB, free: 11.25 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.1529, allocations: 119 kB / 0.567 GB, free: 11.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.153, allocations: 78.06 kB / 0.5671 GB, free: 11.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1532, allocations: 342.8 kB / 0.5674 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.1534, allocations: 104.8 kB / 0.5675 GB, free: 10.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.1537, allocations: 171.4 kB / 0.5677 GB, free: 10.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005659/0.1543, allocations: 292.7 kB / 0.568 GB, free: 10.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1543, allocations: 0 / 0.568 GB, free: 10.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007043/0.155, allocations: 370.3 kB / 0.5683 GB, free: 9.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.155, allocations: 7.938 kB / 0.5683 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.155, allocations: 4 kB / 0.5683 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.1551, allocations: 8.203 kB / 0.5684 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.1555, allocations: 103.9 kB / 0.5685 GB, free: 9.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1555, allocations: 7.938 kB / 0.5685 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002715/0.1558, allocations: 43.66 kB / 0.5685 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.1559, allocations: 15.98 kB / 0.5685 GB, free: 9.551 MB / 430.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.0001729/0.156, allocations: 153.7 kB / 0.5687 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.1561, allocations: 27.81 kB / 0.5687 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.1568, allocations: 332.2 kB / 0.569 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1568, allocations: 4 kB / 0.569 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1568, allocations: 0 / 0.569 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1568, allocations: 3.984 kB / 0.569 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.1573, allocations: 401.2 kB / 0.5694 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1573, allocations: 0 / 0.5694 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.1578, allocations: 91.81 kB / 0.5695 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1578, allocations: 0 / 0.5695 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.1578, allocations: 4 kB / 0.5695 GB, free: 8.484 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1578, allocations: 8 kB / 0.5695 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1578, allocations: 0 / 0.5695 GB, free: 8.477 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009339/0.1587, allocations: 0.5106 MB / 0.57 GB, free: 7.949 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.1589, allocations: 132.8 kB / 0.5701 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.1589, allocations: 8 kB / 0.5701 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.1591, allocations: 12.06 kB / 0.5701 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.96e-05/0.1592, allocations: 19.97 kB / 0.5702 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.1592, allocations: 19.98 kB / 0.5702 GB, free: 7.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.1594, allocations: 186 kB / 0.5704 GB, free: 7.559 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1594, allocations: 0 / 0.5704 GB, free: 7.559 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.1598, allocations: 95.78 kB / 0.5704 GB, free: 7.465 MB / 430.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.0001317/0.1599, allocations: 107.2 kB / 0.5706 GB, free: 7.352 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006179/0.1605, allocations: 267.8 kB / 0.5708 GB, free: 7.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1606, allocations: 0 / 0.5708 GB, free: 7.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.1608, allocations: 124.3 kB / 0.5709 GB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1611, allocations: 33.89 kB / 0.571 GB, free: 6.938 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1627, allocations: 0.7937 MB / 0.5717 GB, free: 6.113 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.1631, allocations: 0.7835 MB / 0.5725 GB, free: 5.305 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.1632, allocations: 35.42 kB / 0.5725 GB, free: 5.27 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1632, allocations: 4 kB / 0.5725 GB, free: 5.266 MB / 430.1 MB Notification: Performance of Templates: time 0.006574/0.1698, allocations: 3.926 MB / 0.5764 GB, free: 1.352 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.679181772982702]