Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 230.2 MB / 257.8 MB, free: 8.531 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2522/0.2522, allocations: 46.9 MB / 361.1 MB, free: 4.637 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 87.86 kB / 0.4968 GB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4277, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01146/0.4392, allocations: 8.714 MB / 0.5697 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.4493, allocations: 3.503 MB / 0.5731 GB, free: 8.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.4511, allocations: 43.88 kB / 0.5732 GB, free: 8.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.4542, allocations: 1.386 MB / 0.5745 GB, free: 7.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.457, allocations: 0.93 MB / 0.5754 GB, free: 6.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.4583, allocations: 0.5108 MB / 0.5759 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00265/0.4609, allocations: 1.734 MB / 0.5776 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.4625, allocations: 1.158 MB / 0.5788 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.4635, allocations: 0.6659 MB / 0.5794 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.4648, allocations: 0.9424 MB / 0.5803 GB, free: 1.332 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.465, allocations: 140 kB / 0.5805 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.4661, allocations: 0.589 MB / 0.581 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007521/0.4669, allocations: 0.7519 MB / 0.5818 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008352/0.4677, allocations: 0.8276 MB / 0.5826 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.4707, allocations: 2.471 MB / 0.585 GB, free: 12.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.4707, allocations: 4 kB / 0.585 GB, free: 12.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4707, allocations: 3.938 kB / 0.585 GB, free: 12.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.967e-05/0.4708, allocations: 0 / 0.585 GB, free: 12.53 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.004071/0.4748, allocations: 2.038 MB / 0.587 GB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4749, allocations: 12.02 kB / 0.587 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.476, allocations: 275.6 kB / 0.5873 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.4784, allocations: 1.064 MB / 0.5883 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/0.4785, allocations: 102.6 kB / 0.5884 GB, free: 8.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002025/0.4787, allocations: 123.9 kB / 0.5885 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005823/0.4845, allocations: 3 MB / 0.5915 GB, free: 5.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.151e-05/0.4845, allocations: 11.94 kB / 0.5915 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.4847, allocations: 55.97 kB / 0.5915 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006954/0.4854, allocations: 438 kB / 0.5919 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005102/0.4905, allocations: 2.179 MB / 0.5941 GB, free: 2.938 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01409/0.5046, allocations: 10.71 MB / 0.6045 GB, free: 7.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.5087, allocations: 1.194 MB / 0.6057 GB, free: 6.742 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.5093, allocations: 371.3 kB / 0.606 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004775/0.5141, allocations: 3.084 MB / 0.6091 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.5141, allocations: 39 kB / 0.6091 GB, free: 2.977 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.995e-06/0.5141, allocations: 0 / 0.6091 GB, free: 2.977 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01256/0.5267, allocations: 3.821 MB / 0.6128 GB, free: 15.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.5267, allocations: 81.67 kB / 0.6129 GB, free: 14.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.5285, allocations: 1.182 MB / 0.6141 GB, free: 13.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.5286, allocations: 37.7 kB / 0.6141 GB, free: 13.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008806/0.5294, allocations: 0.9663 MB / 0.615 GB, free: 12.73 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.5297, allocations: 230.2 kB / 0.6153 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004768/0.5302, allocations: 315.3 kB / 0.6156 GB, free: 12.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.5303, allocations: 305.1 kB / 0.6158 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/0.531, allocations: 423.7 kB / 0.6163 GB, free: 11.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.5325, allocations: 1.262 MB / 0.6175 GB, free: 9.793 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.5348, allocations: 1.822 MB / 0.6193 GB, free: 7.559 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.474e-05/0.5349, allocations: 15.88 kB / 0.6193 GB, free: 7.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002894/0.5378, allocations: 1.743 MB / 0.621 GB, free: 5.789 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.5378, allocations: 16 kB / 0.621 GB, free: 5.773 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/0.5378, allocations: 32 kB / 0.621 GB, free: 5.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.5381, allocations: 88.81 kB / 0.6211 GB, free: 5.652 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.5392, allocations: 359.3 kB / 0.6215 GB, free: 5.301 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.541, allocations: 1.869 MB / 0.6233 GB, free: 3.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009348/0.542, allocations: 71.94 kB / 0.6233 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.5421, allocations: 88 kB / 0.6234 GB, free: 3.129 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.0009839/0.5431, allocations: 0.6439 MB / 0.6241 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.5432, allocations: 119.3 kB / 0.6242 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.5435, allocations: 139.3 kB / 0.6243 GB, free: 2.223 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.5435, allocations: 4 kB / 0.6243 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.5435, allocations: 4 kB / 0.6243 GB, free: 2.215 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5435, allocations: 7.984 kB / 0.6243 GB, free: 2.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.5472, allocations: 2.235 MB / 0.6265 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5472, allocations: 4 kB / 0.6265 GB, free: 15.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003975/0.5476, allocations: 91.83 kB / 0.6266 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001889/0.5478, allocations: 68.8 kB / 0.6267 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/0.5479, allocations: 16 kB / 0.6267 GB, free: 15.68 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/0.5497, allocations: 1.948 MB / 0.6286 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.5497, allocations: 7.938 kB / 0.6286 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.5514, allocations: 1.117 MB / 0.6297 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.5517, allocations: 176.3 kB / 0.6298 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.5518, allocations: 19.98 kB / 0.6299 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/0.5522, allocations: 23.98 kB / 0.6299 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.831e-05/0.5522, allocations: 51.89 kB / 0.6299 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.5523, allocations: 20 kB / 0.63 GB, free: 12.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001056/0.5533, allocations: 0.7593 MB / 0.6307 GB, free: 11.34 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5533, allocations: 0 / 0.6307 GB, free: 11.34 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00137/0.5547, allocations: 295.9 kB / 0.631 GB, free: 11.05 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.0002408/0.5549, allocations: 127.2 kB / 0.6311 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/0.5568, allocations: 1.081 MB / 0.6322 GB, free: 9.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5568, allocations: 4.625 kB / 0.6322 GB, free: 9.824 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00062/0.5574, allocations: 394.6 kB / 0.6325 GB, free: 9.426 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009567/0.5584, allocations: 183.9 kB / 0.6327 GB, free: 9.246 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/0.5633, allocations: 2.885 MB / 0.6355 GB, free: 6.277 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.5647, allocations: 1.451 MB / 0.6369 GB, free: 4.797 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000974/0.5657, allocations: 413.5 kB / 0.6373 GB, free: 4.391 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.5658, allocations: 75.44 kB / 0.6374 GB, free: 4.316 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5658, allocations: 0 / 0.6374 GB, free: 4.316 MB / 478.1 MB Notification: Performance of Templates: time 0.02427/0.5901, allocations: 11.22 MB / 0.6484 GB, free: 9.156 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.973161770030856]