Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001543/0.001543, allocations: 84.06 kB / 20.68 MB, free: 1.035 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.001682/0.001682, allocations: 168.6 kB / 23.96 MB, free: 4.16 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.426/1.426, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.54e-05, allocations: 2.281 kB / 440.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0097/0.009725, allocations: 7.648 MB / 447.7 MB, free: 476 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1827/0.1924, allocations: 3.281 MB / 451 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000779/0.1932, allocations: 57.47 kB / 451.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.1957, allocations: 1.406 MB / 452.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.1977, allocations: 0.9596 MB / 453.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.1988, allocations: 0.5601 MB / 454 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.2012, allocations: 2.061 MB / 456.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.2029, allocations: 1.499 MB / 457.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.2044, allocations: 1.019 MB / 458.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.2059, allocations: 0.9861 MB / 459.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002332/0.2061, allocations: 142.2 kB / 459.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.2072, allocations: 0.5723 MB / 460.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009227/0.2082, allocations: 0.7863 MB / 461.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007184/0.2089, allocations: 0.5348 MB / 461.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002972/0.2118, allocations: 2.553 MB / 464.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2119, allocations: 4 kB / 464.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2119, allocations: 0 / 464.2 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.215e-05/0.2119, allocations: 1.219 kB / 464.2 MB, free: 11.35 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003765/0.2157, allocations: 2.007 MB / 466.2 MB, free: 10 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.2157, allocations: 8.625 kB / 466.2 MB, free: 10 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.217, allocations: 303.1 kB / 466.5 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001675/0.2186, allocations: 0.9993 MB / 467.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.2187, allocations: 96.5 kB / 467.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.2189, allocations: 124.8 kB / 467.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005245/0.2242, allocations: 3.04 MB / 470.7 MB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.764e-05/0.2242, allocations: 25.67 kB / 470.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.2243, allocations: 60.47 kB / 470.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000585/0.2249, allocations: 429.8 kB / 471.2 MB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004422/0.2293, allocations: 2.161 MB / 473.4 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.2396, allocations: 9.967 MB / 483.4 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.2439, allocations: 1.29 MB / 484.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.2445, allocations: 375.1 kB / 485 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003793/0.2483, allocations: 2.052 MB / 487.1 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.2483, allocations: 43.06 kB / 487.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 1.934e-06/0.2483, allocations: 0 / 487.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01302/0.2613, allocations: 3.797 MB / 490.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.148e-05/0.2614, allocations: 85.61 kB / 491 MB, free: 6.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.2631, allocations: 1.231 MB / 492.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.2631, allocations: 37.7 kB / 492.3 MB, free: 5.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007247/0.2638, allocations: 0.9653 MB / 493.2 MB, free: 4.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.264, allocations: 229.6 kB / 493.4 MB, free: 3.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003972/0.2644, allocations: 311.4 kB / 493.8 MB, free: 3.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2646, allocations: 357.9 kB / 494.1 MB, free: 3.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/0.2653, allocations: 423.7 kB / 494.5 MB, free: 2.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.2667, allocations: 1.287 MB / 495.8 MB, free: 1.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002309/0.269, allocations: 1.82 MB / 497.6 MB, free: 14.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/0.269, allocations: 8 kB / 497.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002977/0.272, allocations: 1.735 MB / 499.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.272, allocations: 18.19 kB / 499.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.362e-05/0.2721, allocations: 32 kB / 499.4 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002187/0.2723, allocations: 81.61 kB / 499.5 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.2734, allocations: 367.3 kB / 499.9 MB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001694/0.2751, allocations: 1.741 MB / 0.4898 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.2762, allocations: 95.92 kB / 0.4899 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.2763, allocations: 89.11 kB / 0.49 GB, free: 10.68 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001202/0.2775, allocations: 0.6475 MB / 0.4906 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.2777, allocations: 115.2 kB / 0.4908 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002518/0.2779, allocations: 130.6 kB / 0.4909 GB, free: 9.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2779, allocations: 4 kB / 0.4909 GB, free: 9.777 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.2779, allocations: 7.938 kB / 0.4909 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.2779, allocations: 3.984 kB / 0.4909 GB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003305/0.2812, allocations: 1.816 MB / 0.4927 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.2812, allocations: 8.062 kB / 0.4927 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.2816, allocations: 95.83 kB / 0.4928 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.2818, allocations: 72.42 kB / 0.4928 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.2819, allocations: 16 kB / 0.4929 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/0.2837, allocations: 1.803 MB / 0.4946 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.2837, allocations: 12 kB / 0.4946 GB, free: 5.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.2856, allocations: 1.099 MB / 0.4957 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.2858, allocations: 115.2 kB / 0.4958 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.2859, allocations: 12 kB / 0.4958 GB, free: 4.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.2864, allocations: 52 kB / 0.4959 GB, free: 4.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.2865, allocations: 55.73 kB / 0.4959 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.2865, allocations: 20 kB / 0.4959 GB, free: 4.363 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001053/0.2876, allocations: 0.7532 MB / 0.4967 GB, free: 3.602 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2876, allocations: 0 / 0.4967 GB, free: 3.602 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001579/0.2891, allocations: 359.9 kB / 0.497 GB, free: 3.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003085/0.2894, allocations: 130.4 kB / 0.4971 GB, free: 3.113 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.2913, allocations: 1.074 MB / 0.4982 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.2913, allocations: 0 / 0.4982 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.292, allocations: 411 kB / 0.4986 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009487/0.2929, allocations: 163.1 kB / 0.4987 GB, free: 1.469 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004941/0.2978, allocations: 2.799 MB / 0.5015 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.299, allocations: 0.8667 MB / 0.5023 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008707/0.2999, allocations: 405 kB / 0.5027 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.3, allocations: 76.48 kB / 0.5028 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3, allocations: 0 / 0.5028 GB, free: 13.21 MB / 414.1 MB Notification: Performance of Templates: time 0.02258/0.3226, allocations: 10.57 MB / 0.5131 GB, free: 2.836 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.076530542224646]