Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",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.001373/0.001373, allocations: 181.3 kB / 15.76 MB, free: 6.363 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.631/1.631, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009556/0.0009555, allocations: 82.89 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2105/0.2105, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003332, allocations: 16 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1247, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3844/0.5091, allocations: 107.3 MB / 0.5836 GB, free: 8.582 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5094, allocations: 83.83 kB / 0.5837 GB, free: 8.539 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1471/0.6565, allocations: 57.02 MB / 0.6394 GB, free: 7.617 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6565, allocations: 0 / 0.6394 GB, free: 7.617 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001355/0.6566, allocations: 48.19 kB / 0.6394 GB, free: 7.57 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.007993/0.6647, allocations: 2.717 MB / 0.6421 GB, free: 4.793 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6647, allocations: 8.031 kB / 0.6421 GB, free: 4.785 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00173/0.6665, allocations: 489.2 kB / 0.6426 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/0.6692, allocations: 491.6 kB / 0.643 GB, free: 3.812 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004045/0.6733, allocations: 1.551 MB / 0.6446 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.6736, allocations: 209.6 kB / 0.6448 GB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001034/0.6746, allocations: 279.9 kB / 0.645 GB, free: 1.734 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.693, allocations: 6.718 MB / 0.6516 GB, free: 10.69 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001486/0.6932, allocations: 15.88 kB / 0.6516 GB, free: 10.68 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001077/0.6943, allocations: 124 kB / 0.6517 GB, free: 10.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.6954, allocations: 0.5356 MB / 0.6522 GB, free: 10.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01357/0.709, allocations: 5.529 MB / 0.6576 GB, free: 4.465 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03181/0.7409, allocations: 21.4 MB / 0.6785 GB, free: 14.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006852/0.7478, allocations: 1.806 MB / 0.6803 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007588/0.7554, allocations: 4.898 MB / 0.6851 GB, free: 7.336 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.7555, allocations: 39.06 kB / 0.6851 GB, free: 7.289 MB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 3.296e-06/0.7555, allocations: 4 kB / 0.6851 GB, free: 7.285 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.04417/0.7997, allocations: 10.09 MB / 0.695 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.7998, allocations: 90.11 kB / 0.6951 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/0.8034, allocations: 1.754 MB / 0.6968 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001925/0.8036, allocations: 45.73 kB / 0.6968 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00147/0.8051, allocations: 1.675 MB / 0.6985 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000511/0.8057, allocations: 414.6 kB / 0.6988 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.8059, allocations: 56 kB / 0.6989 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002444/0.8061, allocations: 428 kB / 0.6993 GB, free: 8.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.8079, allocations: 1.025 MB / 0.7003 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003055/0.8109, allocations: 2.649 MB / 0.7029 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002535/0.8135, allocations: 1.58 MB / 0.7044 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-05/0.8135, allocations: 16 kB / 0.7045 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.237/1.051, allocations: 3.669 MB / 0.708 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/1.051, allocations: 29.41 kB / 0.7081 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-05/1.051, allocations: 60.66 kB / 0.7081 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001259/1.051, allocations: 85.19 kB / 0.7082 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/1.054, allocations: 0.7304 MB / 0.7089 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001075/1.054, allocations: 114.1 kB / 0.709 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/1.056, allocations: 153.7 kB / 0.7092 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/1.056, allocations: 168.4 kB / 0.7093 GB, free: 139.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 34 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (374): * Single equations (assignments): 374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001985/1.058, allocations: 1.203 MB / 0.7105 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/1.059, allocations: 182.1 kB / 0.7107 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003081/1.062, allocations: 1.727 MB / 0.7124 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/1.062, allocations: 9.531 kB / 0.7124 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.062, allocations: 4.766 kB / 0.7124 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.062, allocations: 6.453 kB / 0.7124 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/1.072, allocations: 5.899 MB / 0.7181 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/1.072, allocations: 19.58 kB / 0.7182 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.073, allocations: 250 kB / 0.7184 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-05/1.073, allocations: 18.56 kB / 0.7184 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/1.073, allocations: 37.75 kB / 0.7185 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.848e-05/1.073, allocations: 26.27 kB / 0.7185 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.431e-05/1.073, allocations: 20.53 kB / 0.7185 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/1.076, allocations: 2.645 MB / 0.7211 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006348/1.077, allocations: 268.9 kB / 0.7213 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/1.077, allocations: 36.91 kB / 0.7214 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/1.078, allocations: 64.22 kB / 0.7214 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.078, allocations: 105.8 kB / 0.7215 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/1.078, allocations: 38.25 kB / 0.7216 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002195/1.08, allocations: 1.274 MB / 0.7228 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.61e-07/1.08, allocations: 0 / 0.7228 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003042/1.083, allocations: 0.5405 MB / 0.7233 GB, free: 136.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003558/1.087, allocations: 6.528 MB / 0.7297 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003461/1.09, allocations: 2.264 MB / 0.7319 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/1.09, allocations: 0 / 0.7319 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007756/1.091, allocations: 0.6112 MB / 0.7325 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/1.093, allocations: 235.3 kB / 0.7328 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/1.113, allocations: 48.73 MB / 0.7803 GB, free: 85.29 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002153/1.115, allocations: 2.242 MB / 0.7825 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002204/1.118, allocations: 0.7774 MB / 0.7833 GB, free: 84.14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/1.119, allocations: 1.05 MB / 0.7843 GB, free: 83.3 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/1.119, allocations: 4 kB / 0.7843 GB, free: 83.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06217/1.181, allocations: 39.77 MB / 0.8232 GB, free: 69.78 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/1.181, allocations: 174.8 kB / 0.8233 GB, free: 69.53 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.169/4.351, allocations: 0 / 0.8233 GB, free: 69.53 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat