Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.775/1.775, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.000383, allocations: 8 kB / 233.4 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09271/0.09314, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5298, allocations: 100.6 MB / 372.7 MB, free: 4.637 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.5302, allocations: 100.5 kB / 372.8 MB, free: 4.582 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7727/1.303, allocations: 136 MB / 0.4969 GB, free: 54.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.303, allocations: 0 / 0.4969 GB, free: 54.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004914/1.304, allocations: 148 kB / 0.4971 GB, free: 54.04 MB / 346.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.03735/1.341, allocations: 7.675 MB / 0.5046 GB, free: 46.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.341, allocations: 12.03 kB / 0.5046 GB, free: 46.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006396/1.347, allocations: 1.292 MB / 0.5058 GB, free: 44.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02267/1.37, allocations: 2.88 MB / 0.5086 GB, free: 42.07 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02784/1.398, allocations: 7.668 MB / 0.5161 GB, free: 34.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007533/1.399, allocations: 0.5695 MB / 0.5167 GB, free: 33.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004165/1.403, allocations: 0.7497 MB / 0.5174 GB, free: 33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06018/1.463, allocations: 18.31 MB / 0.5353 GB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006401/1.464, allocations: 83.19 kB / 0.5354 GB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004094/1.468, allocations: 355.8 kB / 0.5357 GB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003816/1.472, allocations: 1.602 MB / 0.5373 GB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3211/1.793, allocations: 15.05 MB / 0.552 GB, free: 48.55 MB / 346.7 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.127/1.92, allocations: 75.44 MB / 0.6256 GB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03892/1.959, allocations: 7.648 MB / 0.6331 GB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03627/1.995, allocations: 14.05 MB / 0.6468 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/1.996, allocations: 59.38 kB / 0.6469 GB, free: 11.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=251): time 8.296e-06/1.996, allocations: 0 / 0.6469 GB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=297): time 0.1713/2.167, allocations: 33.48 MB / 0.6796 GB, free: 7.457 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/2.167, allocations: 170.4 kB / 0.6797 GB, free: 7.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01483/2.182, allocations: 5.187 MB / 0.6848 GB, free: 2.062 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008411/2.183, allocations: 69.7 kB / 0.6849 GB, free: 1.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2757/2.459, allocations: 4.998 MB / 0.6898 GB, free: 82.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001946/2.461, allocations: 1.138 MB / 0.6909 GB, free: 81.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001281/2.462, allocations: 175.2 kB / 0.691 GB, free: 81.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0008603/2.463, allocations: 0.6758 MB / 0.6917 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009512/2.472, allocations: 3.36 MB / 0.695 GB, free: 81.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01464/2.487, allocations: 8.602 MB / 0.7034 GB, free: 74.43 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01338/2.5, allocations: 5.254 MB / 0.7085 GB, free: 74.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003546/2.501, allocations: 53.75 kB / 0.7086 GB, free: 74.41 MB / 378.7 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.04325/2.544, allocations: 13.99 MB / 0.7222 GB, free: 72.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001742/2.544, allocations: 84 kB / 0.7223 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003189/2.545, allocations: 184.8 kB / 0.7225 GB, free: 72.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/2.557, allocations: 2.27 MB / 0.7247 GB, free: 72.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01634/2.573, allocations: 2.096 MB / 0.7268 GB, free: 72.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04922/2.623, allocations: 20.8 MB / 0.7471 GB, free: 59.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01516/2.638, allocations: 0.5066 MB / 0.7476 GB, free: 58.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002688/2.64, allocations: 0.5163 MB / 0.7481 GB, free: 58.8 MB / 378.7 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.01153/2.652, allocations: 3.371 MB / 0.7514 GB, free: 57.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001546/2.654, allocations: 0.5224 MB / 0.7519 GB, free: 56.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02524/2.679, allocations: 7.166 MB / 0.7589 GB, free: 53.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/2.679, allocations: 41.36 kB / 0.7589 GB, free: 53.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-05/2.679, allocations: 11.31 kB / 0.7589 GB, free: 53.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-05/2.679, allocations: 13.78 kB / 0.7589 GB, free: 53.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0624/2.742, allocations: 15.39 MB / 0.774 GB, free: 45.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.242e-05/2.742, allocations: 8 kB / 0.774 GB, free: 45.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005852/2.748, allocations: 0.5123 MB / 0.7745 GB, free: 44.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01181/2.759, allocations: 2.08 MB / 0.7765 GB, free: 43.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008137/2.76, allocations: 55.94 kB / 0.7765 GB, free: 43.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03584/2.796, allocations: 23.18 MB / 0.7992 GB, free: 21.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/2.796, allocations: 3.875 kB / 0.7992 GB, free: 21.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03102/2.827, allocations: 11.09 MB / 0.81 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004007/2.831, allocations: 1.009 MB / 0.811 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/2.833, allocations: 52.55 kB / 0.811 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005339/2.838, allocations: 187 kB / 0.8112 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001231/2.84, allocations: 187.9 kB / 0.8114 GB, free: 10.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000364/2.84, allocations: 87.41 kB / 0.8115 GB, free: 10.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.009411/2.849, allocations: 3.608 MB / 0.815 GB, free: 7.266 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.85, allocations: 2.406 kB / 0.815 GB, free: 7.266 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0113/2.861, allocations: 1.74 MB / 0.8167 GB, free: 5.543 MB / 378.7 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.3257/3.187, allocations: 11.99 MB / 0.8284 GB, free: 82.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02476/3.211, allocations: 9.259 MB / 0.8375 GB, free: 81.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/3.212, allocations: 0 / 0.8375 GB, free: 81.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01116/3.223, allocations: 4.189 MB / 0.8416 GB, free: 80.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00644/3.229, allocations: 0.726 MB / 0.8423 GB, free: 80.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4827/3.712, allocations: 188.8 MB / 1.027 GB, free: 99.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01431/3.726, allocations: 5.275 MB / 1.032 GB, free: 98.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01472/3.741, allocations: 2.735 MB / 1.034 GB, free: 98.17 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008566/3.75, allocations: 3.295 MB / 1.038 GB, free: 97.69 MB / 442.7 MB Notification: Performance of SimCode: time 1.422e-06/3.75, allocations: 0 / 1.038 GB, free: 97.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5966/4.346, allocations: 132.3 MB / 1.167 GB, free: 114.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/4.347, allocations: 229.2 kB / 1.167 GB, free: 113.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.142/12.49, allocations: 0 / 1.167 GB, free: 113.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat