Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009724/0.0009723, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008579/0.0008576, allocations: 86.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.043e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08409/0.08414, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3295/0.4137, allocations: 113.6 MB / 483.7 MB, free: 11.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4139, allocations: 97.36 kB / 483.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5202/0.9342, allocations: 128.7 MB / 0.5982 GB, free: 86.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.9342, allocations: 0 / 0.5982 GB, free: 86.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002855/0.9345, allocations: 147.1 kB / 0.5983 GB, free: 85.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.02091/0.9554, allocations: 7.138 MB / 0.6053 GB, free: 78.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.9555, allocations: 8.031 kB / 0.6053 GB, free: 78.78 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003587/0.9591, allocations: 1.218 MB / 0.6065 GB, free: 77.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.9715, allocations: 2.782 MB / 0.6092 GB, free: 74.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/0.9886, allocations: 7.532 MB / 0.6166 GB, free: 67.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004297/0.9891, allocations: 0.5229 MB / 0.6171 GB, free: 66.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002852/0.992, allocations: 0.6938 MB / 0.6178 GB, free: 66.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03543/1.027, allocations: 17.38 MB / 0.6347 GB, free: 47.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002893/1.028, allocations: 83.27 kB / 0.6348 GB, free: 47.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/1.03, allocations: 331.9 kB / 0.6351 GB, free: 47.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001951/1.032, allocations: 1.523 MB / 0.6366 GB, free: 45.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02799/1.06, allocations: 14.55 MB / 0.6508 GB, free: 30.92 MB / 410.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.3156/1.375, allocations: 73.77 MB / 0.7229 GB, free: 46.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02243/1.398, allocations: 7.817 MB / 0.7305 GB, free: 45.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004219/1.402, allocations: 3.986 MB / 0.7344 GB, free: 45.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02205/1.424, allocations: 16.7 MB / 0.7507 GB, free: 41.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/1.424, allocations: 70.28 kB / 0.7508 GB, free: 41.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=275): time 8.135e-06/1.424, allocations: 0 / 0.7508 GB, free: 41.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.1009/1.525, allocations: 39.19 MB / 0.789 GB, free: 31 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01842/1.544, allocations: 14.86 MB / 0.8035 GB, free: 20.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007181/1.551, allocations: 5.044 MB / 0.8085 GB, free: 16.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007477/1.552, allocations: 77.7 kB / 0.8085 GB, free: 15.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002252/1.554, allocations: 4.771 MB / 0.8132 GB, free: 11.69 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001574/1.555, allocations: 1.306 MB / 0.8145 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005243/1.556, allocations: 183.6 kB / 0.8147 GB, free: 10.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003377/1.556, allocations: 0.7003 MB / 0.8153 GB, free: 9.766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004937/1.561, allocations: 4.052 MB / 0.8193 GB, free: 6.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00847/1.57, allocations: 9.288 MB / 0.8284 GB, free: 11.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00899/1.579, allocations: 6.07 MB / 0.8343 GB, free: 5.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-05/1.579, allocations: 56 kB / 0.8344 GB, free: 5.926 MB / 442.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.03902/1.618, allocations: 17.88 MB / 0.8518 GB, free: 5.453 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.618, allocations: 85.25 kB / 0.8519 GB, free: 5.371 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.618, allocations: 184 kB / 0.8521 GB, free: 5.191 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01566/1.634, allocations: 4.987 MB / 0.8569 GB, free: 224 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007083/1.641, allocations: 2.024 MB / 0.8589 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2893/1.93, allocations: 37.02 MB / 0.8951 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008402/1.939, allocations: 0.5505 MB / 0.8956 GB, free: 119.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001871/1.941, allocations: 0.5614 MB / 0.8962 GB, free: 119.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * 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.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.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1064): * Single equations (assignments): 1053 * 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 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.001742/1.943, allocations: 0.7998 MB / 0.8969 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.944, allocations: 0.5343 MB / 0.8975 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01971/1.963, allocations: 10.47 MB / 0.9077 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.958e-05/1.963, allocations: 52.95 kB / 0.9077 GB, free: 117 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01909/1.983, allocations: 9.557 MB / 0.9171 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.892e-05/1.983, allocations: 13.45 kB / 0.9171 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04741/2.03, allocations: 23.6 MB / 0.9401 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.734e-05/2.03, allocations: 3.094 kB / 0.9401 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/2.033, allocations: 474.2 kB / 0.9406 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01128/2.044, allocations: 3.688 MB / 0.9442 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009118/2.045, allocations: 66.44 kB / 0.9442 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03134/2.076, allocations: 27.31 MB / 0.9709 GB, free: 84.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01413/2.091, allocations: 12.12 MB / 0.9827 GB, free: 73.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02373/2.114, allocations: 15.19 MB / 0.9976 GB, free: 59.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003892/2.118, allocations: 1.156 MB / 0.9987 GB, free: 58.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/2.12, allocations: 60.78 kB / 0.9988 GB, free: 58.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003877/2.124, allocations: 228.5 kB / 0.999 GB, free: 57.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001157/2.125, allocations: 243.3 kB / 0.9992 GB, free: 57.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/2.125, allocations: 96.53 kB / 0.9993 GB, free: 57.53 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006249/2.131, allocations: 3.518 MB / 1.003 GB, free: 54 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.131, allocations: 1.875 kB / 1.003 GB, free: 54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01147/2.143, allocations: 2.058 MB / 1.005 GB, free: 51.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 208 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.02559/2.168, allocations: 16.98 MB / 1.021 GB, free: 34.89 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01535/2.184, allocations: 10.74 MB / 1.032 GB, free: 24.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/2.184, allocations: 2.812 kB / 1.032 GB, free: 24.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005832/2.19, allocations: 4.224 MB / 1.036 GB, free: 20.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004375/2.194, allocations: 0.7658 MB / 1.037 GB, free: 19.31 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2682/2.462, allocations: 16.01 MB / 1.052 GB, free: 123.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005148/2.468, allocations: 5.164 MB / 1.057 GB, free: 122.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006597/2.474, allocations: 2.761 MB / 1.06 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004994/2.479, allocations: 3.185 MB / 1.063 GB, free: 122.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.523e-06/2.479, allocations: 0 / 1.063 GB, free: 122.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4567/2.936, allocations: 155.3 MB / 1.215 GB, free: 96.14 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/2.936, allocations: 209.3 kB / 1.215 GB, free: 95.92 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.012/8.949, allocations: 3.531 kB / 1.215 GB, free: 95.92 MB / 474.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat