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.001214/0.001215, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1881/0.1881, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 75.89 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2828, allocations: 62.44 MB / 0.5317 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01131/0.2941, allocations: 12.27 MB / 0.5436 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006948/0.3011, allocations: 3.859 MB / 0.5474 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.3027, allocations: 62.06 kB / 0.5475 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00259/0.3053, allocations: 1.311 MB / 0.5488 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003748/0.3091, allocations: 1.755 MB / 0.5505 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.3101, allocations: 423.2 kB / 0.5509 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003926/0.3141, allocations: 3.596 MB / 0.5544 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.3165, allocations: 2.009 MB / 0.5563 GB, free: 8.395 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.3182, allocations: 1.191 MB / 0.5575 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.3203, allocations: 1.744 MB / 0.5592 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005889/0.3209, allocations: 240 kB / 0.5594 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001538/0.3225, allocations: 0.8074 MB / 0.5602 GB, free: 4.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.324, allocations: 1.57 MB / 0.5618 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0021/0.3261, allocations: 1.867 MB / 0.5636 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005274/0.3314, allocations: 6.058 MB / 0.5695 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3314, allocations: 0 / 0.5695 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3314, allocations: 4 kB / 0.5695 GB, free: 10.87 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.206e-05/0.3315, allocations: 3.984 kB / 0.5695 GB, free: 10.87 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.005508/0.337, allocations: 4.023 MB / 0.5734 GB, free: 6.777 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3371, allocations: 11.97 kB / 0.5734 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009218/0.3463, allocations: 3.08 MB / 0.5765 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/0.3497, allocations: 1.901 MB / 0.5783 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.3499, allocations: 185 kB / 0.5785 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/0.3503, allocations: 247.8 kB / 0.5787 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01239/0.3627, allocations: 10.19 MB / 0.5887 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.624e-05/0.3628, allocations: 27.66 kB / 0.5887 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003055/0.3631, allocations: 115.8 kB / 0.5888 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/0.3665, allocations: 2.467 MB / 0.5912 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.3808, allocations: 9.353 MB / 0.6003 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03959/0.4204, allocations: 31.44 MB / 0.6311 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005381/0.4259, allocations: 3.363 MB / 0.6343 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.4273, allocations: 1.068 MB / 0.6354 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.4284, allocations: 1.314 MB / 0.6367 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.4284, allocations: 47.88 kB / 0.6367 GB, free: 4.168 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 3.677e-06/0.4284, allocations: 0 / 0.6367 GB, free: 4.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.01762/0.4461, allocations: 9.096 MB / 0.6456 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.4462, allocations: 72.7 kB / 0.6457 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003496/0.4497, allocations: 2.599 MB / 0.6482 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.438e-05/0.4498, allocations: 49.69 kB / 0.6482 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001621/0.4514, allocations: 2.658 MB / 0.6508 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.4519, allocations: 0.7132 MB / 0.6515 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.4531, allocations: 0.9646 MB / 0.6525 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.4532, allocations: 305.1 kB / 0.6528 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.4553, allocations: 1.548 MB / 0.6543 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003854/0.4592, allocations: 4.391 MB / 0.6586 GB, free: 12.16 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006551/0.4657, allocations: 6.563 MB / 0.665 GB, free: 4.203 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.485e-05/0.4658, allocations: 28 kB / 0.665 GB, free: 4.176 MB / 0.5138 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.00823/0.4741, allocations: 5.859 MB / 0.6707 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.055e-05/0.4741, allocations: 48 kB / 0.6708 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/0.4743, allocations: 100 kB / 0.6709 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.4746, allocations: 176.9 kB / 0.671 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/0.4774, allocations: 1.072 MB / 0.6721 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.4789, allocations: 1.79 MB / 0.6738 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.4811, allocations: 211.9 kB / 0.674 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003607/0.4815, allocations: 288 kB / 0.6743 GB, free: 10.5 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.002494/0.484, allocations: 1.993 MB / 0.6763 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.4843, allocations: 248.8 kB / 0.6765 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/0.4877, allocations: 2.533 MB / 0.679 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/0.4878, allocations: 27.92 kB / 0.679 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4878, allocations: 4 kB / 0.679 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.4878, allocations: 11.91 kB / 0.679 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.4991, allocations: 7.921 MB / 0.6867 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/0.4991, allocations: 12 kB / 0.6868 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009092/0.5, allocations: 247.6 kB / 0.687 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000149/0.5002, allocations: 56.83 kB / 0.687 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.5003, allocations: 43.98 kB / 0.6871 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/0.5015, allocations: 1.622 MB / 0.6887 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-06/0.5015, allocations: 12.12 kB / 0.6887 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004518/0.5061, allocations: 4.015 MB / 0.6926 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004807/0.5065, allocations: 302 kB / 0.6929 GB, free: 6.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.5069, allocations: 43.98 kB / 0.6929 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007493/0.5076, allocations: 55.94 kB / 0.693 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.5078, allocations: 124.6 kB / 0.6931 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.5079, allocations: 63.98 kB / 0.6932 GB, free: 6.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002159/0.5101, allocations: 1.603 MB / 0.6947 GB, free: 5.016 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5101, allocations: 0 / 0.6947 GB, free: 5.016 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003065/0.5132, allocations: 0.7812 MB / 0.6955 GB, free: 4.234 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.0003721/0.5135, allocations: 186.9 kB / 0.6957 GB, free: 4.043 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005116/0.5187, allocations: 3.872 MB / 0.6995 GB, free: 184 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.393e-06/0.5187, allocations: 4 kB / 0.6995 GB, free: 180 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001429/0.5201, allocations: 1.237 MB / 0.7007 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.5216, allocations: 347.6 kB / 0.701 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.5349, allocations: 8.846 MB / 0.7096 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003497/0.5384, allocations: 3.137 MB / 0.7127 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006692/0.5391, allocations: 227.4 kB / 0.7129 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.5391, allocations: 0 / 0.7129 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of Templates: time 0.298/0.8371, allocations: 65.27 MB / 0.7767 GB, free: 145.5 MB / 0.5763 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