Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00159/0.00159, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.001616/0.001616, allocations: 164 kB / 23.76 MB, free: 4.203 MB / 14.72 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.484/1.484, allocations: 158.6 MB / 185.5 MB, free: 6.133 MB / 174.1 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.2321/0.2321, allocations: 32.37 MB / 270.1 MB, free: 2.711 MB / 254.1 MB " [Timeout remaining time 179] 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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 68.33 kB / 407.8 MB, free: 5.535 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1422, allocations: 61.04 MB / 468.8 MB, free: 8.309 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01026/0.1525, allocations: 7.687 MB / 476.5 MB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2803/0.4328, allocations: 3.263 MB / 479.7 MB, free: 44.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.434, allocations: 52.31 kB / 479.8 MB, free: 44.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.4364, allocations: 1.34 MB / 481.1 MB, free: 43.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.4387, allocations: 0.9556 MB / 482.1 MB, free: 43.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.4397, allocations: 0.5304 MB / 482.6 MB, free: 43.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001807/0.4415, allocations: 1.695 MB / 484.3 MB, free: 43.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.4426, allocations: 1.268 MB / 485.6 MB, free: 42.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007104/0.4433, allocations: 0.6927 MB / 486.3 MB, free: 42.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000968/0.4443, allocations: 0.8787 MB / 487.2 MB, free: 42.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.4445, allocations: 139.4 kB / 487.3 MB, free: 42.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000949/0.4454, allocations: 0.5855 MB / 487.9 MB, free: 42.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005406/0.446, allocations: 0.7486 MB / 488.6 MB, free: 41.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005425/0.4465, allocations: 0.6528 MB / 489.3 MB, free: 41.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002203/0.4487, allocations: 2.528 MB / 491.8 MB, free: 40.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4487, allocations: 0 / 491.8 MB, free: 40.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4487, allocations: 0 / 491.8 MB, free: 40.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.431e-05/0.4488, allocations: 7.938 kB / 491.8 MB, free: 40.73 MB / 446.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.003071/0.4518, allocations: 1.979 MB / 493.8 MB, free: 39.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4519, allocations: 9.031 kB / 493.8 MB, free: 39.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.4529, allocations: 304.5 kB / 494.1 MB, free: 39.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.4546, allocations: 1.088 MB / 495.2 MB, free: 38.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.4547, allocations: 93.23 kB / 495.3 MB, free: 38.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001669/0.4549, allocations: 132.2 kB / 495.4 MB, free: 38.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004501/0.4594, allocations: 3.034 MB / 498.4 MB, free: 37.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.5e-05/0.4594, allocations: 10.34 kB / 498.5 MB, free: 37.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4595, allocations: 54.92 kB / 498.5 MB, free: 37.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005556/0.4601, allocations: 437.1 kB / 498.9 MB, free: 37.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004095/0.4642, allocations: 2.158 MB / 0.4893 GB, free: 36.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.476, allocations: 9.889 MB / 0.499 GB, free: 29.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.4803, allocations: 1.261 MB / 0.5002 GB, free: 29.56 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006472/0.481, allocations: 368.7 kB / 0.5006 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004053/0.485, allocations: 2.01 MB / 0.5026 GB, free: 28.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.4851, allocations: 39.88 kB / 0.5026 GB, free: 28.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.625e-06/0.4851, allocations: 0 / 0.5026 GB, free: 28.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01265/0.4977, allocations: 3.732 MB / 0.5062 GB, free: 27.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.4978, allocations: 88.17 kB / 0.5063 GB, free: 27.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.4996, allocations: 1.172 MB / 0.5075 GB, free: 26.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.4996, allocations: 36.42 kB / 0.5075 GB, free: 26.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006617/0.5003, allocations: 0.9778 MB / 0.5085 GB, free: 25.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.5004, allocations: 225.9 kB / 0.5087 GB, free: 25.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003754/0.5008, allocations: 319.7 kB / 0.509 GB, free: 25.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5009, allocations: 361.2 kB / 0.5093 GB, free: 25.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007008/0.5016, allocations: 415.2 kB / 0.5097 GB, free: 25.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.5027, allocations: 1.283 MB / 0.511 GB, free: 23.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.5045, allocations: 1.809 MB / 0.5127 GB, free: 22.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.5045, allocations: 7.344 kB / 0.5127 GB, free: 22.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002945/0.5075, allocations: 1.728 MB / 0.5144 GB, free: 21.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/0.5075, allocations: 18.41 kB / 0.5144 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.275e-05/0.5075, allocations: 30.03 kB / 0.5145 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002439/0.5078, allocations: 87.69 kB / 0.5146 GB, free: 21.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5089, allocations: 364 kB / 0.5149 GB, free: 21.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.5103, allocations: 1.742 MB / 0.5166 GB, free: 19.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.5115, allocations: 65.69 kB / 0.5167 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.5116, allocations: 84.31 kB / 0.5167 GB, free: 19.84 MB / 446.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.001272/0.5129, allocations: 0.647 MB / 0.5174 GB, free: 19.49 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.5132, allocations: 117.9 kB / 0.5175 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.5147, allocations: 0.7003 MB / 0.5182 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5147, allocations: 5 kB / 0.5182 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5147, allocations: 6.906 kB / 0.5182 GB, free: 19.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.5147, allocations: 6.703 kB / 0.5182 GB, free: 19.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.5189, allocations: 1.805 MB / 0.52 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.519, allocations: 3.406 kB / 0.52 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.5194, allocations: 98.66 kB / 0.5201 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002201/0.5196, allocations: 64.38 kB / 0.5201 GB, free: 18.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.497e-05/0.5197, allocations: 15.09 kB / 0.5201 GB, free: 18.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.5212, allocations: 1.809 MB / 0.5219 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.5212, allocations: 4.125 kB / 0.5219 GB, free: 16.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.523, allocations: 1.099 MB / 0.523 GB, free: 16.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005876/0.5236, allocations: 138.4 kB / 0.5231 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.5239, allocations: 19.58 kB / 0.5231 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.5244, allocations: 24.48 kB / 0.5231 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5246, allocations: 56.89 kB / 0.5232 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.5246, allocations: 19.75 kB / 0.5232 GB, free: 15.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001638/0.5262, allocations: 0.7085 MB / 0.5239 GB, free: 15.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5262, allocations: 0 / 0.5239 GB, free: 15.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00239/0.5286, allocations: 301.7 kB / 0.5242 GB, free: 15.58 MB / 446.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.0003508/0.529, allocations: 134.1 kB / 0.5243 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002471/0.5314, allocations: 1.067 MB / 0.5254 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.5315, allocations: 1.156 kB / 0.5254 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006283/0.5321, allocations: 397.7 kB / 0.5258 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5335, allocations: 161.5 kB / 0.5259 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/0.5391, allocations: 2.882 MB / 0.5287 GB, free: 13.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.5408, allocations: 0.8648 MB / 0.5296 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001177/0.542, allocations: 408.2 kB / 0.53 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/0.5423, allocations: 76.59 kB / 0.53 GB, free: 12.92 MB / 446.1 MB Notification: Performance of SimCode: time 1.303e-06/0.5423, allocations: 0 / 0.53 GB, free: 12.92 MB / 446.1 MB Notification: Performance of Templates: time 0.0199/0.5622, allocations: 9.772 MB / 0.5396 GB, free: 3.34 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.8578447450418025]