Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001824/0.001824, allocations: 84.7 kB / 20.68 MB, free: 1.023 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.002067/0.002067, allocations: 164.5 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.51/1.51, 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.2129/0.2129, allocations: 34.29 MB / 295 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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 3.984 kB / 442.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/3.105e-05, allocations: 2.281 kB / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2531/0.2531, allocations: 7.635 MB / 450.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007567/0.2607, allocations: 3.294 MB / 453.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.2621, allocations: 53.91 kB / 453.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.2651, allocations: 1.403 MB / 455.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.2679, allocations: 0.9653 MB / 456 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.2694, allocations: 0.5515 MB / 456.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003156/0.2726, allocations: 2.064 MB / 458.7 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00211/0.2747, allocations: 1.498 MB / 460.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001815/0.2765, allocations: 1.018 MB / 461.2 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001822/0.2783, allocations: 0.9916 MB / 462.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002976/0.2786, allocations: 142 kB / 462.3 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.28, allocations: 0.566 MB / 462.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008617/0.2809, allocations: 0.7877 MB / 463.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007909/0.2816, allocations: 0.5351 MB / 464.2 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.2849, allocations: 2.558 MB / 466.7 MB, free: 8.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2849, allocations: 4.906 kB / 466.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.2849, allocations: 0 / 466.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.913e-05/0.2849, allocations: 0 / 466.8 MB, free: 8.535 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.003987/0.2889, allocations: 2.008 MB / 468.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.289, allocations: 8.656 kB / 468.8 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.2903, allocations: 298.9 kB / 469.1 MB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001831/0.2921, allocations: 1 MB / 470.1 MB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-05/0.2922, allocations: 97.33 kB / 470.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.2925, allocations: 121.8 kB / 470.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005531/0.298, allocations: 3.049 MB / 473.3 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.911e-05/0.298, allocations: 25.7 kB / 473.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.2982, allocations: 59.2 kB / 473.4 MB, free: 4.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006167/0.2988, allocations: 428.6 kB / 473.8 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005023/0.3038, allocations: 2.163 MB / 476 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.3166, allocations: 9.957 MB / 485.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.321, allocations: 1.281 MB / 487.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006199/0.3216, allocations: 375 kB / 487.6 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00395/0.3256, allocations: 2.06 MB / 489.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.3256, allocations: 39.06 kB / 489.7 MB, free: 6.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.054e-06/0.3256, allocations: 4 kB / 489.7 MB, free: 6.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01423/0.3399, allocations: 3.794 MB / 493.5 MB, free: 2.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.34, allocations: 85.61 kB / 493.6 MB, free: 2.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002264/0.3422, allocations: 1.235 MB / 494.8 MB, free: 1.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.735e-05/0.3423, allocations: 33.7 kB / 494.8 MB, free: 1.195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008612/0.3432, allocations: 0.9663 MB / 495.8 MB, free: 220 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.3434, allocations: 230.2 kB / 496 MB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/0.3439, allocations: 311.4 kB / 496.3 MB, free: 15.68 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.3441, allocations: 357.9 kB / 496.7 MB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007211/0.3448, allocations: 419.7 kB / 497.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.3464, allocations: 1.283 MB / 498.4 MB, free: 13.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002478/0.3489, allocations: 1.824 MB / 0.4885 GB, free: 10.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/0.3489, allocations: 8 kB / 0.4885 GB, free: 10.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002998/0.3519, allocations: 1.732 MB / 0.4902 GB, free: 9.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/0.352, allocations: 23.98 kB / 0.4902 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.468e-05/0.352, allocations: 31.94 kB / 0.4902 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002466/0.3522, allocations: 81.55 kB / 0.4903 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.3534, allocations: 363.3 kB / 0.4907 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.3554, allocations: 1.751 MB / 0.4924 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.3567, allocations: 95.92 kB / 0.4925 GB, free: 6.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.3568, allocations: 87.94 kB / 0.4925 GB, free: 6.711 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.001251/0.3581, allocations: 0.644 MB / 0.4932 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.3583, allocations: 111.2 kB / 0.4933 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.3586, allocations: 126.6 kB / 0.4934 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.3586, allocations: 11.94 kB / 0.4934 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.3586, allocations: 0 / 0.4934 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.3586, allocations: 3.984 kB / 0.4934 GB, free: 5.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/0.3621, allocations: 1.822 MB / 0.4952 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3621, allocations: 4.5 kB / 0.4952 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004103/0.3625, allocations: 103.8 kB / 0.4953 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.3627, allocations: 60.81 kB / 0.4954 GB, free: 3.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.3628, allocations: 12 kB / 0.4954 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.3647, allocations: 1.81 MB / 0.4971 GB, free: 1.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.3647, allocations: 8 kB / 0.4971 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/0.3665, allocations: 1.103 MB / 0.4982 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.3668, allocations: 115.2 kB / 0.4983 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.3669, allocations: 12 kB / 0.4983 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.3675, allocations: 43.95 kB / 0.4984 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/0.3676, allocations: 55.86 kB / 0.4984 GB, free: 412 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-05/0.3676, allocations: 23.98 kB / 0.4985 GB, free: 388 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.3688, allocations: 0.7534 MB / 0.4992 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3688, allocations: 0 / 0.4992 GB, free: 15.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001802/0.3706, allocations: 356 kB / 0.4995 GB, free: 15.27 MB / 414.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.0003522/0.371, allocations: 142.8 kB / 0.4997 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.3729, allocations: 1.072 MB / 0.5007 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.3729, allocations: 0 / 0.5007 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000627/0.3736, allocations: 404.5 kB / 0.5011 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001009/0.3746, allocations: 166.6 kB / 0.5013 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005295/0.3799, allocations: 2.795 MB / 0.504 GB, free: 10.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.381, allocations: 0.8627 MB / 0.5048 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009997/0.382, allocations: 401.1 kB / 0.5052 GB, free: 9.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.3822, allocations: 84.47 kB / 0.5053 GB, free: 9.223 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3822, allocations: 0 / 0.5053 GB, free: 9.223 MB / 414.1 MB Notification: Performance of Templates: time 0.02457/0.4068, allocations: 10.57 MB / 0.5156 GB, free: 14.84 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.604351490736008]