Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.2 MB / 240.3 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009195/0.0009195, allocations: 97.36 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002582/0.0002582, allocations: 8 kB / 351.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2189, allocations: 50.41 MB / 401.6 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3638/0.5828, allocations: 114.5 MB / 0.504 GB, free: 46.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.5831, allocations: 91.31 kB / 0.504 GB, free: 46.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3039/0.887, allocations: 134.4 MB / 0.6353 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.8871, allocations: 0 / 0.6353 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004391/0.8875, allocations: 151.9 kB / 0.6355 GB, free: 14.45 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.02969/0.9172, allocations: 7.546 MB / 0.6428 GB, free: 6.816 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.9173, allocations: 8.031 kB / 0.6429 GB, free: 6.809 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006304/0.9236, allocations: 1.268 MB / 0.6441 GB, free: 5.531 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/0.9392, allocations: 3.005 MB / 0.647 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02207/0.9614, allocations: 7.318 MB / 0.6542 GB, free: 11.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006734/0.9621, allocations: 0.5576 MB / 0.6547 GB, free: 10.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004048/0.9662, allocations: 0.7379 MB / 0.6554 GB, free: 9.816 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3418/1.308, allocations: 18.09 MB / 0.6731 GB, free: 63.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004067/1.308, allocations: 81.55 kB / 0.6732 GB, free: 63.02 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002822/1.311, allocations: 350.8 kB / 0.6735 GB, free: 63.02 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/1.314, allocations: 1.555 MB / 0.675 GB, free: 63.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03521/1.349, allocations: 14.83 MB / 0.6895 GB, free: 62.96 MB / 442.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.08903/1.438, allocations: 74.62 MB / 0.7624 GB, free: 35.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02048/1.459, allocations: 7.787 MB / 0.77 GB, free: 33.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/1.479, allocations: 14.55 MB / 0.7842 GB, free: 25.75 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/1.479, allocations: 64.41 kB / 0.7843 GB, free: 25.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=247): time 5.46e-06/1.479, allocations: 0 / 0.7843 GB, free: 25.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.1863/1.666, allocations: 54.43 MB / 0.8374 GB, free: 3.961 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.924e-05/1.666, allocations: 158.5 kB / 0.8376 GB, free: 3.777 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3123/1.978, allocations: 5.038 MB / 0.8425 GB, free: 95.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/1.979, allocations: 67.05 kB / 0.8425 GB, free: 95.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005612/1.985, allocations: 4.876 MB / 0.8473 GB, free: 93.51 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002412/1.987, allocations: 1.113 MB / 0.8484 GB, free: 92.87 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/1.989, allocations: 175.2 kB / 0.8486 GB, free: 92.87 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006629/1.989, allocations: 0.6672 MB / 0.8492 GB, free: 92.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009061/1.998, allocations: 3.954 MB / 0.8531 GB, free: 92.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01361/2.012, allocations: 9.049 MB / 0.8619 GB, free: 85.97 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00952/2.022, allocations: 5.762 MB / 0.8675 GB, free: 85.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000258/2.022, allocations: 53.25 kB / 0.8676 GB, free: 85.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.07203/2.094, allocations: 23.92 MB / 0.8909 GB, free: 84.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/2.094, allocations: 85.28 kB / 0.891 GB, free: 84.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002227/2.094, allocations: 186 kB / 0.8912 GB, free: 84.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/2.11, allocations: 5.431 MB / 0.8965 GB, free: 84.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007747/2.118, allocations: 2.039 MB / 0.8985 GB, free: 84.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0421/2.16, allocations: 34.48 MB / 0.9322 GB, free: 67.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009114/2.169, allocations: 0.6042 MB / 0.9328 GB, free: 67.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/2.171, allocations: 0.5009 MB / 0.9332 GB, free: 67.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 67 (freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1042): * Single equations (assignments): 1031 * 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 {(5,60.0%) 4,(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.00675/2.178, allocations: 3.294 MB / 0.9365 GB, free: 65.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001277/2.179, allocations: 0.5097 MB / 0.937 GB, free: 65.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05526/2.234, allocations: 17.35 MB / 0.9539 GB, free: 57.31 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.665e-05/2.234, allocations: 47.12 kB / 0.9539 GB, free: 57.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.772e-05/2.235, allocations: 8 kB / 0.954 GB, free: 57.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.25e-05/2.235, allocations: 14.36 kB / 0.954 GB, free: 57.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07389/2.308, allocations: 27.94 MB / 0.9813 GB, free: 34.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.284e-05/2.309, allocations: 0 / 0.9813 GB, free: 34.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/2.312, allocations: 0.5226 MB / 0.9818 GB, free: 34.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01379/2.326, allocations: 5.194 MB / 0.9868 GB, free: 29.27 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000896/2.326, allocations: 53.69 kB / 0.9869 GB, free: 29.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3661/2.693, allocations: 34.01 MB / 1.02 GB, free: 78.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.693, allocations: 2.531 kB / 1.02 GB, free: 78.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06368/2.756, allocations: 22.26 MB / 1.042 GB, free: 77.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/2.759, allocations: 0.5355 MB / 1.042 GB, free: 77.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001674/2.761, allocations: 51.86 kB / 1.042 GB, free: 77.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003592/2.764, allocations: 301.8 kB / 1.043 GB, free: 77.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/2.765, allocations: 176.8 kB / 1.043 GB, free: 77.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002875/2.766, allocations: 78.84 kB / 1.043 GB, free: 77.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006928/2.773, allocations: 3.506 MB / 1.046 GB, free: 77.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.773, allocations: 0 / 1.046 GB, free: 77.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01126/2.784, allocations: 1.862 MB / 1.048 GB, free: 77.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (jointPrismatic_x.s,jointPrismatic_x.v,jointPrismatic_y.s,jointPrismatic_y.v,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 (212): * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(5,60.0%) 4,(2,100.0%) 1,(4,100.0%) 9,(4,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 1 {4 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.06444/2.848, allocations: 23.18 MB / 1.071 GB, free: 75.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02273/2.871, allocations: 11.03 MB / 1.082 GB, free: 73.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/2.871, allocations: 0 / 1.082 GB, free: 73.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0114/2.883, allocations: 5.131 MB / 1.087 GB, free: 70.83 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006473/2.889, allocations: 0.7538 MB / 1.087 GB, free: 70.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4837/3.373, allocations: 196 MB / 1.279 GB, free: 44.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00854/3.382, allocations: 5.162 MB / 1.284 GB, free: 43.88 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008946/3.39, allocations: 2.689 MB / 1.286 GB, free: 43.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00695/3.397, allocations: 3.228 MB / 1.29 GB, free: 43.81 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/3.398, allocations: 0 / 1.29 GB, free: 43.81 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.532/3.929, allocations: 150.9 MB / 1.437 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/3.93, allocations: 238.5 kB / 1.437 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.264/10.19, allocations: 4.062 kB / 1.437 GB, free: 100.5 MB / 0.4948 GB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat