Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001318/0.001318, allocations: 198.4 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 227.2 MB / 245 MB, free: 5.859 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008875/0.0008874, allocations: 94.62 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002316/0.0002317, allocations: 4 kB / 358 MB, free: 9.203 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2132, allocations: 51.48 MB / 409.5 MB, free: 26.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3049/0.5181, allocations: 114.8 MB / 0.512 GB, free: 96.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.5184, allocations: 92.08 kB / 0.5121 GB, free: 96.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.289/0.8073, allocations: 138.2 MB / 0.6471 GB, free: 9.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.8074, allocations: 0 / 0.6471 GB, free: 9.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005199/0.8079, allocations: 151.9 kB / 0.6472 GB, free: 9.691 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.02652/0.8345, allocations: 7.647 MB / 0.6547 GB, free: 1.961 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.8345, allocations: 11.97 kB / 0.6547 GB, free: 1.949 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005611/0.8402, allocations: 1.271 MB / 0.6559 GB, free: 0.668 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/0.8545, allocations: 3.138 MB / 0.659 GB, free: 13.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0216/0.8761, allocations: 6.673 MB / 0.6655 GB, free: 6.758 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000691/0.8769, allocations: 0.5537 MB / 0.666 GB, free: 6.203 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003489/0.8804, allocations: 0.7418 MB / 0.6668 GB, free: 5.461 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2646/1.145, allocations: 18.09 MB / 0.6844 GB, free: 60.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002646/1.145, allocations: 80.36 kB / 0.6845 GB, free: 60.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/1.146, allocations: 344.2 kB / 0.6848 GB, free: 60.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00176/1.148, allocations: 1.558 MB / 0.6864 GB, free: 60.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02852/1.177, allocations: 14.83 MB / 0.7008 GB, free: 60.74 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.07603/1.253, allocations: 74.61 MB / 0.7737 GB, free: 14.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01954/1.272, allocations: 7.786 MB / 0.7813 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02023/1.293, allocations: 14.55 MB / 0.7955 GB, free: 5.125 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/1.293, allocations: 69.86 kB / 0.7956 GB, free: 5.066 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 4.909e-06/1.293, allocations: 3.406 kB / 0.7956 GB, free: 5.066 MB / 442.7 MB Notification: Performance of matching and sorting (n=293): time 0.399/1.692, allocations: 55.08 MB / 0.8494 GB, free: 91.43 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/1.692, allocations: 162.2 kB / 0.8495 GB, free: 91.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007202/1.699, allocations: 5.028 MB / 0.8544 GB, free: 91 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005683/1.7, allocations: 70.67 kB / 0.8545 GB, free: 90.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.702, allocations: 4.872 MB / 0.8593 GB, free: 89.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001033/1.703, allocations: 1.118 MB / 0.8604 GB, free: 88.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/1.703, allocations: 175.2 kB / 0.8605 GB, free: 88.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003164/1.704, allocations: 0.6732 MB / 0.8612 GB, free: 88.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005087/1.709, allocations: 3.953 MB / 0.865 GB, free: 88.39 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006227/1.715, allocations: 9.044 MB / 0.8739 GB, free: 81.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006632/1.722, allocations: 5.761 MB / 0.8795 GB, free: 81.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/1.722, allocations: 52.88 kB / 0.8795 GB, free: 81.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.06564/1.787, allocations: 23.96 MB / 0.9029 GB, free: 80.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.788, allocations: 82.59 kB / 0.903 GB, free: 80.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/1.788, allocations: 178.5 kB / 0.9032 GB, free: 80.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/1.801, allocations: 5.455 MB / 0.9085 GB, free: 79.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006155/1.807, allocations: 2.03 MB / 0.9105 GB, free: 79.42 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03751/1.845, allocations: 34.49 MB / 0.9442 GB, free: 61.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006857/1.852, allocations: 0.5941 MB / 0.9448 GB, free: 61.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001138/1.853, allocations: 0.4964 MB / 0.9452 GB, free: 60.94 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.00489/1.858, allocations: 3.292 MB / 0.9485 GB, free: 58.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008987/1.859, allocations: 0.5205 MB / 0.949 GB, free: 57.53 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05283/1.912, allocations: 17.37 MB / 0.9659 GB, free: 45.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.896e-05/1.912, allocations: 42.02 kB / 0.966 GB, free: 45.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.851e-05/1.912, allocations: 19.5 kB / 0.966 GB, free: 45.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-05/1.912, allocations: 13.92 kB / 0.966 GB, free: 45.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06655/1.978, allocations: 27.97 MB / 0.9933 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.295e-05/1.978, allocations: 0 / 0.9933 GB, free: 19.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002968/1.981, allocations: 0.5285 MB / 0.9938 GB, free: 18.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01392/1.995, allocations: 5.213 MB / 0.9989 GB, free: 13.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006702/1.996, allocations: 44 kB / 0.999 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2637/2.26, allocations: 34 MB / 1.032 GB, free: 91.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.26, allocations: 1.156 kB / 1.032 GB, free: 91.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05899/2.319, allocations: 22.31 MB / 1.054 GB, free: 90.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001869/2.321, allocations: 0.5458 MB / 1.054 GB, free: 90.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001388/2.322, allocations: 50.77 kB / 1.055 GB, free: 90.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00302/2.325, allocations: 294.2 kB / 1.055 GB, free: 90.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006625/2.326, allocations: 178.1 kB / 1.055 GB, free: 90.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/2.326, allocations: 78.86 kB / 1.055 GB, free: 90.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005045/2.331, allocations: 3.501 MB / 1.058 GB, free: 90.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/2.331, allocations: 3.719 kB / 1.058 GB, free: 90.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008741/2.34, allocations: 1.868 MB / 1.06 GB, free: 90.32 MB / 490.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.05934/2.399, allocations: 23.23 MB / 1.083 GB, free: 86.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0202/2.42, allocations: 11.01 MB / 1.094 GB, free: 82.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/2.42, allocations: 1.375 kB / 1.094 GB, free: 82.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01077/2.43, allocations: 5.145 MB / 1.099 GB, free: 80.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005339/2.436, allocations: 0.743 MB / 1.1 GB, free: 79.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3712/2.807, allocations: 196.1 MB / 1.291 GB, free: 40.96 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00535/2.812, allocations: 5.169 MB / 1.296 GB, free: 40.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006117/2.819, allocations: 2.686 MB / 1.299 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003525/2.822, allocations: 3.231 MB / 1.302 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.393e-06/2.822, allocations: 0 / 1.302 GB, free: 40.04 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3958/3.218, allocations: 151.1 MB / 1.449 GB, free: 98.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/3.218, allocations: 232.5 kB / 1.45 GB, free: 98.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.742/8.96, allocations: 0 / 1.45 GB, free: 98.69 MB / 0.4948 GB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_PrismaticConstraint.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint_res.mat does not exist to compare? outputFormat=mat