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.001399/0.001399, allocations: 195.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009338/0.0009339, allocations: 93.94 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.643e-05/4.657e-05, allocations: 4 kB / 350.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1297, allocations: 51.48 MB / 402.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4473/0.5771, allocations: 114.7 MB / 0.5047 GB, free: 7.098 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5774, allocations: 90.66 kB / 0.5048 GB, free: 7.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6773/1.255, allocations: 138.3 MB / 0.6398 GB, free: 78.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.847e-06/1.255, allocations: 0 / 0.6398 GB, free: 78.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006397/1.255, allocations: 147.1 kB / 0.64 GB, free: 78.59 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.03105/1.286, allocations: 7.241 MB / 0.647 GB, free: 75.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.707e-05/1.287, allocations: 10.44 kB / 0.6471 GB, free: 75.34 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007502/1.294, allocations: 1.259 MB / 0.6483 GB, free: 74.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/1.311, allocations: 3.146 MB / 0.6514 GB, free: 74.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02149/1.332, allocations: 6.651 MB / 0.6579 GB, free: 71.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000744/1.333, allocations: 0.5519 MB / 0.6584 GB, free: 71.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00454/1.338, allocations: 0.7403 MB / 0.6591 GB, free: 71.12 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05203/1.39, allocations: 17.95 MB / 0.6766 GB, free: 60.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006903/1.39, allocations: 80.05 kB / 0.6767 GB, free: 60.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004416/1.395, allocations: 352.6 kB / 0.6771 GB, free: 60.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002743/1.398, allocations: 1.56 MB / 0.6786 GB, free: 59.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03587/1.433, allocations: 14.62 MB / 0.6929 GB, free: 44.94 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.4923/1.926, allocations: 74.59 MB / 0.7657 GB, free: 42.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02403/1.95, allocations: 7.733 MB / 0.7733 GB, free: 42.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004899/1.955, allocations: 3.344 MB / 0.7765 GB, free: 42.14 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02832/1.983, allocations: 14.54 MB / 0.7907 GB, free: 38.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.462e-05/1.983, allocations: 61.31 kB / 0.7908 GB, free: 38.59 MB / 458.7 MB Notification: Performance of pre-optimization done (n=247): time 9.178e-06/1.983, allocations: 1.156 kB / 0.7908 GB, free: 38.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.1768/2.16, allocations: 45.92 MB / 0.8356 GB, free: 30.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/2.16, allocations: 159.5 kB / 0.8358 GB, free: 30.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0115/2.172, allocations: 4.99 MB / 0.8407 GB, free: 28.68 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009524/2.173, allocations: 75.58 kB / 0.8407 GB, free: 28.61 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003696/2.177, allocations: 4.868 MB / 0.8455 GB, free: 24.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002046/2.179, allocations: 1.115 MB / 0.8466 GB, free: 24.07 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009008/2.18, allocations: 169.2 kB / 0.8467 GB, free: 23.94 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004817/2.18, allocations: 0.6722 MB / 0.8474 GB, free: 23.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005564/2.186, allocations: 3.872 MB / 0.8512 GB, free: 22.03 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009625/2.195, allocations: 8.969 MB / 0.8599 GB, free: 13.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/2.204, allocations: 5.738 MB / 0.8655 GB, free: 11.74 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002281/2.205, allocations: 51.09 kB / 0.8656 GB, free: 11.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.07484/2.279, allocations: 23.78 MB / 0.8888 GB, free: 11.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001807/2.28, allocations: 80.22 kB / 0.8889 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003295/2.28, allocations: 184 kB / 0.8891 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01647/2.297, allocations: 5.426 MB / 0.8944 GB, free: 6.051 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008598/2.305, allocations: 2.039 MB / 0.8963 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05127/2.356, allocations: 33.06 MB / 0.9286 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009976/2.367, allocations: 0.6023 MB / 0.9292 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/2.369, allocations: 0.4999 MB / 0.9297 GB, free: 0.9805 MB / 0.4948 GB 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 () * 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.003316/2.372, allocations: 0.7697 MB / 0.9305 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/2.374, allocations: 0.5168 MB / 0.931 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4086/2.782, allocations: 17.28 MB / 0.9478 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001301/2.783, allocations: 45.64 kB / 0.9479 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-05/2.783, allocations: 9.719 kB / 0.9479 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.763e-05/2.783, allocations: 12.72 kB / 0.9479 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08424/2.867, allocations: 27.88 MB / 0.9751 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.374e-05/2.867, allocations: 5.375 kB / 0.9751 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00367/2.871, allocations: 0.5166 MB / 0.9756 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01625/2.887, allocations: 5.193 MB / 0.9807 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009358/2.888, allocations: 50.02 kB / 0.9808 GB, free: 131.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04646/2.935, allocations: 32.6 MB / 1.013 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/2.935, allocations: 7.344 kB / 1.013 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06531/3, allocations: 22.16 MB / 1.034 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/3.002, allocations: 0.5356 MB / 1.035 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001994/3.004, allocations: 53.92 kB / 1.035 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005111/3.009, allocations: 300.3 kB / 1.035 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00152/3.011, allocations: 172.6 kB / 1.035 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003743/3.011, allocations: 78.28 kB / 1.035 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007719/3.019, allocations: 3.449 MB / 1.039 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.91e-07/3.019, allocations: 0 / 1.039 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01163/3.031, allocations: 1.876 MB / 1.041 GB, free: 108.7 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 (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.06551/3.096, allocations: 23.11 MB / 1.063 GB, free: 98.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02155/3.118, allocations: 10.86 MB / 1.074 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/3.118, allocations: 0 / 1.074 GB, free: 87.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01116/3.129, allocations: 5.064 MB / 1.079 GB, free: 82.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005118/3.134, allocations: 0.7446 MB / 1.079 GB, free: 82.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03656/3.171, allocations: 16.49 MB / 1.095 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009862/3.181, allocations: 5.161 MB / 1.101 GB, free: 60.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008943/3.19, allocations: 2.694 MB / 1.103 GB, free: 58.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005907/3.196, allocations: 3.229 MB / 1.106 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/3.196, allocations: 0 / 1.106 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5143/3.71, allocations: 151.5 MB / 1.254 GB, free: 76.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/3.71, allocations: 207.4 kB / 1.254 GB, free: 76.37 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/10.82, allocations: 0 / 1.254 GB, free: 76.37 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