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.0009653/0.0009653, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001145/0.001145, allocations: 90.42 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.304e-05/2.328e-05, allocations: 4 kB / 343.8 MB, free: 8.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1259, allocations: 51.48 MB / 395.3 MB, free: 4.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4366/0.5626, allocations: 114 MB / 0.4974 GB, free: 11.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000315/0.563, allocations: 91.52 kB / 0.4975 GB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6703/1.233, allocations: 135 MB / 0.6293 GB, free: 75.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.233, allocations: 0 / 0.6293 GB, free: 75.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000951/1.234, allocations: 156.1 kB / 0.6294 GB, free: 75.18 MB / 442.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.02958/1.264, allocations: 7.229 MB / 0.6365 GB, free: 72.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/1.264, allocations: 11.84 kB / 0.6365 GB, free: 72.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/1.28, allocations: 3.142 MB / 0.6396 GB, free: 71.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01894/1.299, allocations: 6.645 MB / 0.6461 GB, free: 69.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005356/1.299, allocations: 246.8 kB / 0.6463 GB, free: 69.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004551/1.304, allocations: 447.5 kB / 0.6467 GB, free: 69.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0245/1.329, allocations: 10.46 MB / 0.657 GB, free: 65.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04275/1.371, allocations: 15.07 MB / 0.6717 GB, free: 57.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006543/1.372, allocations: 82.08 kB / 0.6717 GB, free: 57.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003961/1.376, allocations: 38.97 kB / 0.6718 GB, free: 57.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002677/1.379, allocations: 1.561 MB / 0.6733 GB, free: 57.51 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.4496/1.828, allocations: 73.5 MB / 0.7451 GB, free: 50.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00529/1.834, allocations: 4.08 MB / 0.7491 GB, free: 49.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003623/1.837, allocations: 2.722 MB / 0.7517 GB, free: 49.41 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/1.839, allocations: 1.36 MB / 0.7531 GB, free: 48.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/1.839, allocations: 64.2 kB / 0.7531 GB, free: 48.24 MB / 458.7 MB Notification: Performance of pre-optimization done (n=253): time 7.404e-06/1.839, allocations: 3.031 kB / 0.7531 GB, free: 48.24 MB / 458.7 MB Notification: Performance of matching and sorting (n=299): time 0.1466/1.986, allocations: 44.54 MB / 0.7966 GB, free: 42.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/1.986, allocations: 158.2 kB / 0.7968 GB, free: 41.98 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008682/1.994, allocations: 4.365 MB / 0.801 GB, free: 40.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001005/1.995, allocations: 25.7 kB / 0.8011 GB, free: 40.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004271/2, allocations: 4.913 MB / 0.8059 GB, free: 36.58 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002248/2.002, allocations: 1.099 MB / 0.8069 GB, free: 35.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/2.003, allocations: 0 / 0.8069 GB, free: 35.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007289/2.004, allocations: 0.683 MB / 0.8076 GB, free: 35.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00588/2.01, allocations: 3.767 MB / 0.8113 GB, free: 33.83 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00918/2.019, allocations: 8.958 MB / 0.82 GB, free: 25.37 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009139/2.028, allocations: 5.64 MB / 0.8255 GB, free: 23.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002219/2.029, allocations: 58.66 kB / 0.8256 GB, free: 23.49 MB / 458.7 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.07256/2.101, allocations: 22.75 MB / 0.8478 GB, free: 18.16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/2.101, allocations: 84 kB / 0.8479 GB, free: 18.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002693/2.102, allocations: 191.9 kB / 0.8481 GB, free: 17.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01482/2.116, allocations: 5.407 MB / 0.8533 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007949/2.124, allocations: 2.079 MB / 0.8554 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05137/2.176, allocations: 30.97 MB / 0.8856 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009316/2.185, allocations: 446.9 kB / 0.886 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002654/2.188, allocations: 0.5118 MB / 0.8865 GB, free: 14.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * 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 () * 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 {(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.002594/2.19, allocations: 0.5774 MB / 0.8871 GB, free: 14.37 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06244/2.253, allocations: 17.02 MB / 0.9037 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002372/2.255, allocations: 493.6 kB / 0.9042 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06324/2.319, allocations: 17.04 MB / 0.9208 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001312/2.319, allocations: 47.27 kB / 0.9209 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-05/2.319, allocations: 12 kB / 0.9209 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.891e-05/2.319, allocations: 11.95 kB / 0.9209 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4269/2.746, allocations: 26.53 MB / 0.9468 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/2.746, allocations: 4.688 kB / 0.9468 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/2.749, allocations: 0.5339 MB / 0.9473 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/2.765, allocations: 5.145 MB / 0.9524 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007725/2.766, allocations: 18.94 kB / 0.9524 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04494/2.81, allocations: 30.11 MB / 0.9818 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/2.811, allocations: 1.25 kB / 0.9818 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06543/2.876, allocations: 22.01 MB / 1.003 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/2.878, allocations: 0.4964 MB / 1.004 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002554/2.881, allocations: 6.812 kB / 1.004 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005326/2.886, allocations: 256.3 kB / 1.004 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/2.888, allocations: 183.5 kB / 1.004 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007481/2.889, allocations: 79.8 kB / 1.004 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007655/2.896, allocations: 2.896 MB / 1.007 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.184e-06/2.896, allocations: 0 / 1.007 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01283/2.909, allocations: 1.674 MB / 1.009 GB, free: 115.3 MB / 0.5105 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 207 * 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.06611/2.975, allocations: 22.9 MB / 1.031 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01998/2.995, allocations: 10.48 MB / 1.041 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.649e-06/2.995, allocations: 0 / 1.041 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01191/3.007, allocations: 4.966 MB / 1.046 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004973/3.012, allocations: 0.6288 MB / 1.047 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04829/3.061, allocations: 16.14 MB / 1.063 GB, free: 87.33 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01227/3.073, allocations: 5.165 MB / 1.068 GB, free: 82.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009922/3.083, allocations: 2.781 MB / 1.07 GB, free: 80.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006837/3.09, allocations: 3.211 MB / 1.073 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/3.09, allocations: 0 / 1.073 GB, free: 76.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5376/3.627, allocations: 143.6 MB / 1.214 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001508/3.628, allocations: 161 kB / 1.214 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/10.25, allocations: 3.75 kB / 1.214 GB, free: 109.3 MB / 0.5105 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