Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004975, allocations: 8 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.2995, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.4909, allocations: 106.3 MB / 414.9 MB, free: 2.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/0.4913, allocations: 87.95 kB / 415 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.784/1.275, allocations: 136 MB / 0.538 GB, free: 6.559 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.516e-06/1.275, allocations: 0 / 0.538 GB, free: 6.559 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005917/1.276, allocations: 159.9 kB / 0.5382 GB, free: 6.402 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03866/1.315, allocations: 7.675 MB / 0.5457 GB, free: 14.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.315, allocations: 8.031 kB / 0.5457 GB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006264/1.321, allocations: 1.289 MB / 0.547 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02548/1.347, allocations: 2.888 MB / 0.5498 GB, free: 10.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03441/1.381, allocations: 7.68 MB / 0.5573 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008718/1.382, allocations: 0.5617 MB / 0.5578 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004336/1.386, allocations: 0.7536 MB / 0.5586 GB, free: 1.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6184/2.005, allocations: 18.31 MB / 0.5764 GB, free: 46.95 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000527/2.005, allocations: 82.12 kB / 0.5765 GB, free: 46.95 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003565/2.009, allocations: 356.8 kB / 0.5769 GB, free: 46.95 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003751/2.013, allocations: 1.602 MB / 0.5784 GB, free: 46.94 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04916/2.062, allocations: 15.05 MB / 0.5931 GB, free: 46.88 MB / 394.8 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1231/2.185, allocations: 75.43 MB / 0.6668 GB, free: 14.85 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03848/2.224, allocations: 7.653 MB / 0.6743 GB, free: 12.64 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03757/2.261, allocations: 14.04 MB / 0.688 GB, free: 2.688 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.833e-05/2.261, allocations: 63.06 kB / 0.688 GB, free: 2.625 MB / 410.8 MB Notification: Performance of pre-optimization done (n=251): time 8.095e-06/2.261, allocations: 3.844 kB / 0.688 GB, free: 2.625 MB / 410.8 MB Notification: Performance of matching and sorting (n=297): time 0.1644/2.426, allocations: 33.13 MB / 0.7204 GB, free: 7.805 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/2.426, allocations: 162.5 kB / 0.7205 GB, free: 7.617 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0141/2.44, allocations: 5.183 MB / 0.7256 GB, free: 3.234 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000795/2.441, allocations: 72.52 kB / 0.7257 GB, free: 3.16 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.3465/2.787, allocations: 5 MB / 0.7306 GB, free: 95.12 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002043/2.79, allocations: 1.138 MB / 0.7317 GB, free: 94.7 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/2.791, allocations: 176.6 kB / 0.7318 GB, free: 94.7 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0005886/2.791, allocations: 0.68 MB / 0.7325 GB, free: 94.38 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008461/2.8, allocations: 3.362 MB / 0.7358 GB, free: 94.35 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01209/2.812, allocations: 8.6 MB / 0.7442 GB, free: 87.59 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/2.824, allocations: 5.248 MB / 0.7493 GB, free: 87.57 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002148/2.825, allocations: 50.66 kB / 0.7494 GB, free: 87.57 MB / 442.8 MB Warning: The linear system: 1 : bodyOfConstraint.v_0[1] = 0.2148655148851041 * freeMotionScalarInit.v_rel_a_1 + (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 2 : 0.0 = 0.8191520442889918 * bodyOfConstraint.v_0[1] + (-0.09960050292505122) * bodyOfConstraint.v_0[2] + 0.5648625214636235 * bodyOfConstraint.v_0[3] 3 : bodyOfConstraint.v_0[2] = 0.9663834860128886 * freeMotionScalarInit.v_rel_a_1 + 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 4 : bodyOfConstraint.v_0[3] = (-0.1411940808771254) * freeMotionScalarInit.v_rel_a_1 + 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 [ 0.0 , -0.2148655148851041 , 0.0 , 1.0 ; -0.5648625214636235 , 0.0 , 0.09960050292505122 , -0.8191520442889918 ; 0.0 , -0.9663834860128886 , 1.0 , 0.0 ; 1.0 , 0.1411940808771254 , 0.0 , 0.0 ] * [ bodyOfConstraint.v_0[3] ; freeMotionScalarInit.v_rel_a_1 ; bodyOfConstraint.v_0[2] ; bodyOfConstraint.v_0[1] ] = [ (-0.5318108111446446) * freeMotionScalarInit.v_rel_a_2 + 0.8191520442889918 * freeMotionScalarInit.v_rel_a_3 ; -0.0 ; 0.2370288965055821 * freeMotionScalarInit.v_rel_a_2 + (-0.09960050292505122) * freeMotionScalarInit.v_rel_a_3 ; 0.8130157214783864 * freeMotionScalarInit.v_rel_a_2 + 0.5648625214636235 * freeMotionScalarInit.v_rel_a_3 ] might be structurally or numerically singular for variable bodyOfConstraint.v_0[1] since U(4,4) = 0.0. It might be hard to solve. Compilation continues anyway. Notification: Performance of matching and sorting (n=1155) (initialization): time 0.04135/2.866, allocations: 13.99 MB / 0.763 GB, free: 86.36 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/2.866, allocations: 86.7 kB / 0.7631 GB, free: 86.35 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002569/2.866, allocations: 186.4 kB / 0.7633 GB, free: 86.35 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/2.878, allocations: 2.27 MB / 0.7655 GB, free: 86.29 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/2.892, allocations: 2.086 MB / 0.7675 GB, free: 86.11 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03446/2.927, allocations: 20.81 MB / 0.7878 GB, free: 76.53 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.938, allocations: 0.5008 MB / 0.7883 GB, free: 76.38 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002126/2.94, allocations: 0.5167 MB / 0.7888 GB, free: 76.31 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],jointPrismatic_y.boxColor[3],jointPrismatic_y.boxColor[2],jointPrismatic_y.boxColor[1],jointPrismatic_x.boxColor[3],jointPrismatic_x.boxColor[2],jointPrismatic_x.boxColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1072): * Single equations (assignments): 1061 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,75.0%) 5,(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 6,(4,100.0%) 9,(4,100.0%) 9} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.00964/2.949, allocations: 3.379 MB / 0.7921 GB, free: 74.85 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001446/2.951, allocations: 0.5325 MB / 0.7927 GB, free: 74.55 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02377/2.975, allocations: 7.153 MB / 0.7996 GB, free: 71.58 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001075/2.975, allocations: 37.05 kB / 0.7997 GB, free: 71.58 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.787e-05/2.975, allocations: 13.22 kB / 0.7997 GB, free: 71.58 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.742e-05/2.975, allocations: 16.55 kB / 0.7997 GB, free: 71.58 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04713/3.022, allocations: 15.38 MB / 0.8147 GB, free: 65.48 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/3.022, allocations: 0 / 0.8147 GB, free: 65.48 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00597/3.028, allocations: 0.5252 MB / 0.8152 GB, free: 65.45 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01194/3.04, allocations: 2.07 MB / 0.8173 GB, free: 64.97 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007936/3.041, allocations: 59.5 kB / 0.8173 GB, free: 64.94 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03592/3.077, allocations: 23.18 MB / 0.84 GB, free: 46.98 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/3.077, allocations: 4.031 kB / 0.84 GB, free: 46.98 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02999/3.107, allocations: 11.08 MB / 0.8508 GB, free: 37.3 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003986/3.111, allocations: 1.013 MB / 0.8518 GB, free: 36.36 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001625/3.113, allocations: 56.5 kB / 0.8518 GB, free: 36.31 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004977/3.118, allocations: 186.2 kB / 0.852 GB, free: 36.2 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/3.119, allocations: 186.9 kB / 0.8522 GB, free: 36.08 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003646/3.119, allocations: 80.81 kB / 0.8523 GB, free: 36.01 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009007/3.128, allocations: 3.616 MB / 0.8558 GB, free: 33.03 MB / 442.8 MB Notification: Performance of sort global known variables: time 9.32e-07/3.128, allocations: 0 / 0.8558 GB, free: 33.03 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01157/3.14, allocations: 1.743 MB / 0.8575 GB, free: 31.31 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (bodyOfJoint.v_0[2],bodyOfJoint.v_0[3],bodyOfJoint.body.frame_a.r_0[2],bodyOfJoint.body.frame_a.r_0[3],bodyOfConstraint.v_0[2],bodyOfConstraint.v_0[3],bodyOfConstraint.body.frame_a.r_0[2],bodyOfConstraint.body.frame_a.r_0[3]) * 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 (214): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 6,(1,100.0%) 3,(4,75.0%) 5,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(1,100.0%) 3,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.03168/3.172, allocations: 11.98 MB / 0.8692 GB, free: 20.75 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.02371/3.195, allocations: 9.264 MB / 0.8782 GB, free: 12.46 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/3.195, allocations: 0 / 0.8782 GB, free: 12.46 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01104/3.206, allocations: 4.182 MB / 0.8823 GB, free: 8.625 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006345/3.213, allocations: 0.7319 MB / 0.883 GB, free: 8.016 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4969/3.71, allocations: 189.1 MB / 1.068 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01288/3.723, allocations: 5.271 MB / 1.073 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01333/3.736, allocations: 2.734 MB / 1.075 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007955/3.744, allocations: 3.293 MB / 1.079 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of SimCode: time 1.864e-06/3.744, allocations: 0 / 1.079 GB, free: 8.645 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6086/4.353, allocations: 132.3 MB / 1.208 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/4.353, allocations: 242.1 kB / 1.208 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.178/12.53, allocations: 0.9844 kB / 1.208 GB, free: 132.9 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat