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.001235/0.001235, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2493/0.2493, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 79.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3766, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01209/0.3888, allocations: 12.26 MB / 0.543 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007865/0.3967, allocations: 3.854 MB / 0.5467 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00236/0.3991, allocations: 61.94 kB / 0.5468 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003127/0.4022, allocations: 1.319 MB / 0.5481 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005056/0.4073, allocations: 1.712 MB / 0.5498 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.4088, allocations: 423.2 kB / 0.5502 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005444/0.4142, allocations: 3.598 MB / 0.5537 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003232/0.4175, allocations: 1.997 MB / 0.5556 GB, free: 8.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002394/0.4199, allocations: 1.187 MB / 0.5568 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003113/0.423, allocations: 1.744 MB / 0.5585 GB, free: 5.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001162/0.4242, allocations: 240 kB / 0.5587 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.4267, allocations: 0.8074 MB / 0.5595 GB, free: 4.43 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002378/0.4291, allocations: 1.566 MB / 0.561 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004055/0.4332, allocations: 1.867 MB / 0.5629 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008104/0.4413, allocations: 6.095 MB / 0.5688 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4413, allocations: 0 / 0.5688 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4413, allocations: 0 / 0.5688 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002128/0.4416, allocations: 0 / 0.5688 GB, free: 10.86 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.008456/0.45, allocations: 4.14 MB / 0.5729 GB, free: 6.648 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4501, allocations: 8.031 kB / 0.5729 GB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01046/0.4606, allocations: 3.102 MB / 0.5759 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.4647, allocations: 1.914 MB / 0.5778 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.4649, allocations: 185 kB / 0.5779 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.466, allocations: 251.8 kB / 0.5782 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/0.4821, allocations: 10.17 MB / 0.5881 GB, free: 6.527 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001394/0.4823, allocations: 31.7 kB / 0.5881 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006701/0.483, allocations: 115.8 kB / 0.5883 GB, free: 6.383 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003978/0.487, allocations: 2.463 MB / 0.5907 GB, free: 3.914 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/0.5062, allocations: 9.357 MB / 0.5998 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05013/0.5563, allocations: 31.52 MB / 0.6306 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006129/0.5625, allocations: 3.347 MB / 0.6339 GB, free: 6.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.5642, allocations: 1.072 MB / 0.6349 GB, free: 5.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.5656, allocations: 1.31 MB / 0.6362 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.5657, allocations: 47.88 kB / 0.6362 GB, free: 3.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 7.724e-06/0.5657, allocations: 0 / 0.6362 GB, free: 3.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.0212/0.5869, allocations: 9.173 MB / 0.6452 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.587, allocations: 64.72 kB / 0.6452 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/0.5912, allocations: 2.615 MB / 0.6478 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001587/0.5913, allocations: 53.69 kB / 0.6479 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/0.5937, allocations: 2.768 MB / 0.6506 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009418/0.5947, allocations: 0.7364 MB / 0.6513 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/0.5964, allocations: 0.9732 MB / 0.6522 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.5965, allocations: 308.8 kB / 0.6525 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/0.599, allocations: 1.548 MB / 0.654 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004293/0.6033, allocations: 4.387 MB / 0.6583 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007613/0.6109, allocations: 6.567 MB / 0.6647 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.701e-05/0.6111, allocations: 28 kB / 0.6648 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01048/0.6216, allocations: 5.868 MB / 0.6705 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/0.6217, allocations: 44 kB / 0.6705 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000146/0.6218, allocations: 100 kB / 0.6706 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.6223, allocations: 176.9 kB / 0.6708 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003233/0.6255, allocations: 1.076 MB / 0.6718 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.6272, allocations: 1.79 MB / 0.6736 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002792/0.63, allocations: 211.9 kB / 0.6738 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005167/0.6306, allocations: 292 kB / 0.6741 GB, free: 10.08 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.002821/0.6334, allocations: 2.001 MB / 0.676 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004223/0.6338, allocations: 266.2 kB / 0.6763 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/0.6377, allocations: 2.526 MB / 0.6787 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.207e-05/0.6378, allocations: 27.94 kB / 0.6788 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6378, allocations: 0 / 0.6788 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6378, allocations: 11.97 kB / 0.6788 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.65, allocations: 7.922 MB / 0.6865 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.6501, allocations: 11.98 kB / 0.6865 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.6511, allocations: 247.6 kB / 0.6868 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.6513, allocations: 56.89 kB / 0.6868 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.6514, allocations: 44 kB / 0.6869 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.6527, allocations: 1.63 MB / 0.6885 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/0.6527, allocations: 11.94 kB / 0.6885 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004922/0.6576, allocations: 4.028 MB / 0.6924 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005786/0.6582, allocations: 307.3 kB / 0.6927 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/0.6586, allocations: 48.05 kB / 0.6927 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008856/0.6595, allocations: 51.95 kB / 0.6928 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.6597, allocations: 124.5 kB / 0.6929 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.6599, allocations: 67.98 kB / 0.693 GB, free: 6.172 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002515/0.6624, allocations: 1.599 MB / 0.6945 GB, free: 4.562 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.673e-06/0.6624, allocations: 0 / 0.6945 GB, free: 4.562 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003564/0.666, allocations: 0.7811 MB / 0.6953 GB, free: 3.781 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.0004845/0.6665, allocations: 178.8 kB / 0.6955 GB, free: 3.598 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00588/0.6724, allocations: 3.884 MB / 0.6993 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.6724, allocations: 0 / 0.6993 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.6741, allocations: 1.245 MB / 0.7005 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.6765, allocations: 350.4 kB / 0.7008 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/0.6909, allocations: 8.551 MB / 0.7092 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004574/0.6955, allocations: 3.126 MB / 0.7122 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00369/0.6992, allocations: 1.714 MB / 0.7139 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000681/0.6999, allocations: 187.4 kB / 0.7141 GB, free: 364 kB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.6999, allocations: 0 / 0.7141 GB, free: 364 kB / 0.5606 GB Notification: Performance of Templates: time 0.3401/1.04, allocations: 20.84 MB / 0.7344 GB, free: 177.3 MB / 0.5762 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches