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.001721/0.001721, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002021/0.002021, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.51/1.51, allocations: 177 MB / 204.1 MB, free: 9.148 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.2281/0.2281, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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 2.104e-06/2.104e-06, allocations: 0 / 442.7 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.136e-05, allocations: 2.281 kB / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.2239/0.2239, allocations: 10.71 MB / 453.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008223/0.2322, allocations: 3.695 MB / 457.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.2338, allocations: 68.88 kB / 457.1 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002864/0.2367, allocations: 1.338 MB / 458.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005528/0.2422, allocations: 1.832 MB / 460.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.2437, allocations: 463.5 kB / 460.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006343/0.2501, allocations: 3.974 MB / 464.7 MB, free: 8.434 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004696/0.2548, allocations: 2.096 MB / 466.8 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004183/0.259, allocations: 1.835 MB / 468.7 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.2624, allocations: 1.961 MB / 470.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006112/0.263, allocations: 246.4 kB / 470.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.2649, allocations: 0.7783 MB / 471.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.2664, allocations: 1.667 MB / 473.3 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.2677, allocations: 0.9998 MB / 474.3 MB, free: 3.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.2737, allocations: 6.045 MB / 480.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.2737, allocations: 0 / 480.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2737, allocations: 0 / 480.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001465/0.2739, allocations: 0 / 480.4 MB, free: 15.74 MB / 382.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.008251/0.2821, allocations: 4.066 MB / 484.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.2822, allocations: 8.031 kB / 484.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.2939, allocations: 3.145 MB / 487.6 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/0.2987, allocations: 1.855 MB / 489.4 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.2989, allocations: 185 kB / 489.6 MB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008626/0.2998, allocations: 248.2 kB / 489.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01996/0.3197, allocations: 10.19 MB / 0.4883 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.048e-05/0.3198, allocations: 27.75 kB / 0.4884 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.3202, allocations: 119.8 kB / 0.4885 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004405/0.3246, allocations: 2.471 MB / 0.4909 GB, free: 9.328 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0207/0.3453, allocations: 9.337 MB / 0.5 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04912/0.3944, allocations: 28.83 MB / 0.5282 GB, free: 2.348 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/0.4006, allocations: 2.426 MB / 0.5305 GB, free: 15.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.4023, allocations: 0.9938 MB / 0.5315 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008511/0.4031, allocations: 440.8 kB / 0.5319 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.4032, allocations: 47.88 kB / 0.532 GB, free: 14.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 4.419e-06/0.4032, allocations: 7.938 kB / 0.532 GB, free: 14.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.02331/0.4265, allocations: 9.201 MB / 0.541 GB, free: 5.184 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/0.4266, allocations: 64.72 kB / 0.541 GB, free: 5.109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.4306, allocations: 2.687 MB / 0.5436 GB, free: 2.391 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.4307, allocations: 53.69 kB / 0.5437 GB, free: 2.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002278/0.433, allocations: 2.76 MB / 0.5464 GB, free: 15.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008309/0.4339, allocations: 0.7286 MB / 0.5471 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.4352, allocations: 0.9614 MB / 0.548 GB, free: 13.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.4354, allocations: 357.9 kB / 0.5484 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002627/0.438, allocations: 1.548 MB / 0.5499 GB, free: 11.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/0.4433, allocations: 4.391 MB / 0.5542 GB, free: 6.125 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009089/0.4524, allocations: 6.557 MB / 0.5606 GB, free: 14.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.765e-05/0.4525, allocations: 31.94 kB / 0.5606 GB, free: 14.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01116/0.4637, allocations: 5.852 MB / 0.5663 GB, free: 8.281 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.4638, allocations: 47.98 kB / 0.5664 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001667/0.4639, allocations: 100 kB / 0.5665 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004458/0.4644, allocations: 177.4 kB / 0.5666 GB, free: 7.965 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.4679, allocations: 1.076 MB / 0.5677 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.4698, allocations: 1.666 MB / 0.5693 GB, free: 5.121 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003434/0.4732, allocations: 239.9 kB / 0.5696 GB, free: 4.887 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004568/0.4737, allocations: 292 kB / 0.5698 GB, free: 4.602 MB / 478.1 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.004584/0.4782, allocations: 1.993 MB / 0.5718 GB, free: 2.594 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006347/0.4789, allocations: 246.3 kB / 0.572 GB, free: 2.352 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004323/0.4832, allocations: 2.523 MB / 0.5745 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/0.4832, allocations: 27.97 kB / 0.5745 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4833, allocations: 0 / 0.5745 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.4833, allocations: 11.92 kB / 0.5745 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/0.496, allocations: 6.573 MB / 0.5809 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.496, allocations: 19.92 kB / 0.581 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.4971, allocations: 251.5 kB / 0.5812 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.4973, allocations: 52.83 kB / 0.5812 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.4974, allocations: 40 kB / 0.5813 GB, free: 8.656 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001629/0.4991, allocations: 1.5 MB / 0.5827 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/0.4991, allocations: 19.94 kB / 0.5828 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006183/0.5053, allocations: 3.983 MB / 0.5867 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008169/0.5061, allocations: 250.2 kB / 0.5869 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002854/0.5064, allocations: 36 kB / 0.5869 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/0.5072, allocations: 75.91 kB / 0.587 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/0.5075, allocations: 124.6 kB / 0.5871 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.5076, allocations: 59.98 kB / 0.5872 GB, free: 2.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002752/0.5104, allocations: 1.528 MB / 0.5887 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5104, allocations: 0 / 0.5887 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004389/0.5148, allocations: 0.832 MB / 0.5895 GB, free: 15.99 MB / 0.4981 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.0005442/0.5153, allocations: 190.7 kB / 0.5897 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006697/0.522, allocations: 3.72 MB / 0.5933 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/0.522, allocations: 4 kB / 0.5933 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/0.5239, allocations: 1.171 MB / 0.5944 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.5259, allocations: 264.8 kB / 0.5947 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01704/0.5429, allocations: 8.553 MB / 0.603 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003704/0.5466, allocations: 2.583 MB / 0.6056 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004066/0.5507, allocations: 1.693 MB / 0.6072 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/0.5512, allocations: 180.5 kB / 0.6074 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of SimCode: time 1.643e-06/0.5512, allocations: 0 / 0.6074 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of Templates: time 0.04651/0.5977, allocations: 16.65 MB / 0.6236 GB, free: 13.09 MB / 0.5294 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: 6.530586585402489]