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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001211/0.00121, allocations: 117 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 208 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.196/1.196, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1895/0.1895, allocations: 46.11 MB / 345 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2662, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01165/0.2779, allocations: 12.26 MB / 0.5437 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006636/0.2845, allocations: 3.854 MB / 0.5474 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.2856, allocations: 61.47 kB / 0.5475 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002179/0.2877, allocations: 1.319 MB / 0.5488 GB, free: 96 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.2908, allocations: 1.752 MB / 0.5505 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008097/0.2916, allocations: 423.2 kB / 0.5509 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003719/0.2953, allocations: 3.603 MB / 0.5544 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.2976, allocations: 2.001 MB / 0.5564 GB, free: 8.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.2991, allocations: 1.199 MB / 0.5575 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002121/0.3013, allocations: 1.736 MB / 0.5592 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005748/0.3019, allocations: 240 kB / 0.5594 GB, free: 5.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.3034, allocations: 0.8152 MB / 0.5602 GB, free: 4.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.3046, allocations: 1.562 MB / 0.5618 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.306, allocations: 1.867 MB / 0.5636 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004923/0.311, allocations: 6.092 MB / 0.5695 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.311, allocations: 0 / 0.5695 GB, free: 10.79 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.311, allocations: 0 / 0.5695 GB, free: 10.79 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.854e-05/0.311, allocations: 3.938 kB / 0.5695 GB, free: 10.79 MB / 430.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.004942/0.316, allocations: 4.136 MB / 0.5736 GB, free: 6.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.316, allocations: 8.031 kB / 0.5736 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008981/0.325, allocations: 3.098 MB / 0.5766 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.3281, allocations: 1.91 MB / 0.5785 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.3282, allocations: 193 kB / 0.5787 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004605/0.3287, allocations: 247.8 kB / 0.5789 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.3411, allocations: 10.18 MB / 0.5888 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.798e-05/0.3412, allocations: 27.77 kB / 0.5889 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.3415, allocations: 115.8 kB / 0.589 GB, free: 6.312 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003215/0.3447, allocations: 2.471 MB / 0.5914 GB, free: 3.836 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01436/0.3591, allocations: 9.349 MB / 0.6005 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03715/0.3963, allocations: 31.52 MB / 0.6313 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005128/0.4015, allocations: 3.355 MB / 0.6346 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.4028, allocations: 1.07 MB / 0.6356 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.4039, allocations: 1.314 MB / 0.6369 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4039, allocations: 51.86 kB / 0.637 GB, free: 3.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.458e-06/0.4039, allocations: 0 / 0.637 GB, free: 3.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.01659/0.4205, allocations: 9.162 MB / 0.6459 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.4206, allocations: 64.72 kB / 0.646 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003214/0.4238, allocations: 2.615 MB / 0.6485 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.639e-05/0.4239, allocations: 53.64 kB / 0.6486 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.4257, allocations: 2.78 MB / 0.6513 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005359/0.4263, allocations: 0.7286 MB / 0.652 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.4273, allocations: 0.9771 MB / 0.653 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.4274, allocations: 309.1 kB / 0.6532 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.4295, allocations: 1.548 MB / 0.6548 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/0.4334, allocations: 4.387 MB / 0.659 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006967/0.4404, allocations: 6.563 MB / 0.6655 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.855e-05/0.4404, allocations: 28 kB / 0.6655 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.00814/0.4486, allocations: 5.868 MB / 0.6712 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-05/0.4487, allocations: 51.94 kB / 0.6713 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/0.4488, allocations: 100 kB / 0.6714 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.4491, allocations: 176.9 kB / 0.6715 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.4519, allocations: 1.068 MB / 0.6726 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.4533, allocations: 1.798 MB / 0.6743 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.4555, allocations: 200 kB / 0.6745 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/0.4559, allocations: 299.9 kB / 0.6748 GB, free: 9.996 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.002461/0.4583, allocations: 2.001 MB / 0.6768 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.4587, allocations: 254.3 kB / 0.677 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.4621, allocations: 2.53 MB / 0.6795 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.4621, allocations: 3.984 kB / 0.6795 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4621, allocations: 0 / 0.6795 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.4625, allocations: 299.4 kB / 0.6798 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.4627, allocations: 24 kB / 0.6798 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.4633, allocations: 55.88 kB / 0.6798 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/0.4635, allocations: 81.19 kB / 0.6799 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003159/0.4667, allocations: 2.244 MB / 0.6821 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004233/0.4709, allocations: 3.801 MB / 0.6858 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001078/0.472, allocations: 0.983 MB / 0.6868 GB, free: 13.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002232/0.4742, allocations: 1.583 MB / 0.6883 GB, free: 12.05 MB / 0.545 GB Notification: Performance of Backend: time 4.41e-07/0.4742, allocations: 0 / 0.6883 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005093/0.4793, allocations: 3.148 MB / 0.6914 GB, free: 8.906 MB / 0.545 GB Notification: Performance of SimCode: time 0.01162/0.491, allocations: 8.281 MB / 0.6995 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of Templates: time 0.7573/1.248, allocations: 30.89 MB / 0.7296 GB, free: 162.1 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches