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.001543/0.001543, allocations: 111.1 kB / 20.44 MB, free: 1.184 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: 208.7 kB / 23.73 MB, free: 4.387 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.555/1.555, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.255/0.255, allocations: 46.96 MB / 360.9 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] 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 0.00236/0.00236, allocations: 71.89 kB / 0.4966 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.399, allocations: 66.03 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01104/0.41, allocations: 7.636 MB / 0.5685 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008132/0.4181, allocations: 3.285 MB / 0.5718 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.4194, allocations: 55.75 kB / 0.5718 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003083/0.4225, allocations: 1.32 MB / 0.5731 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002783/0.4253, allocations: 0.9417 MB / 0.574 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.4265, allocations: 0.5225 MB / 0.5745 GB, free: 6.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00276/0.4293, allocations: 1.722 MB / 0.5762 GB, free: 4.613 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.4313, allocations: 1.245 MB / 0.5774 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.4325, allocations: 0.6737 MB / 0.5781 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.4338, allocations: 0.8838 MB / 0.5789 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.434, allocations: 136 kB / 0.5791 GB, free: 1.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001061/0.4351, allocations: 0.5539 MB / 0.5796 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007492/0.4358, allocations: 0.748 MB / 0.5803 GB, free: 336 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007647/0.4366, allocations: 0.6451 MB / 0.581 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.4395, allocations: 2.501 MB / 0.5834 GB, free: 13.17 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4395, allocations: 8 kB / 0.5834 GB, free: 13.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4395, allocations: 0 / 0.5834 GB, free: 13.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.462e-05/0.4395, allocations: 0 / 0.5834 GB, free: 13.16 MB / 430.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.003622/0.4431, allocations: 1.967 MB / 0.5853 GB, free: 11.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4432, allocations: 8.031 kB / 0.5854 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.4442, allocations: 279.6 kB / 0.5856 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/0.4464, allocations: 0.9996 MB / 0.5866 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.4465, allocations: 102.5 kB / 0.5867 GB, free: 9.746 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.4467, allocations: 123.9 kB / 0.5868 GB, free: 9.625 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005877/0.4525, allocations: 3.054 MB / 0.5898 GB, free: 6.367 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.557e-05/0.4526, allocations: 11.94 kB / 0.5898 GB, free: 6.355 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.4527, allocations: 55.97 kB / 0.5899 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007073/0.4534, allocations: 434 kB / 0.5903 GB, free: 5.875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/0.4585, allocations: 2.167 MB / 0.5924 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.4725, allocations: 9.89 MB / 0.602 GB, free: 9.543 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004146/0.4767, allocations: 1.194 MB / 0.6032 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.4773, allocations: 367.1 kB / 0.6036 GB, free: 7.969 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00373/0.481, allocations: 2.017 MB / 0.6055 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.4811, allocations: 43 kB / 0.6056 GB, free: 5.871 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.765e-06/0.4811, allocations: 0 / 0.6056 GB, free: 5.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01194/0.493, allocations: 3.574 MB / 0.6091 GB, free: 2.246 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.4931, allocations: 85.61 kB / 0.6091 GB, free: 2.145 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.4946, allocations: 1.149 MB / 0.6103 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.4947, allocations: 37.7 kB / 0.6103 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008083/0.4955, allocations: 0.9701 MB / 0.6113 GB, free: 15.95 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/0.4957, allocations: 230.1 kB / 0.6115 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/0.4961, allocations: 323.3 kB / 0.6118 GB, free: 15.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4963, allocations: 357.9 kB / 0.6121 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006896/0.497, allocations: 419.7 kB / 0.6125 GB, free: 14.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.4984, allocations: 1.287 MB / 0.6138 GB, free: 12.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.5007, allocations: 1.81 MB / 0.6155 GB, free: 10.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/0.5007, allocations: 12 kB / 0.6156 GB, free: 10.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002749/0.5035, allocations: 1.738 MB / 0.6173 GB, free: 8.941 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.5035, allocations: 20 kB / 0.6173 GB, free: 8.922 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-05/0.5035, allocations: 28 kB / 0.6173 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.5038, allocations: 84.83 kB / 0.6174 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.5049, allocations: 363.9 kB / 0.6177 GB, free: 8.453 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.5066, allocations: 1.743 MB / 0.6194 GB, free: 6.605 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008306/0.5074, allocations: 75.92 kB / 0.6195 GB, free: 6.531 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.5076, allocations: 87.98 kB / 0.6196 GB, free: 6.445 MB / 462.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.0009253/0.5085, allocations: 0.6362 MB / 0.6202 GB, free: 5.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.5086, allocations: 115.4 kB / 0.6203 GB, free: 5.688 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.5089, allocations: 130.6 kB / 0.6204 GB, free: 5.559 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.5089, allocations: 4 kB / 0.6204 GB, free: 5.555 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.5089, allocations: 4 kB / 0.6204 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.5089, allocations: 7.984 kB / 0.6205 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.512, allocations: 1.796 MB / 0.6222 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.512, allocations: 4 kB / 0.6222 GB, free: 3.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.5124, allocations: 100.3 kB / 0.6223 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001871/0.5126, allocations: 72.75 kB / 0.6224 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.5126, allocations: 16 kB / 0.6224 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.5144, allocations: 1.802 MB / 0.6242 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.5144, allocations: 11.88 kB / 0.6242 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.5161, allocations: 1.103 MB / 0.6252 GB, free: 396 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.5162, allocations: 99.22 kB / 0.6253 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.5164, allocations: 19.98 kB / 0.6254 GB, free: 276 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.5167, allocations: 27.92 kB / 0.6254 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.5168, allocations: 51.86 kB / 0.6254 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.5168, allocations: 20.06 kB / 0.6255 GB, free: 176 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001045/0.5179, allocations: 0.7025 MB / 0.6261 GB, free: 15.46 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5179, allocations: 0 / 0.6261 GB, free: 15.46 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001552/0.5194, allocations: 296 kB / 0.6264 GB, free: 15.17 MB / 478.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.0003233/0.5198, allocations: 115.7 kB / 0.6265 GB, free: 15.04 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002291/0.522, allocations: 1.096 MB / 0.6276 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/0.5221, allocations: 0 / 0.6276 GB, free: 13.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.5228, allocations: 388 kB / 0.628 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000994/0.5238, allocations: 171.1 kB / 0.6281 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005829/0.5296, allocations: 2.867 MB / 0.6309 GB, free: 10.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.531, allocations: 0.8588 MB / 0.6318 GB, free: 9.535 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009797/0.532, allocations: 401.1 kB / 0.6322 GB, free: 9.141 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.5322, allocations: 71.44 kB / 0.6322 GB, free: 9.074 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5322, allocations: 4 kB / 0.6322 GB, free: 9.07 MB / 478.1 MB Notification: Performance of Templates: time 0.02548/0.5577, allocations: 11.27 MB / 0.6432 GB, free: 13.97 MB / 494.1 MB " [Timeout remaining time 659] 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.8735451605170965]