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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 107.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 195.8 kB / 22.98 MB, free: 5.594 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 251.6 MB, free: 13.32 MB / 206.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.2375/0.2375, allocations: 44.91 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002011/0.002011, allocations: 63.91 kB / 495.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4719, allocations: 64.25 MB / 0.5464 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01308/0.485, allocations: 8.734 MB / 0.5549 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01051/0.4955, allocations: 3.49 MB / 0.5583 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002642/0.4981, allocations: 47.81 kB / 0.5584 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00353/0.5016, allocations: 1.39 MB / 0.5597 GB, free: 2.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004661/0.5063, allocations: 0.9533 MB / 0.5607 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.5081, allocations: 0.5147 MB / 0.5612 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003744/0.5119, allocations: 1.671 MB / 0.5628 GB, free: 14.99 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.5135, allocations: 1.177 MB / 0.564 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.5146, allocations: 0.6776 MB / 0.5646 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001518/0.5161, allocations: 0.9385 MB / 0.5655 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.5164, allocations: 140 kB / 0.5657 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.5177, allocations: 0.6163 MB / 0.5663 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000865/0.5186, allocations: 0.748 MB / 0.567 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000979/0.5196, allocations: 0.8314 MB / 0.5678 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003617/0.5232, allocations: 2.506 MB / 0.5703 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.5232, allocations: 0 / 0.5703 GB, free: 7.301 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5232, allocations: 0 / 0.5703 GB, free: 7.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.371e-05/0.5233, allocations: 0 / 0.5703 GB, free: 7.301 MB / 414.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.004281/0.5275, allocations: 2.054 MB / 0.5723 GB, free: 5.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.5276, allocations: 8.031 kB / 0.5723 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/0.5287, allocations: 275.6 kB / 0.5725 GB, free: 4.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.5308, allocations: 1.111 MB / 0.5736 GB, free: 3.754 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/0.5309, allocations: 98.58 kB / 0.5737 GB, free: 3.656 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.5312, allocations: 124 kB / 0.5738 GB, free: 3.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005732/0.5369, allocations: 2.984 MB / 0.5767 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/0.5369, allocations: 15.83 kB / 0.5768 GB, free: 352 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/0.5371, allocations: 55.98 kB / 0.5768 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000674/0.5378, allocations: 434 kB / 0.5772 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004894/0.5427, allocations: 2.16 MB / 0.5793 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.5575, allocations: 10.7 MB / 0.5898 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.5613, allocations: 1.192 MB / 0.5909 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.5619, allocations: 371.2 kB / 0.5913 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004169/0.5661, allocations: 3.005 MB / 0.5942 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/0.5661, allocations: 39 kB / 0.5943 GB, free: 13.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.154e-06/0.5661, allocations: 3.938 kB / 0.5943 GB, free: 13.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01136/0.5775, allocations: 3.779 MB / 0.598 GB, free: 9.941 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.627e-05/0.5776, allocations: 85.67 kB / 0.598 GB, free: 9.836 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.5792, allocations: 1.194 MB / 0.5992 GB, free: 8.629 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.5793, allocations: 33.7 kB / 0.5992 GB, free: 8.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007532/0.58, allocations: 0.9702 MB / 0.6002 GB, free: 7.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.5802, allocations: 226.2 kB / 0.6004 GB, free: 7.387 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003998/0.5806, allocations: 319.3 kB / 0.6007 GB, free: 7.066 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5808, allocations: 305.1 kB / 0.601 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006492/0.5814, allocations: 411.7 kB / 0.6014 GB, free: 6.363 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.5829, allocations: 1.258 MB / 0.6026 GB, free: 4.691 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002582/0.5855, allocations: 1.802 MB / 0.6044 GB, free: 2.477 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.5855, allocations: 8 kB / 0.6044 GB, free: 2.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003116/0.5886, allocations: 1.742 MB / 0.6061 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.5886, allocations: 16 kB / 0.6061 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/0.5887, allocations: 32 kB / 0.6061 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.5889, allocations: 85.55 kB / 0.6062 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.59, allocations: 367.3 kB / 0.6066 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.5918, allocations: 1.873 MB / 0.6084 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009216/0.5927, allocations: 67.98 kB / 0.6085 GB, free: 14.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.5928, allocations: 84 kB / 0.6085 GB, free: 14.05 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.001008/0.5938, allocations: 0.6479 MB / 0.6092 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.594, allocations: 123.3 kB / 0.6093 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.5953, allocations: 0.7068 MB / 0.61 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.5953, allocations: 4 kB / 0.61 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.5953, allocations: 0 / 0.61 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.5953, allocations: 7.984 kB / 0.61 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.5989, allocations: 2.216 MB / 0.6122 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/0.5989, allocations: 8.5 kB / 0.6122 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.5993, allocations: 103.8 kB / 0.6123 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000172/0.5995, allocations: 64.83 kB / 0.6123 GB, free: 10.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.5995, allocations: 15.94 kB / 0.6123 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.6013, allocations: 1.944 MB / 0.6142 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.6013, allocations: 7.938 kB / 0.6143 GB, free: 7.945 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.6029, allocations: 1.105 MB / 0.6153 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.6032, allocations: 188.4 kB / 0.6155 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.6033, allocations: 19.94 kB / 0.6155 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.6037, allocations: 23.97 kB / 0.6156 GB, free: 6.527 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.6038, allocations: 51.83 kB / 0.6156 GB, free: 6.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/0.6038, allocations: 16 kB / 0.6156 GB, free: 6.461 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001073/0.6049, allocations: 0.7597 MB / 0.6164 GB, free: 5.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6049, allocations: 0 / 0.6164 GB, free: 5.695 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001534/0.6064, allocations: 308 kB / 0.6167 GB, free: 5.395 MB / 462.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.0002731/0.6067, allocations: 127 kB / 0.6168 GB, free: 5.258 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.6086, allocations: 1.065 MB / 0.6178 GB, free: 4.188 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6086, allocations: 0 / 0.6178 GB, free: 4.188 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005844/0.6092, allocations: 395.8 kB / 0.6182 GB, free: 3.789 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009643/0.6101, allocations: 200.3 kB / 0.6184 GB, free: 3.594 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005211/0.6153, allocations: 2.88 MB / 0.6212 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.6168, allocations: 1.451 MB / 0.6226 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001137/0.618, allocations: 409.7 kB / 0.623 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.6181, allocations: 79.42 kB / 0.6231 GB, free: 14.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.843e-06/0.6181, allocations: 0 / 0.6231 GB, free: 14.67 MB / 478.1 MB Notification: Performance of Templates: time 0.02653/0.6447, allocations: 11.29 MB / 0.6341 GB, free: 3.438 MB / 478.1 MB " [Timeout remaining time 659] 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: 6.054759821854532]