Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001876/0.001876, allocations: 81.78 kB / 21.25 MB, free: 0.5469 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.002119/0.002119, allocations: 163 kB / 24.5 MB, free: 3.715 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.457/1.457, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 71.88 kB / 443.1 MB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3574, allocations: 66.06 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.008516/0.3659, allocations: 7.657 MB / 0.5048 GB, free: 24.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006743/0.3726, allocations: 3.282 MB / 0.508 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.3737, allocations: 53.03 kB / 0.508 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002277/0.376, allocations: 1.325 MB / 0.5093 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.378, allocations: 0.9338 MB / 0.5102 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.3789, allocations: 0.5261 MB / 0.5107 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.3808, allocations: 1.72 MB / 0.5124 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.3823, allocations: 1.244 MB / 0.5136 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009161/0.3832, allocations: 0.675 MB / 0.5143 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.3845, allocations: 0.8709 MB / 0.5151 GB, free: 19.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.3847, allocations: 138.2 kB / 0.5153 GB, free: 19.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.3858, allocations: 0.5675 MB / 0.5158 GB, free: 19.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008213/0.3866, allocations: 0.7445 MB / 0.5165 GB, free: 19.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007708/0.3874, allocations: 0.6449 MB / 0.5172 GB, free: 18.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003535/0.3909, allocations: 2.502 MB / 0.5196 GB, free: 18.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3909, allocations: 1.125 kB / 0.5196 GB, free: 18.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3909, allocations: 0 / 0.5196 GB, free: 18.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.564e-05/0.391, allocations: 0.6094 kB / 0.5196 GB, free: 18.07 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.003789/0.3947, allocations: 1.971 MB / 0.5215 GB, free: 16.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.3948, allocations: 9.594 kB / 0.5216 GB, free: 16.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.396, allocations: 305.2 kB / 0.5218 GB, free: 16.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.3981, allocations: 1.002 MB / 0.5228 GB, free: 16.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/0.3982, allocations: 96.77 kB / 0.5229 GB, free: 16.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.3984, allocations: 128.9 kB / 0.523 GB, free: 16.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00589/0.4043, allocations: 3.048 MB / 0.526 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-05/0.4044, allocations: 10.67 kB / 0.526 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.4045, allocations: 56.34 kB / 0.5261 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006708/0.4052, allocations: 436.9 kB / 0.5265 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005114/0.4103, allocations: 2.164 MB / 0.5286 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01156/0.4219, allocations: 9.916 MB / 0.5383 GB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003938/0.4258, allocations: 1.267 MB / 0.5395 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.4263, allocations: 374.4 kB / 0.5399 GB, free: 6.293 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003319/0.4296, allocations: 2.025 MB / 0.5419 GB, free: 5.078 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.4297, allocations: 38.94 kB / 0.5419 GB, free: 5.035 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.234e-06/0.4297, allocations: 0 / 0.5419 GB, free: 5.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01195/0.4416, allocations: 3.752 MB / 0.5456 GB, free: 3.207 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.4416, allocations: 88.45 kB / 0.5457 GB, free: 3.109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.4429, allocations: 1.15 MB / 0.5468 GB, free: 2.148 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.443, allocations: 37.7 kB / 0.5468 GB, free: 2.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003843/0.4434, allocations: 0.9701 MB / 0.5478 GB, free: 1.121 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.4435, allocations: 230.1 kB / 0.548 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003068/0.4438, allocations: 323.3 kB / 0.5483 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.697e-05/0.4439, allocations: 353.9 kB / 0.5486 GB, free: 224 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.4445, allocations: 423.7 kB / 0.549 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.446, allocations: 1.279 MB / 0.5503 GB, free: 14.11 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/0.4484, allocations: 1.823 MB / 0.5521 GB, free: 11.88 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.4485, allocations: 8 kB / 0.5521 GB, free: 11.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003054/0.4515, allocations: 1.733 MB / 0.5538 GB, free: 10.12 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.4515, allocations: 16.19 kB / 0.5538 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.4516, allocations: 36 kB / 0.5538 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.4518, allocations: 88.75 kB / 0.5539 GB, free: 9.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.4529, allocations: 355.4 kB / 0.5542 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.4548, allocations: 1.75 MB / 0.5559 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009374/0.4558, allocations: 71.98 kB / 0.556 GB, free: 7.707 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.4559, allocations: 88 kB / 0.5561 GB, free: 7.621 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.001149/0.457, allocations: 0.6339 MB / 0.5567 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001639/0.4572, allocations: 119.2 kB / 0.5568 GB, free: 6.859 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.4574, allocations: 130.6 kB / 0.5569 GB, free: 6.73 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4574, allocations: 4 kB / 0.557 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4575, allocations: 4 kB / 0.557 GB, free: 6.723 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.4575, allocations: 7.984 kB / 0.557 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003472/0.4609, allocations: 1.805 MB / 0.5587 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4609, allocations: 4 kB / 0.5587 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.4613, allocations: 95.88 kB / 0.5588 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.4615, allocations: 64.77 kB / 0.5589 GB, free: 4.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.4616, allocations: 23.92 kB / 0.5589 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/0.4635, allocations: 1.795 MB / 0.5607 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.4635, allocations: 7.938 kB / 0.5607 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.4652, allocations: 1.111 MB / 0.5618 GB, free: 1.559 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4654, allocations: 103.4 kB / 0.5618 GB, free: 1.457 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-05/0.4655, allocations: 15.94 kB / 0.5619 GB, free: 1.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.4659, allocations: 23.98 kB / 0.5619 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.466, allocations: 55.8 kB / 0.5619 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/0.466, allocations: 20 kB / 0.562 GB, free: 1.344 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.467, allocations: 0.6986 MB / 0.5626 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.467, allocations: 0 / 0.5626 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001517/0.4686, allocations: 292 kB / 0.5629 GB, free: 360 kB / 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.0002568/0.4688, allocations: 131.1 kB / 0.563 GB, free: 216 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.4708, allocations: 1.081 MB / 0.5641 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4708, allocations: 0.6875 kB / 0.5641 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.4714, allocations: 394.2 kB / 0.5645 GB, free: 14.73 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009366/0.4723, allocations: 177.6 kB / 0.5646 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.4774, allocations: 2.863 MB / 0.5674 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.4786, allocations: 0.8588 MB / 0.5683 GB, free: 10.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009642/0.4796, allocations: 401 kB / 0.5687 GB, free: 10.31 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.4798, allocations: 84.48 kB / 0.5687 GB, free: 10.23 MB / 478.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4798, allocations: 0 / 0.5687 GB, free: 10.23 MB / 478.1 MB Notification: Performance of Templates: time 0.02236/0.5021, allocations: 9.654 MB / 0.5782 GB, free: 0.7422 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.606588372029364]