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.001029/0.001029, 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.001222/0.001223, allocations: 202 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.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 76.2 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3872, allocations: 62.43 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01323/0.4005, allocations: 12.26 MB / 0.543 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009043/0.4096, allocations: 3.851 MB / 0.5467 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.412, allocations: 61.09 kB / 0.5468 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.4149, allocations: 1.32 MB / 0.5481 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005817/0.4208, allocations: 1.721 MB / 0.5498 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001266/0.4221, allocations: 419.2 kB / 0.5502 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005637/0.4278, allocations: 3.605 MB / 0.5537 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.4311, allocations: 2.013 MB / 0.5556 GB, free: 8.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.4333, allocations: 1.191 MB / 0.5568 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002532/0.4358, allocations: 1.74 MB / 0.5585 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005176/0.4364, allocations: 240 kB / 0.5587 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.438, allocations: 0.8074 MB / 0.5595 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001551/0.4396, allocations: 1.566 MB / 0.5611 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002552/0.4422, allocations: 1.875 MB / 0.5629 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009556/0.4517, allocations: 6.054 MB / 0.5688 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.4518, allocations: 0 / 0.5688 GB, free: 10.87 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4518, allocations: 4 kB / 0.5688 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002902/0.4521, 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.009067/0.4612, allocations: 4.027 MB / 0.5727 GB, free: 6.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.874e-05/0.4613, allocations: 8.031 kB / 0.5727 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.4718, allocations: 3.08 MB / 0.5757 GB, free: 3.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005402/0.4772, allocations: 1.897 MB / 0.5776 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.4774, allocations: 185 kB / 0.5778 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009689/0.4784, allocations: 251.8 kB / 0.578 GB, free: 1.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0196/0.498, allocations: 10.18 MB / 0.588 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.4982, allocations: 27.72 kB / 0.588 GB, free: 6.648 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009379/0.4992, allocations: 115.8 kB / 0.5881 GB, free: 6.535 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004356/0.5035, allocations: 2.471 MB / 0.5905 GB, free: 4.059 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01926/0.5228, allocations: 9.349 MB / 0.5996 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05179/0.5746, allocations: 31.44 MB / 0.6303 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006437/0.5811, allocations: 3.366 MB / 0.6336 GB, free: 6.844 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/0.583, allocations: 1.07 MB / 0.6347 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001319/0.5844, allocations: 1.31 MB / 0.636 GB, free: 4.242 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.648e-05/0.5845, allocations: 47.86 kB / 0.636 GB, free: 4.188 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 6.512e-06/0.5845, allocations: 0 / 0.636 GB, free: 4.188 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02157/0.6061, allocations: 9.099 MB / 0.6449 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.6062, allocations: 68.72 kB / 0.645 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005191/0.6114, allocations: 2.603 MB / 0.6475 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.6115, allocations: 45.7 kB / 0.6475 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002265/0.6138, allocations: 2.666 MB / 0.6501 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008856/0.6147, allocations: 0.7093 MB / 0.6508 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/0.6165, allocations: 0.9685 MB / 0.6518 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.6166, allocations: 309.1 kB / 0.6521 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/0.6192, allocations: 1.548 MB / 0.6536 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004686/0.6239, allocations: 4.387 MB / 0.6579 GB, free: 12.18 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/0.6317, allocations: 6.571 MB / 0.6643 GB, free: 4.207 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/0.6319, allocations: 28 kB / 0.6643 GB, free: 4.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01014/0.642, allocations: 5.851 MB / 0.67 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-05/0.6421, allocations: 51.94 kB / 0.6701 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/0.6423, allocations: 100 kB / 0.6702 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/0.6426, allocations: 172.8 kB / 0.6703 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003184/0.6458, allocations: 1.068 MB / 0.6714 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.6475, allocations: 1.798 MB / 0.6731 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/0.6502, allocations: 215.8 kB / 0.6733 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005206/0.6507, allocations: 288 kB / 0.6736 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.003244/0.6539, allocations: 1.997 MB / 0.6756 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/0.6544, allocations: 244.8 kB / 0.6758 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.6583, allocations: 2.537 MB / 0.6783 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.6584, allocations: 20 kB / 0.6783 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.6584, allocations: 0 / 0.6783 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.6584, allocations: 3.984 kB / 0.6783 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/0.6722, allocations: 7.929 MB / 0.686 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.6723, allocations: 12 kB / 0.6861 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009824/0.6732, allocations: 243.6 kB / 0.6863 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001532/0.6734, allocations: 56.83 kB / 0.6863 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.485e-05/0.6735, allocations: 44.58 kB / 0.6864 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001449/0.675, allocations: 1.626 MB / 0.688 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-05/0.675, allocations: 15.92 kB / 0.688 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005594/0.6806, allocations: 4.023 MB / 0.6919 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/0.6814, allocations: 297.9 kB / 0.6922 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.6817, allocations: 36 kB / 0.6922 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007861/0.6825, allocations: 51.95 kB / 0.6923 GB, free: 6.828 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.6827, allocations: 132.6 kB / 0.6924 GB, free: 6.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.6828, allocations: 60 kB / 0.6925 GB, free: 6.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002411/0.6852, allocations: 1.603 MB / 0.694 GB, free: 5.027 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6853, allocations: 0 / 0.694 GB, free: 5.027 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003719/0.689, allocations: 0.7773 MB / 0.6948 GB, free: 4.25 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.0003789/0.6894, allocations: 174.9 kB / 0.695 GB, free: 4.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005941/0.6953, allocations: 3.883 MB / 0.6987 GB, free: 200 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.6954, allocations: 4 kB / 0.6988 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/0.6971, allocations: 1.237 MB / 0.7 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.699, allocations: 352.7 kB / 0.7003 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.7129, allocations: 8.411 MB / 0.7085 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004306/0.7173, allocations: 3.129 MB / 0.7116 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003914/0.7212, allocations: 1.71 MB / 0.7132 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.7217, allocations: 191.4 kB / 0.7134 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/0.7217, allocations: 0 / 0.7134 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of Templates: time 0.3972/1.119, allocations: 20.38 MB / 0.7333 GB, free: 177.7 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/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