Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001785/0.001785, allocations: 84.23 kB / 20.21 MB, free: 4.227 MB / 18.57 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.002394/0.002394, allocations: 161.6 kB / 23.52 MB, free: 0.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2162/0.2162, allocations: 32.38 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.458e-05, allocations: 2.312 kB / 346.9 MB, free: 9.824 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009074/0.009109, allocations: 6.075 MB / 353 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.01468, allocations: 2.271 MB / 355.3 MB, free: 1.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008559/0.01554, allocations: 31.88 kB / 355.3 MB, free: 1.406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002965/0.0185, allocations: 1.074 MB / 356.4 MB, free: 336 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003637/0.02214, allocations: 0.9017 MB / 357.3 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.02372, allocations: 327 kB / 357.6 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004663/0.02838, allocations: 1.93 MB / 359.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002793/0.03118, allocations: 1.146 MB / 360.7 MB, free: 12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.03419, allocations: 1.056 MB / 361.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002924/0.03711, allocations: 0.9934 MB / 362.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005584/0.03767, allocations: 128 kB / 362.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.04007, allocations: 0.659 MB / 363.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002018/0.04208, allocations: 1.009 MB / 364.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.04396, allocations: 0.5837 MB / 365.1 MB, free: 7.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008642/0.05261, allocations: 3.694 MB / 368.8 MB, free: 3.852 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.05262, allocations: 4 kB / 368.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.05262, allocations: 0 / 368.8 MB, free: 3.848 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.5e-05/0.05271, allocations: 3.938 kB / 368.8 MB, free: 3.844 MB / 298.7 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.009842/0.06255, allocations: 2.62 MB / 371.4 MB, free: 1.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.06261, allocations: 16.02 kB / 371.4 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0128/0.07541, allocations: 1.934 MB / 373.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004783/0.0802, allocations: 1.042 MB / 374.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/0.08044, allocations: 115.3 kB / 374.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009552/0.08139, allocations: 164.2 kB / 374.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/0.1007, allocations: 6.187 MB / 380.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001643/0.1009, allocations: 31.7 kB / 380.9 MB, free: 7.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006952/0.1016, allocations: 79.89 kB / 381 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003985/0.1056, allocations: 1.448 MB / 382.4 MB, free: 5.645 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.1174, allocations: 5.381 MB / 387.8 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03381/0.1512, allocations: 23.39 MB / 411.2 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/0.1563, allocations: 1.86 MB / 413.1 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.1577, allocations: 0.8856 MB / 413.9 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.1581, allocations: 103.9 kB / 414 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.1581, allocations: 38.56 kB / 414.1 MB, free: 5.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=96): time 3.897e-06/0.1581, allocations: 0 / 414.1 MB, free: 5.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=106): time 0.02714/0.1853, allocations: 8.672 MB / 422.8 MB, free: 12.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.1854, allocations: 136.5 kB / 422.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/0.1901, allocations: 2.466 MB / 425.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.1902, allocations: 45.69 kB / 425.4 MB, free: 9.676 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002177/0.1924, allocations: 2.112 MB / 427.5 MB, free: 7.539 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006543/0.1931, allocations: 444.7 kB / 427.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001766/0.1948, allocations: 0.8578 MB / 428.8 MB, free: 6.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.1951, allocations: 341.9 kB / 429.1 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.1975, allocations: 1.328 MB / 430.5 MB, free: 4.555 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005695/0.2032, allocations: 4.108 MB / 434.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008379/0.2116, allocations: 5.939 MB / 440.5 MB, free: 7.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.2118, allocations: 28 kB / 440.5 MB, free: 7.688 MB / 378.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01147/0.2232, allocations: 5.708 MB / 446.2 MB, free: 1.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.2233, allocations: 47.94 kB / 446.3 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/0.2235, allocations: 100.8 kB / 446.4 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.2249, allocations: 0.5085 MB / 446.9 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003036/0.228, allocations: 0.9747 MB / 447.9 MB, free: 344 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1494/0.3773, allocations: 3.525 MB / 451.4 MB, free: 100.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002977/0.3803, allocations: 228.8 kB / 451.6 MB, free: 100 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007337/0.381, allocations: 274.2 kB / 451.9 MB, free: 99.96 MB / 378.7 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.002351/0.3834, allocations: 1.367 MB / 453.3 MB, free: 99.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005192/0.3839, allocations: 228.4 kB / 453.5 MB, free: 99.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.3865, allocations: 1.298 MB / 454.8 MB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.029e-05/0.3865, allocations: 16.72 kB / 454.8 MB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.3865, allocations: 3.938 kB / 454.8 MB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.422e-05/0.3866, allocations: 3.703 kB / 454.8 MB, free: 98.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007247/0.3938, allocations: 3.613 MB / 458.4 MB, free: 97.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.3938, allocations: 7.656 kB / 458.4 MB, free: 97.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005782/0.3944, allocations: 133.4 kB / 458.6 MB, free: 97.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009535/0.3954, allocations: 376.3 kB / 458.9 MB, free: 97.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.91e-05/0.3954, allocations: 15.53 kB / 458.9 MB, free: 97.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.3982, allocations: 2.936 MB / 461.9 MB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3982, allocations: 3.938 kB / 461.9 MB, free: 95.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003493/0.4017, allocations: 3.079 MB / 465 MB, free: 94.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007024/0.4024, allocations: 313.7 kB / 465.3 MB, free: 94.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003419/0.4027, allocations: 15.88 kB / 465.3 MB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/0.4037, allocations: 46.12 kB / 465.3 MB, free: 94.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.4038, allocations: 61.83 kB / 465.4 MB, free: 94.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/0.4039, allocations: 26.83 kB / 465.4 MB, free: 94.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002062/0.4059, allocations: 1.383 MB / 466.8 MB, free: 93.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4059, allocations: 2.906 kB / 466.8 MB, free: 93.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003068/0.409, allocations: 0.5937 MB / 467.4 MB, free: 93.3 MB / 378.7 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.0002897/0.4093, allocations: 140 kB / 467.5 MB, free: 93.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00381/0.4131, allocations: 3.113 MB / 470.6 MB, free: 90.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4131, allocations: 4 kB / 470.6 MB, free: 90.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008003/0.4139, allocations: 0.8046 MB / 471.4 MB, free: 89.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.415, allocations: 170.2 kB / 471.6 MB, free: 89.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007448/0.4225, allocations: 5.536 MB / 477.1 MB, free: 84.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/0.4242, allocations: 1.6 MB / 478.7 MB, free: 82.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00245/0.4267, allocations: 1.36 MB / 480.1 MB, free: 81.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004511/0.4271, allocations: 144.5 kB / 480.2 MB, free: 80.98 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4271, allocations: 0 / 480.2 MB, free: 80.98 MB / 378.7 MB Notification: Performance of Templates: time 0.02801/0.4551, allocations: 16.41 MB / 496.7 MB, free: 64.77 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.080904737929814]