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.001725/0.001725, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002352/0.002352, allocations: 208.5 kB / 18.73 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 75.89 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3951, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01316/0.4083, allocations: 12.27 MB / 0.543 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008435/0.4168, allocations: 3.855 MB / 0.5467 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.4189, allocations: 61.75 kB / 0.5468 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002951/0.4219, allocations: 1.315 MB / 0.5481 GB, free: 100 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004852/0.4269, allocations: 1.72 MB / 0.5498 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.4282, allocations: 427.2 kB / 0.5502 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005587/0.4338, allocations: 3.597 MB / 0.5537 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/0.4375, allocations: 2.001 MB / 0.5556 GB, free: 8.387 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002868/0.4404, allocations: 1.191 MB / 0.5568 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.4437, allocations: 1.736 MB / 0.5585 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.445, allocations: 244 kB / 0.5587 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.4478, allocations: 0.8074 MB / 0.5595 GB, free: 4.402 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002141/0.4499, allocations: 1.57 MB / 0.561 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.4527, allocations: 1.863 MB / 0.5629 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008276/0.4609, allocations: 6.088 MB / 0.5688 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.461, allocations: 0 / 0.5688 GB, free: 10.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.461, allocations: 0 / 0.5688 GB, free: 10.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001578/0.4612, allocations: 0 / 0.5688 GB, free: 10.84 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.007585/0.4687, allocations: 4.14 MB / 0.5729 GB, free: 6.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4688, allocations: 8.031 kB / 0.5729 GB, free: 6.621 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/0.4788, allocations: 3.11 MB / 0.5759 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.4825, allocations: 1.902 MB / 0.5778 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.4826, allocations: 189 kB / 0.5779 GB, free: 1.363 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004634/0.4831, allocations: 251.8 kB / 0.5782 GB, free: 1.117 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01505/0.4982, allocations: 10.17 MB / 0.5881 GB, free: 6.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.4983, allocations: 31.77 kB / 0.5881 GB, free: 6.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000642/0.499, allocations: 115.8 kB / 0.5882 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003875/0.5029, allocations: 2.467 MB / 0.5907 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.5207, allocations: 9.357 MB / 0.5998 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0491/0.5698, allocations: 31.51 MB / 0.6306 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006106/0.576, allocations: 3.351 MB / 0.6338 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.5776, allocations: 1.076 MB / 0.6349 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/0.5788, allocations: 1.31 MB / 0.6362 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.5788, allocations: 47.88 kB / 0.6362 GB, free: 3.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=185): time 4.859e-06/0.5789, allocations: 0 / 0.6362 GB, free: 3.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=191): time 0.02032/0.5992, allocations: 9.17 MB / 0.6452 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.5993, allocations: 64.72 kB / 0.6452 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004232/0.6035, allocations: 2.611 MB / 0.6478 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/0.6037, allocations: 53.7 kB / 0.6478 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001803/0.6056, allocations: 2.772 MB / 0.6505 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006911/0.6063, allocations: 0.7363 MB / 0.6513 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001603/0.6079, allocations: 0.9732 MB / 0.6522 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/0.608, allocations: 308.8 kB / 0.6525 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/0.6104, allocations: 1.552 MB / 0.654 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004797/0.6152, allocations: 4.383 MB / 0.6583 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007886/0.6231, allocations: 6.571 MB / 0.6647 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.969e-05/0.6233, allocations: 28 kB / 0.6647 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009573/0.6328, allocations: 5.864 MB / 0.6705 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.633, allocations: 52.03 kB / 0.6705 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/0.6332, allocations: 100 kB / 0.6706 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004161/0.6336, allocations: 172.8 kB / 0.6708 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003182/0.6368, allocations: 1.072 MB / 0.6718 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001661/0.6385, allocations: 1.794 MB / 0.6736 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.6414, allocations: 211.8 kB / 0.6738 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006466/0.6421, allocations: 292 kB / 0.6741 GB, free: 10.05 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.003403/0.6455, allocations: 1.997 MB / 0.676 GB, free: 8.047 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005479/0.646, allocations: 254.3 kB / 0.6763 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005192/0.6512, allocations: 2.533 MB / 0.6787 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.647e-05/0.6513, allocations: 24 kB / 0.6788 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/0.6513, allocations: 4 kB / 0.6788 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.6513, allocations: 11.91 kB / 0.6788 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.6669, allocations: 7.925 MB / 0.6865 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/0.667, allocations: 8 kB / 0.6865 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.6681, allocations: 247.6 kB / 0.6868 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/0.6683, allocations: 60.95 kB / 0.6868 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001265/0.6684, allocations: 40.52 kB / 0.6868 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.6699, allocations: 1.622 MB / 0.6884 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.6699, allocations: 23.98 kB / 0.6885 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005459/0.6754, allocations: 4.032 MB / 0.6924 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000746/0.6762, allocations: 307.3 kB / 0.6927 GB, free: 6.434 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/0.6767, allocations: 43.98 kB / 0.6927 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.6778, allocations: 55.94 kB / 0.6928 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.678, allocations: 124.6 kB / 0.6929 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.6781, allocations: 64.19 kB / 0.693 GB, free: 6.152 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003022/0.6812, allocations: 1.599 MB / 0.6945 GB, free: 4.543 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.715e-06/0.6812, allocations: 0 / 0.6945 GB, free: 4.543 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004334/0.6855, allocations: 0.7811 MB / 0.6953 GB, free: 3.762 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.0004942/0.686, allocations: 174.8 kB / 0.6955 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006205/0.6922, allocations: 3.891 MB / 0.6993 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/0.6923, allocations: 0 / 0.6993 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.694, allocations: 1.245 MB / 0.7005 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/0.6961, allocations: 347 kB / 0.7008 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.7118, allocations: 8.549 MB / 0.7091 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004517/0.7164, allocations: 3.126 MB / 0.7122 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003984/0.7204, allocations: 1.714 MB / 0.7139 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/0.7211, allocations: 183.4 kB / 0.714 GB, free: 352 kB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/0.7211, allocations: 4 kB / 0.7141 GB, free: 348 kB / 0.5606 GB Notification: Performance of Templates: time 0.3629/1.084, allocations: 20.83 MB / 0.7344 GB, free: 177.4 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