Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.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.001535/0.001535, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001728/0.001728, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.612/1.612, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.2477/0.2477, allocations: 46.89 MB / 358.1 MB, free: 10.5 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.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass") [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.002228/0.002228, allocations: 87.84 kB / 0.4923 GB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1434, allocations: 65.98 MB / 0.5568 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009204/0.1526, allocations: 6.805 MB / 0.5634 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005498/0.1581, allocations: 2.45 MB / 0.5658 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009582/0.1591, allocations: 31.94 kB / 0.5659 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.1614, allocations: 1.074 MB / 0.5669 GB, free: 11.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.164, allocations: 0.8596 MB / 0.5677 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009899/0.165, allocations: 307.2 kB / 0.568 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003063/0.1681, allocations: 1.868 MB / 0.5699 GB, free: 8.488 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.1696, allocations: 1.076 MB / 0.5709 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.1707, allocations: 0.7159 MB / 0.5716 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.1724, allocations: 1.059 MB / 0.5726 GB, free: 5.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.1727, allocations: 128 kB / 0.5728 GB, free: 5.488 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001656/0.1744, allocations: 0.7682 MB / 0.5735 GB, free: 4.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001076/0.1755, allocations: 0.9424 MB / 0.5744 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.1767, allocations: 1.133 MB / 0.5755 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004551/0.1812, allocations: 3.738 MB / 0.5792 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.293e-06/0.1812, allocations: 0 / 0.5792 GB, free: 14.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1812, allocations: 0 / 0.5792 GB, free: 14.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.254e-05/0.1813, allocations: 0 / 0.5792 GB, free: 14.88 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004769/0.1861, allocations: 2.719 MB / 0.5818 GB, free: 12.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1861, allocations: 12.03 kB / 0.5819 GB, free: 12.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005336/0.1914, allocations: 1.578 MB / 0.5834 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.1935, allocations: 1.077 MB / 0.5844 GB, free: 9.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1936, allocations: 119.3 kB / 0.5846 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.1939, allocations: 164 kB / 0.5847 GB, free: 9.109 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009313/0.2032, allocations: 6.174 MB / 0.5907 GB, free: 2.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.224e-05/0.2033, allocations: 27.73 kB / 0.5908 GB, free: 2.418 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000228/0.2035, allocations: 83.89 kB / 0.5909 GB, free: 2.336 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/0.206, allocations: 1.437 MB / 0.5923 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.326/0.532, allocations: 5.391 MB / 0.5975 GB, free: 31.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03419/0.5662, allocations: 24.82 MB / 0.6218 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004659/0.5708, allocations: 2.255 MB / 0.624 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.572, allocations: 0.8818 MB / 0.6248 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003138/0.5723, allocations: 326.1 kB / 0.6251 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5723, allocations: 42.5 kB / 0.6252 GB, free: 11.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 4.218e-06/0.5723, allocations: 1.062 kB / 0.6252 GB, free: 11.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.0218/0.5942, allocations: 8.566 MB / 0.6335 GB, free: 7.457 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.5942, allocations: 136.1 kB / 0.6337 GB, free: 7.301 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002919/0.5971, allocations: 2.646 MB / 0.6363 GB, free: 5.941 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.46e-05/0.5972, allocations: 33.7 kB / 0.6363 GB, free: 5.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009348/0.5982, allocations: 2.109 MB / 0.6383 GB, free: 4.059 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/0.5985, allocations: 456.1 kB / 0.6388 GB, free: 3.691 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008738/0.5994, allocations: 0.8743 MB / 0.6396 GB, free: 3.047 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.703e-05/0.5994, allocations: 305.1 kB / 0.6399 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.6008, allocations: 1.335 MB / 0.6412 GB, free: 1.406 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004245/0.605, allocations: 4.104 MB / 0.6452 GB, free: 11.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008082/0.6131, allocations: 5.944 MB / 0.651 GB, free: 4.57 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-05/0.6132, allocations: 32 kB / 0.6511 GB, free: 4.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01031/0.6235, allocations: 5.488 MB / 0.6564 GB, free: 15.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/0.6236, allocations: 48 kB / 0.6565 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001168/0.6237, allocations: 100 kB / 0.6566 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.6249, allocations: 460.4 kB / 0.657 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/0.6277, allocations: 0.9748 MB / 0.658 GB, free: 13.47 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004693/0.6324, allocations: 3.668 MB / 0.6615 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/0.6356, allocations: 235.6 kB / 0.6618 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005146/0.6361, allocations: 275.9 kB / 0.662 GB, free: 9.18 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002274/0.6384, allocations: 1.365 MB / 0.6634 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005033/0.6389, allocations: 230.5 kB / 0.6636 GB, free: 7.578 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.6414, allocations: 1.324 MB / 0.6649 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/0.6415, allocations: 12 kB / 0.6649 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/0.6415, allocations: 4 kB / 0.6649 GB, free: 6.227 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6415, allocations: 3.984 kB / 0.6649 GB, free: 6.223 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008042/0.6495, allocations: 4.196 MB / 0.669 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.6495, allocations: 0 / 0.669 GB, free: 1.984 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/0.6502, allocations: 139.8 kB / 0.6691 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00094/0.6511, allocations: 324.4 kB / 0.6694 GB, free: 1.531 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.6512, allocations: 16 kB / 0.6695 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003905/0.6551, allocations: 3.071 MB / 0.6725 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.6551, allocations: 0 / 0.6725 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004836/0.6599, allocations: 3.083 MB / 0.6755 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007869/0.6607, allocations: 279.5 kB / 0.6757 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.6609, allocations: 19.94 kB / 0.6757 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/0.6616, allocations: 47.94 kB / 0.6758 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.6618, allocations: 48.38 kB / 0.6758 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/0.6619, allocations: 31.98 kB / 0.6759 GB, free: 10.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002639/0.6645, allocations: 1.625 MB / 0.6775 GB, free: 9.129 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6645, allocations: 7.938 kB / 0.6775 GB, free: 9.121 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003541/0.6681, allocations: 0.5857 MB / 0.678 GB, free: 8.539 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004054/0.6685, allocations: 139 kB / 0.6782 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005642/0.6741, allocations: 3.1 MB / 0.6812 GB, free: 5.305 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6741, allocations: 4 kB / 0.6812 GB, free: 5.301 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/0.6754, allocations: 0.8106 MB / 0.682 GB, free: 4.484 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.6774, allocations: 208.7 kB / 0.6822 GB, free: 4.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/0.6906, allocations: 5.81 MB / 0.6879 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00312/0.6938, allocations: 2.174 MB / 0.69 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007011/0.6945, allocations: 191.4 kB / 0.6902 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of SimCode: time 1.183e-06/0.6945, allocations: 0 / 0.6902 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.0771/0.7716, allocations: 46.18 MB / 0.7353 GB, free: 13.89 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.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: 11.801194011932239]