Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.00188/0.00188, allocations: 81.16 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.001543/0.001543, allocations: 158.1 kB / 24.5 MB, free: 3.719 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.453/1.453, allocations: 177.1 MB / 204.7 MB, free: 8.98 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.2548/0.2548, allocations: 34.25 MB / 295.4 MB, free: 14.49 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 79.88 kB / 443.2 MB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3666, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01418/0.3808, allocations: 10.73 MB / 0.5078 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00979/0.3906, allocations: 3.679 MB / 0.5113 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002755/0.3933, allocations: 74.34 kB / 0.5114 GB, free: 20.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00337/0.3967, allocations: 1.303 MB / 0.5127 GB, free: 20 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00527/0.402, allocations: 1.762 MB / 0.5144 GB, free: 19.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.4032, allocations: 430.7 kB / 0.5148 GB, free: 19.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006921/0.4101, allocations: 3.593 MB / 0.5183 GB, free: 17.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004171/0.4143, allocations: 1.828 MB / 0.5201 GB, free: 16.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/0.4171, allocations: 1.216 MB / 0.5213 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00354/0.4207, allocations: 1.842 MB / 0.5231 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001015/0.4217, allocations: 239.8 kB / 0.5233 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.4243, allocations: 0.7178 MB / 0.524 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.4267, allocations: 1.604 MB / 0.5256 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002539/0.4293, allocations: 1.334 MB / 0.5269 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007762/0.437, allocations: 6.114 MB / 0.5329 GB, free: 11.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.437, allocations: 0 / 0.5329 GB, free: 11.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.437, allocations: 0 / 0.5329 GB, free: 11.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001484/0.4372, allocations: 1.375 kB / 0.5329 GB, free: 11.54 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.006847/0.444, allocations: 4.064 MB / 0.5368 GB, free: 8.641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4441, allocations: 9.094 kB / 0.5369 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.4542, allocations: 3.154 MB / 0.5399 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004274/0.4585, allocations: 1.863 MB / 0.5418 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.4586, allocations: 185.2 kB / 0.5419 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005331/0.4592, allocations: 248.6 kB / 0.5422 GB, free: 5.684 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01497/0.4741, allocations: 10.19 MB / 0.5521 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-05/0.4742, allocations: 35.75 kB / 0.5521 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.4746, allocations: 115.8 kB / 0.5523 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004248/0.4789, allocations: 2.463 MB / 0.5547 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02089/0.4998, allocations: 9.349 MB / 0.5638 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04672/0.5465, allocations: 28.8 MB / 0.5919 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006016/0.5525, allocations: 2.42 MB / 0.5943 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.5541, allocations: 0.9938 MB / 0.5953 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008644/0.555, allocations: 438.6 kB / 0.5957 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/0.555, allocations: 51.88 kB / 0.5957 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.47e-06/0.555, allocations: 0 / 0.5957 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02234/0.5774, allocations: 9.17 MB / 0.6047 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.5774, allocations: 64.72 kB / 0.6047 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004363/0.5818, allocations: 2.609 MB / 0.6073 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.5821, allocations: 53.69 kB / 0.6073 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002235/0.5843, allocations: 2.791 MB / 0.6101 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008901/0.5852, allocations: 0.7327 MB / 0.6108 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.5866, allocations: 0.9771 MB / 0.6117 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002311/0.5868, allocations: 361.7 kB / 0.6121 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002717/0.5895, allocations: 1.552 MB / 0.6136 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00485/0.5944, allocations: 4.387 MB / 0.6179 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008574/0.6029, allocations: 6.564 MB / 0.6243 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-05/0.603, allocations: 28 kB / 0.6243 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01035/0.6134, allocations: 5.856 MB / 0.63 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.064e-05/0.6135, allocations: 51.94 kB / 0.6301 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/0.6136, allocations: 100.8 kB / 0.6302 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003686/0.614, allocations: 172.8 kB / 0.6303 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/0.6175, allocations: 1.076 MB / 0.6314 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/0.6194, allocations: 1.659 MB / 0.633 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/0.6225, allocations: 207.9 kB / 0.6332 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006017/0.6231, allocations: 292 kB / 0.6335 GB, free: 5.551 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (596): * Single equations (assignments): 589 * Array equations: 6 * 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.004058/0.6272, allocations: 1.989 MB / 0.6354 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004544/0.6276, allocations: 246.3 kB / 0.6357 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/0.6318, allocations: 2.527 MB / 0.6381 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-05/0.6318, allocations: 27.97 kB / 0.6382 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6319, allocations: 0 / 0.6382 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.6319, allocations: 11.97 kB / 0.6382 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.6448, allocations: 6.556 MB / 0.6446 GB, free: 9.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.6448, allocations: 8 kB / 0.6446 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/0.6458, allocations: 251.5 kB / 0.6448 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000179/0.646, allocations: 56.83 kB / 0.6449 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.6461, allocations: 43.98 kB / 0.6449 GB, free: 9.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.6477, allocations: 1.504 MB / 0.6464 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.6477, allocations: 15.94 kB / 0.6464 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005853/0.6536, allocations: 4.01 MB / 0.6503 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/0.6544, allocations: 222.3 kB / 0.6505 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.6546, allocations: 39.97 kB / 0.6506 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007427/0.6554, allocations: 55.95 kB / 0.6506 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.6556, allocations: 120.6 kB / 0.6507 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.6557, allocations: 63.98 kB / 0.6508 GB, free: 3.352 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002492/0.6582, allocations: 1.469 MB / 0.6522 GB, free: 1.867 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6582, allocations: 0 / 0.6522 GB, free: 1.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004068/0.6623, allocations: 0.7811 MB / 0.653 GB, free: 1.086 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0005019/0.6628, allocations: 180.2 kB / 0.6532 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006374/0.6692, allocations: 3.72 MB / 0.6568 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/0.6692, allocations: 0 / 0.6568 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001825/0.671, allocations: 1.171 MB / 0.6579 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.6728, allocations: 263.9 kB / 0.6582 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.6881, allocations: 8.638 MB / 0.6666 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003743/0.6918, allocations: 2.579 MB / 0.6691 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003815/0.6956, allocations: 1.696 MB / 0.6708 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004639/0.6961, allocations: 180.5 kB / 0.671 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.6961, allocations: 0 / 0.671 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.043/0.7391, allocations: 15.8 MB / 0.6864 GB, free: 14.97 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.3517440429423]