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.002009/0.002009, allocations: 84.55 kB / 20.68 MB, free: 1.027 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.002366/0.002366, allocations: 165 kB / 23.95 MB, free: 4.156 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.526/1.526, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.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.2179/0.2179, allocations: 34.28 MB / 294.9 MB, free: 14.57 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 1.453e-06/1.453e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.212e-05/2.358e-05, allocations: 2.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2059/0.206, allocations: 6.041 MB / 448.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004971/0.2109, allocations: 2.315 MB / 451 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007844/0.2117, allocations: 35.22 kB / 451 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.214, allocations: 1.074 MB / 452.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002345/0.2163, allocations: 0.8955 MB / 453 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009877/0.2173, allocations: 321.3 kB / 453.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002693/0.22, allocations: 1.91 MB / 455.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001417/0.2214, allocations: 1.103 MB / 456.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.223, allocations: 1.037 MB / 457.4 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.2248, allocations: 0.9905 MB / 458.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003306/0.2251, allocations: 129 kB / 458.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.2266, allocations: 0.6812 MB / 459.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008957/0.2275, allocations: 0.9834 MB / 460.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007511/0.2282, allocations: 0.5755 MB / 460.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.233, allocations: 3.669 MB / 464.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2331, allocations: 0 / 464.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2331, allocations: 0 / 464.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.825e-05/0.2332, allocations: 1.125 kB / 464.4 MB, free: 10.27 MB / 366.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.00562/0.2388, allocations: 2.615 MB / 467 MB, free: 8.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/0.2388, allocations: 9.375 kB / 467 MB, free: 8.332 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/0.2445, allocations: 1.612 MB / 468.6 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.2468, allocations: 1.035 MB / 469.7 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.393e-05/0.2469, allocations: 115.3 kB / 469.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/0.2472, allocations: 158.2 kB / 469.9 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008371/0.2556, allocations: 6.191 MB / 476.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-05/0.2556, allocations: 26.66 kB / 476.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002244/0.2558, allocations: 83.78 kB / 476.2 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002301/0.2581, allocations: 1.437 MB / 477.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009441/0.2676, allocations: 5.385 MB / 483.1 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03249/0.3001, allocations: 23.36 MB / 0.4946 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005023/0.3051, allocations: 1.853 MB / 0.4964 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.3065, allocations: 0.8779 MB / 0.4972 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002791/0.3067, allocations: 96.39 kB / 0.4973 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.3068, allocations: 39.94 kB / 0.4973 GB, free: 2.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.386e-06/0.3068, allocations: 0 / 0.4973 GB, free: 2.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.0248/0.3316, allocations: 8.6 MB / 0.5057 GB, free: 9.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.3317, allocations: 140.5 kB / 0.5059 GB, free: 9.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003505/0.3352, allocations: 2.461 MB / 0.5083 GB, free: 6.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001073/0.3353, allocations: 37.89 kB / 0.5083 GB, free: 6.676 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001571/0.3369, allocations: 2.112 MB / 0.5104 GB, free: 4.539 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/0.3373, allocations: 452.6 kB / 0.5108 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001221/0.3385, allocations: 0.85 MB / 0.5116 GB, free: 3.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3387, allocations: 341.9 kB / 0.512 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.3408, allocations: 1.328 MB / 0.5133 GB, free: 1.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004613/0.3454, allocations: 4.112 MB / 0.5173 GB, free: 12.04 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008004/0.3534, allocations: 5.934 MB / 0.5231 GB, free: 4.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-05/0.3535, allocations: 32 kB / 0.5231 GB, free: 4.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01146/0.3649, allocations: 5.469 MB / 0.5284 GB, free: 15.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-05/0.365, allocations: 51.98 kB / 0.5285 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.3652, allocations: 100 kB / 0.5286 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.3665, allocations: 464.5 kB / 0.529 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003507/0.37, allocations: 0.9708 MB / 0.53 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/0.3748, allocations: 3.516 MB / 0.5334 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002885/0.3777, allocations: 231.7 kB / 0.5336 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006319/0.3783, allocations: 271.1 kB / 0.5339 GB, free: 9.535 MB / 446.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.003022/0.3813, allocations: 1.372 MB / 0.5352 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004973/0.3818, allocations: 198.6 kB / 0.5354 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.3845, allocations: 1.297 MB / 0.5367 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.3845, allocations: 12 kB / 0.5367 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.3845, allocations: 8.281 kB / 0.5367 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.3846, allocations: 3.984 kB / 0.5367 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008145/0.3927, allocations: 3.612 MB / 0.5402 GB, free: 2.953 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.3927, allocations: 11.88 kB / 0.5403 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007258/0.3934, allocations: 135.8 kB / 0.5404 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000953/0.3944, allocations: 320.5 kB / 0.5407 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.954e-05/0.3945, allocations: 16.88 kB / 0.5407 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003887/0.3984, allocations: 2.916 MB / 0.5436 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3984, allocations: 3.938 kB / 0.5436 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00477/0.4031, allocations: 3.048 MB / 0.5465 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/0.4037, allocations: 174.5 kB / 0.5467 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/0.404, allocations: 16 kB / 0.5467 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008251/0.4048, allocations: 44.06 kB / 0.5468 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.405, allocations: 68.27 kB / 0.5468 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.512e-05/0.4051, allocations: 39.95 kB / 0.5469 GB, free: 12.05 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002643/0.4077, allocations: 1.374 MB / 0.5482 GB, free: 10.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4077, allocations: 0 / 0.5482 GB, free: 10.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0035/0.4112, allocations: 0.5781 MB / 0.5488 GB, free: 10.08 MB / 462.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.0004177/0.4116, allocations: 142.9 kB / 0.5489 GB, free: 9.934 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005386/0.417, allocations: 3.108 MB / 0.5519 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.417, allocations: 0 / 0.5519 GB, free: 6.836 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.4183, allocations: 0.7979 MB / 0.5527 GB, free: 6.023 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.4198, allocations: 176.9 kB / 0.5529 GB, free: 5.848 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.4308, allocations: 5.45 MB / 0.5582 GB, free: 364 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002905/0.4337, allocations: 1.601 MB / 0.5598 GB, free: 14.72 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003271/0.437, allocations: 1.35 MB / 0.5611 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005474/0.4375, allocations: 152.5 kB / 0.5612 GB, free: 13.21 MB / 478.1 MB Notification: Performance of SimCode: time 1.452e-06/0.4375, allocations: 0 / 0.5612 GB, free: 13.21 MB / 478.1 MB Notification: Performance of Templates: time 0.03759/0.4751, allocations: 16.28 MB / 0.5771 GB, free: 13.21 MB / 494.1 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/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: 5.955742962658405]