Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0017/0.0017, allocations: 116.9 kB / 19.13 MB, free: 3.922 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.001996/0.001996, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.462/1.462, allocations: 227.4 MB / 252.3 MB, free: 248 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2253/0.2253, allocations: 46.16 MB / 351.8 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003507/0.003507, allocations: 80.94 kB / 490.9 MB, free: 28.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1565, allocations: 62.45 MB / 0.5403 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.007391/0.1639, allocations: 3.012 MB / 0.5433 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.166, allocations: 0.7789 MB / 0.544 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.1662, allocations: 11.94 kB / 0.5441 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1665, allocations: 59.38 kB / 0.5441 GB, free: 496 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003592/0.1669, allocations: 99.11 kB / 0.5442 GB, free: 396 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.1674, allocations: 115.8 kB / 0.5443 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008474/0.1683, allocations: 474.6 kB / 0.5448 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004228/0.1688, allocations: 160 kB / 0.5449 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.1692, allocations: 191.3 kB / 0.5451 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.1697, allocations: 203.1 kB / 0.5453 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.1698, allocations: 40 kB / 0.5453 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.17, allocations: 47.92 kB / 0.5454 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1701, allocations: 91.67 kB / 0.5455 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.1705, allocations: 195.1 kB / 0.5457 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000841/0.1713, allocations: 474 kB / 0.5461 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.1713, allocations: 4 kB / 0.5461 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1714, allocations: 0 / 0.5461 GB, free: 14.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.1714, allocations: 0 / 0.5461 GB, free: 14.42 MB / 414.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.002219/0.1736, allocations: 0.7054 MB / 0.5468 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.1737, allocations: 17.11 kB / 0.5468 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.1742, allocations: 64.64 kB / 0.5469 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006695/0.1748, allocations: 299.3 kB / 0.5472 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.1749, allocations: 33.31 kB / 0.5472 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.175, allocations: 36.38 kB / 0.5472 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1762, allocations: 350.8 kB / 0.5476 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.1762, allocations: 0 / 0.5476 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.1763, allocations: 16 kB / 0.5476 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.1763, allocations: 8 kB / 0.5476 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1775, allocations: 307.8 kB / 0.5479 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.1814, allocations: 1.326 MB / 0.5492 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009471/0.1824, allocations: 284.9 kB / 0.5494 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005289/0.1829, allocations: 161.3 kB / 0.5496 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.183, allocations: 4.281 kB / 0.5496 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.183, allocations: 38.84 kB / 0.5496 GB, free: 10.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 3.447e-06/0.1831, allocations: 0 / 0.5496 GB, free: 10.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.001511/0.1846, allocations: 375.5 kB / 0.55 GB, free: 10.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.1847, allocations: 59.34 kB / 0.5501 GB, free: 10.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.1852, allocations: 258.7 kB / 0.5503 GB, free: 9.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.1852, allocations: 33.7 kB / 0.5503 GB, free: 9.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.1855, allocations: 208.3 kB / 0.5505 GB, free: 9.645 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.1857, allocations: 126.9 kB / 0.5507 GB, free: 9.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.1859, allocations: 70.08 kB / 0.5507 GB, free: 9.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002355/0.1862, allocations: 342.8 kB / 0.5511 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004576/0.1866, allocations: 104.8 kB / 0.5511 GB, free: 9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005339/0.1872, allocations: 171.5 kB / 0.5513 GB, free: 8.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.1882, allocations: 292.6 kB / 0.5516 GB, free: 8.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.299e-06/0.1882, allocations: 4 kB / 0.5516 GB, free: 8.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001277/0.1895, allocations: 366.4 kB / 0.5519 GB, free: 8.133 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.1896, allocations: 8 kB / 0.552 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1896, allocations: 0 / 0.552 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/0.1896, allocations: 4 kB / 0.552 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.1906, allocations: 112 kB / 0.5521 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.1906, allocations: 4 kB / 0.5521 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004857/0.1911, allocations: 39.73 kB / 0.5521 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.1912, allocations: 19.98 kB / 0.5521 GB, free: 7.949 MB / 414.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.0002777/0.1914, allocations: 149.7 kB / 0.5523 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.1916, allocations: 31.81 kB / 0.5523 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.1928, allocations: 328.2 kB / 0.5526 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.1928, allocations: 4 kB / 0.5526 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1928, allocations: 0 / 0.5526 GB, free: 7.426 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.1929, allocations: 7.984 kB / 0.5526 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.1937, allocations: 401.2 kB / 0.553 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1938, allocations: 0 / 0.553 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008007/0.1946, allocations: 91.88 kB / 0.5531 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.1946, allocations: 7.938 kB / 0.5531 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.1946, allocations: 4 kB / 0.5531 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1947, allocations: 4 kB / 0.5531 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1947, allocations: 0 / 0.5531 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.1963, allocations: 0.5106 MB / 0.5536 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.1966, allocations: 132.8 kB / 0.5537 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.1966, allocations: 4 kB / 0.5537 GB, free: 6.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.1971, allocations: 12.05 kB / 0.5537 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1972, allocations: 31.91 kB / 0.5538 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.1972, allocations: 4 kB / 0.5538 GB, free: 6.145 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003673/0.1976, allocations: 194 kB / 0.554 GB, free: 5.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1976, allocations: 0 / 0.554 GB, free: 5.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006707/0.1983, allocations: 95.78 kB / 0.5541 GB, free: 5.859 MB / 414.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.0001789/0.1985, allocations: 103.2 kB / 0.5542 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1996, allocations: 279.9 kB / 0.5544 GB, free: 5.477 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/0.1996, allocations: 7.938 kB / 0.5544 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.2001, allocations: 132.3 kB / 0.5546 GB, free: 5.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.2007, allocations: 36.48 kB / 0.5546 GB, free: 5.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002418/0.2031, allocations: 0.784 MB / 0.5554 GB, free: 4.488 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/0.2038, allocations: 0.7874 MB / 0.5561 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.2041, allocations: 31.42 kB / 0.5562 GB, free: 3.645 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2041, allocations: 0 / 0.5562 GB, free: 3.645 MB / 414.1 MB Notification: Performance of Templates: time 0.01232/0.2164, allocations: 3.905 MB / 0.56 GB, free: 15.75 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.552885329001583]