Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.636/1.636, allocations: 230.6 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2446/0.2446, allocations: 46.92 MB / 357.8 MB, free: 10.32 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 59.91 kB / 0.4921 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1568, allocations: 65.99 MB / 0.5565 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008872/0.1657, allocations: 6.794 MB / 0.5631 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005141/0.1709, allocations: 2.455 MB / 0.5655 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007991/0.1717, allocations: 31.88 kB / 0.5656 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002206/0.1739, allocations: 1.07 MB / 0.5666 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1759, allocations: 0.8597 MB / 0.5675 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008038/0.1767, allocations: 303.3 kB / 0.5677 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002377/0.1791, allocations: 1.868 MB / 0.5696 GB, free: 7.938 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.1804, allocations: 1.08 MB / 0.5706 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008807/0.1813, allocations: 0.7238 MB / 0.5713 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.1826, allocations: 1.059 MB / 0.5724 GB, free: 5.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002317/0.1828, allocations: 132 kB / 0.5725 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001224/0.184, allocations: 0.7644 MB / 0.5732 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008468/0.1849, allocations: 0.954 MB / 0.5742 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.1859, allocations: 1.121 MB / 0.5753 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004035/0.1899, allocations: 3.73 MB / 0.5789 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1899, allocations: 0 / 0.5789 GB, free: 14.32 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1899, allocations: 0 / 0.5789 GB, free: 14.32 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.228e-05/0.19, allocations: 0 / 0.5789 GB, free: 14.32 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.004619/0.1946, allocations: 2.727 MB / 0.5816 GB, free: 11.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1946, allocations: 11.97 kB / 0.5816 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00537/0.2, allocations: 1.582 MB / 0.5831 GB, free: 9.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0018/0.2018, allocations: 1.073 MB / 0.5842 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.2019, allocations: 119.3 kB / 0.5843 GB, free: 8.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003124/0.2022, allocations: 167.9 kB / 0.5844 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008695/0.2109, allocations: 6.19 MB / 0.5905 GB, free: 1.852 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.481e-05/0.211, allocations: 27.75 kB / 0.5905 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.2112, allocations: 79.89 kB / 0.5906 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00249/0.2137, allocations: 1.441 MB / 0.592 GB, free: 308 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3454/0.5591, allocations: 5.387 MB / 0.5973 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03028/0.5894, allocations: 24.81 MB / 0.6215 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004606/0.594, allocations: 2.263 MB / 0.6237 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.5952, allocations: 0.8764 MB / 0.6246 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002944/0.5955, allocations: 327.5 kB / 0.6249 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.5955, allocations: 42.05 kB / 0.6249 GB, free: 11.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 4.538e-06/0.5955, allocations: 0 / 0.6249 GB, free: 11.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02216/0.6177, allocations: 8.574 MB / 0.6333 GB, free: 7.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.6177, allocations: 136 kB / 0.6334 GB, free: 6.855 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003177/0.6209, allocations: 2.643 MB / 0.636 GB, free: 5.496 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.6211, allocations: 37.61 kB / 0.636 GB, free: 5.457 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009686/0.622, allocations: 2.111 MB / 0.6381 GB, free: 3.562 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003188/0.6224, allocations: 456.1 kB / 0.6385 GB, free: 3.121 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007912/0.6232, allocations: 0.8733 MB / 0.6394 GB, free: 2.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.6232, allocations: 305.1 kB / 0.6397 GB, free: 1.938 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.6246, allocations: 1.328 MB / 0.641 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004507/0.6291, allocations: 4.113 MB / 0.645 GB, free: 11.09 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008147/0.6373, allocations: 5.937 MB / 0.6508 GB, free: 3.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.105e-05/0.6374, allocations: 28.94 kB / 0.6508 GB, free: 3.742 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01092/0.6483, allocations: 5.489 MB / 0.6562 GB, free: 14.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.719e-05/0.6484, allocations: 53.02 kB / 0.6562 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/0.6485, allocations: 100 kB / 0.6563 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.6496, allocations: 456.7 kB / 0.6567 GB, free: 13.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003042/0.6527, allocations: 0.9747 MB / 0.6577 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00479/0.6575, allocations: 3.679 MB / 0.6613 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/0.6607, allocations: 227.6 kB / 0.6615 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007419/0.6615, allocations: 272 kB / 0.6618 GB, free: 8.383 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.002729/0.6642, allocations: 1.367 MB / 0.6631 GB, free: 7.004 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005846/0.6648, allocations: 230.4 kB / 0.6633 GB, free: 6.777 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.6675, allocations: 1.325 MB / 0.6646 GB, free: 5.438 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.978e-05/0.6675, allocations: 12 kB / 0.6646 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6675, allocations: 3.938 kB / 0.6646 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.6676, allocations: 7.984 kB / 0.6646 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008285/0.6758, allocations: 4.189 MB / 0.6687 GB, free: 1.188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.6759, allocations: 8 kB / 0.6687 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/0.6765, allocations: 135.8 kB / 0.6689 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000939/0.6775, allocations: 312.5 kB / 0.6692 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.6775, allocations: 19.91 kB / 0.6692 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003889/0.6814, allocations: 3.07 MB / 0.6722 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.6814, allocations: 0.5625 kB / 0.6722 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/0.6862, allocations: 3.083 MB / 0.6752 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007464/0.687, allocations: 287.4 kB / 0.6755 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004749/0.6874, allocations: 19.94 kB / 0.6755 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009945/0.6884, allocations: 46.88 kB / 0.6755 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6886, allocations: 52.36 kB / 0.6756 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/0.6887, allocations: 32.53 kB / 0.6756 GB, free: 9.973 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002673/0.6913, allocations: 1.628 MB / 0.6772 GB, free: 8.332 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6913, allocations: 0 / 0.6772 GB, free: 8.332 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003549/0.6949, allocations: 0.5859 MB / 0.6778 GB, free: 7.746 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.0004162/0.6953, allocations: 146.8 kB / 0.6779 GB, free: 7.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005566/0.7009, allocations: 3.099 MB / 0.6809 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7009, allocations: 0 / 0.6809 GB, free: 4.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.7022, allocations: 0.806 MB / 0.6817 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.7041, allocations: 208 kB / 0.6819 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.7149, allocations: 5.817 MB / 0.6876 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002423/0.7174, allocations: 2.171 MB / 0.6897 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/0.7181, allocations: 187.4 kB / 0.6899 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of SimCode: time 1.793e-06/0.7181, allocations: 0 / 0.6899 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.07281/0.7909, allocations: 46.17 MB / 0.735 GB, free: 13.11 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.614300294982968]