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.001052/0.001052, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004336/0.004336, allocations: 157.7 kB / 24.7 MB, free: 8.891 MB / 18.57 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 0.8686/0.8686, allocations: 177 MB / 204.9 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2386/0.2386, allocations: 34.24 MB / 295.6 MB, free: 0.6875 MB / 266.7 MB " [Timeout remaining time 180] 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 1.032e-06/1.032e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.099e-05, allocations: 6.281 kB / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1638/0.1638, allocations: 10.71 MB / 454.1 MB, free: 38.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.1672, allocations: 3.688 MB / 457.8 MB, free: 35.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.1677, allocations: 68.53 kB / 457.9 MB, free: 35.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.1689, allocations: 1.346 MB / 459.2 MB, free: 35.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.1703, allocations: 1.84 MB / 461.1 MB, free: 34.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.1707, allocations: 453.8 kB / 461.5 MB, free: 34.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.1723, allocations: 3.966 MB / 465.5 MB, free: 32.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.1734, allocations: 2.093 MB / 467.6 MB, free: 32.04 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009431/0.1743, allocations: 1.846 MB / 469.4 MB, free: 31.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/0.1754, allocations: 1.96 MB / 471.4 MB, free: 30.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001854/0.1756, allocations: 242.3 kB / 471.6 MB, free: 30.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006483/0.1763, allocations: 0.7796 MB / 472.4 MB, free: 30.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005646/0.1768, allocations: 1.664 MB / 474.1 MB, free: 29.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004855/0.1773, allocations: 0.9994 MB / 475.1 MB, free: 29.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.1803, allocations: 6.039 MB / 481.1 MB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1803, allocations: 0.6094 kB / 481.1 MB, free: 27.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1803, allocations: 0 / 481.1 MB, free: 27.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.491e-05/0.1804, allocations: 3.938 kB / 481.1 MB, free: 27.37 MB / 410.7 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.003777/0.1841, allocations: 4.063 MB / 485.2 MB, free: 24.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1842, allocations: 9.938 kB / 485.2 MB, free: 24.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005788/0.19, allocations: 3.148 MB / 488.3 MB, free: 24.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.1921, allocations: 1.852 MB / 490.2 MB, free: 23.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.4e-05/0.1921, allocations: 186.5 kB / 490.4 MB, free: 23.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003364/0.1925, allocations: 252.6 kB / 490.6 MB, free: 23.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008543/0.201, allocations: 10.19 MB / 0.4891 GB, free: 19.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.028e-05/0.2011, allocations: 26.72 kB / 0.4891 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.2013, allocations: 122.5 kB / 0.4892 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002033/0.2033, allocations: 2.463 MB / 0.4916 GB, free: 18.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008356/0.2117, allocations: 9.346 MB / 0.5007 GB, free: 10.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.2322, allocations: 28.84 MB / 0.5289 GB, free: 13.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00311/0.2353, allocations: 2.421 MB / 0.5313 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/0.2362, allocations: 0.9982 MB / 0.5322 GB, free: 9.609 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005104/0.2367, allocations: 443.9 kB / 0.5327 GB, free: 9.184 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.2367, allocations: 47.12 kB / 0.5327 GB, free: 9.129 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 3.576e-06/0.2367, allocations: 0 / 0.5327 GB, free: 9.129 MB / 442.7 MB Notification: Performance of matching and sorting (n=191): time 0.01208/0.2488, allocations: 9.209 MB / 0.5417 GB, free: 15.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.2488, allocations: 72.7 kB / 0.5418 GB, free: 15.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/0.251, allocations: 2.683 MB / 0.5444 GB, free: 13.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.251, allocations: 49.7 kB / 0.5444 GB, free: 13.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.2522, allocations: 2.764 MB / 0.5471 GB, free: 10.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.2525, allocations: 0.7286 MB / 0.5479 GB, free: 9.512 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/0.2535, allocations: 0.9575 MB / 0.5488 GB, free: 8.543 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.2536, allocations: 357.9 kB / 0.5491 GB, free: 8.188 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.255, allocations: 1.548 MB / 0.5506 GB, free: 6.633 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002876/0.2579, allocations: 4.391 MB / 0.5549 GB, free: 0.8359 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004782/0.2627, allocations: 6.56 MB / 0.5613 GB, free: 8.887 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-05/0.2627, allocations: 31.94 kB / 0.5614 GB, free: 8.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.00548/0.2682, allocations: 5.853 MB / 0.5671 GB, free: 2.988 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/0.2683, allocations: 48 kB / 0.5671 GB, free: 2.941 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.538e-05/0.2683, allocations: 100 kB / 0.5672 GB, free: 2.844 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004903/0.2688, allocations: 172.8 kB / 0.5674 GB, free: 2.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.2705, allocations: 1.076 MB / 0.5684 GB, free: 1.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.2719, allocations: 1.663 MB / 0.5701 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.2737, allocations: 239.8 kB / 0.5703 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.274, allocations: 294.5 kB / 0.5706 GB, free: 15.32 MB / 490.7 MB 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.002391/0.2764, allocations: 1.993 MB / 0.5725 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.2766, allocations: 246.4 kB / 0.5727 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/0.2791, allocations: 2.527 MB / 0.5752 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.2791, allocations: 24 kB / 0.5752 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2791, allocations: 0 / 0.5752 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.2792, allocations: 11.91 kB / 0.5753 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.286, allocations: 6.575 MB / 0.5817 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.286, allocations: 11.94 kB / 0.5817 GB, free: 3.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.2866, allocations: 255.6 kB / 0.5819 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.2867, allocations: 56.83 kB / 0.582 GB, free: 3.406 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.296e-05/0.2867, allocations: 43.98 kB / 0.582 GB, free: 3.363 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000873/0.2876, allocations: 1.491 MB / 0.5835 GB, free: 1.777 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.2876, allocations: 19.88 kB / 0.5835 GB, free: 1.758 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003127/0.2907, allocations: 3.994 MB / 0.5874 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.291, allocations: 230.1 kB / 0.5876 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.2912, allocations: 44.86 kB / 0.5877 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.2916, allocations: 71.98 kB / 0.5877 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.2917, allocations: 128.6 kB / 0.5879 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.582e-05/0.2918, allocations: 67.97 kB / 0.5879 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001557/0.2934, allocations: 1.524 MB / 0.5894 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.2934, allocations: 0 / 0.5894 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002372/0.2957, allocations: 0.832 MB / 0.5902 GB, free: 10.71 MB / 0.4948 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.0003386/0.2961, allocations: 194.7 kB / 0.5904 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003358/0.2994, allocations: 3.729 MB / 0.594 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2994, allocations: 128 / 0.594 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009035/0.3003, allocations: 1.162 MB / 0.5952 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3014, allocations: 270.2 kB / 0.5954 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.3105, allocations: 8.988 MB / 0.6042 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/0.3126, allocations: 2.587 MB / 0.6067 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/0.313, allocations: 228.4 kB / 0.607 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of SimCode: time 1.433e-06/0.313, allocations: 0 / 0.607 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of Templates: time 0.2175/0.5305, allocations: 65.92 MB / 0.6713 GB, free: 141.2 MB / 0.5261 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/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: 7.763392753899097]