Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001688/0.001688, 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.417/1.417, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001071/0.001071, allocations: 96.61 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2155/0.2155, allocations: 45.14 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.148e-05, allocations: 4 kB / 453.3 MB, free: 75.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.5799, allocations: 108.3 MB / 0.6102 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5802, allocations: 78.08 kB / 0.6103 GB, free: 10.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.7062, allocations: 51.29 MB / 0.6604 GB, free: 15.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7063, allocations: 3.938 kB / 0.6604 GB, free: 15.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001623/0.7064, allocations: 48 kB / 0.6604 GB, free: 15.27 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.007584/0.714, allocations: 2.243 MB / 0.6626 GB, free: 13.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.679e-05/0.7141, allocations: 8.031 kB / 0.6626 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004025/0.7182, allocations: 444 kB / 0.6631 GB, free: 12.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005348/0.7236, allocations: 1.454 MB / 0.6645 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.7238, allocations: 88 kB / 0.6646 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/0.725, allocations: 151.9 kB / 0.6647 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006555/0.7316, allocations: 3.155 MB / 0.6678 GB, free: 7.766 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00892/0.7405, allocations: 4.305 MB / 0.672 GB, free: 3.16 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.448e-05/0.7406, allocations: 11.88 kB / 0.672 GB, free: 3.148 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.7408, allocations: 12 kB / 0.672 GB, free: 3.137 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005529/0.7414, allocations: 412.1 kB / 0.6724 GB, free: 2.73 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/0.7613, allocations: 17.1 MB / 0.6891 GB, free: 1.117 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.7624, allocations: 0.6374 MB / 0.6897 GB, free: 480 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004156/0.7628, allocations: 306.4 kB / 0.69 GB, free: 172 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001498/0.7643, allocations: 1.746 MB / 0.6917 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.7644, allocations: 39.12 kB / 0.6918 GB, free: 14.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=59): time 3.477e-06/0.7644, allocations: 0 / 0.6918 GB, free: 14.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=91): time 0.008868/0.7733, allocations: 2.903 MB / 0.6946 GB, free: 11.18 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.7734, allocations: 64.19 kB / 0.6947 GB, free: 11.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.7754, allocations: 1.296 MB / 0.6959 GB, free: 9.793 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.7755, allocations: 29.7 kB / 0.696 GB, free: 9.758 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00119/0.7767, allocations: 1.547 MB / 0.6975 GB, free: 8.188 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002845/0.777, allocations: 331.5 kB / 0.6978 GB, free: 7.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/0.7771, allocations: 0 / 0.6978 GB, free: 7.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/0.7774, allocations: 464 kB / 0.6982 GB, free: 7.398 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009619/0.7783, allocations: 0.6415 MB / 0.6989 GB, free: 6.754 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.7804, allocations: 2.068 MB / 0.7009 GB, free: 3.969 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.782, allocations: 1.14 MB / 0.702 GB, free: 2.828 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-05/0.782, allocations: 16 kB / 0.702 GB, free: 2.812 MB / 490.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004442/0.7865, allocations: 2.453 MB / 0.7044 GB, free: 364 kB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.412e-05/0.7866, allocations: 29.09 kB / 0.7044 GB, free: 336 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.525e-05/0.7866, allocations: 52 kB / 0.7045 GB, free: 284 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.217e-05/0.7867, allocations: 76 kB / 0.7046 GB, free: 208 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/0.7886, allocations: 0.5933 MB / 0.7051 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.101e-05/0.7887, allocations: 111.5 kB / 0.7052 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.7901, allocations: 59.89 kB / 0.7053 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.7903, allocations: 144 kB / 0.7054 GB, free: 15.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 234 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.prismatic.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (332): * Single equations (assignments): 332 * 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.0003183/0.7906, allocations: 260.9 kB / 0.7057 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001308/0.7919, allocations: 0.8577 MB / 0.7065 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.7921, allocations: 142.1 kB / 0.7067 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.7937, allocations: 0.9256 MB / 0.7076 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.7937, allocations: 12 kB / 0.7076 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7938, allocations: 0 / 0.7076 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.7938, allocations: 7.969 kB / 0.7076 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007053/0.8008, allocations: 4.376 MB / 0.7119 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.8009, allocations: 16 kB / 0.7119 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.8015, allocations: 171.6 kB / 0.712 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-05/0.8015, allocations: 24 kB / 0.7121 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.8016, allocations: 24 kB / 0.7121 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.481e-05/0.8016, allocations: 35.86 kB / 0.7121 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.72e-05/0.8016, allocations: 19.94 kB / 0.7121 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.8039, allocations: 2.325 MB / 0.7144 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003598/0.8043, allocations: 231.2 kB / 0.7146 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.8044, allocations: 23.98 kB / 0.7146 GB, free: 4.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.805, allocations: 19.98 kB / 0.7147 GB, free: 4.703 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.8051, allocations: 111.5 kB / 0.7148 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/0.8052, allocations: 48 kB / 0.7148 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001254/0.8064, allocations: 0.8716 MB / 0.7157 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8064, allocations: 4 kB / 0.7157 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002236/0.8087, allocations: 403.9 kB / 0.7161 GB, free: 3.277 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 91 * 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.00417/0.8129, allocations: 7.62 MB / 0.7235 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002621/0.8155, allocations: 1.445 MB / 0.7249 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.425e-06/0.8155, allocations: 4 kB / 0.7249 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.816, allocations: 364.2 kB / 0.7253 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.8171, allocations: 190.6 kB / 0.7254 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/0.8259, allocations: 4.35 MB / 0.7297 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/0.828, allocations: 2.107 MB / 0.7318 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001773/0.8298, allocations: 0.6226 MB / 0.7324 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.831, allocations: 0.9444 MB / 0.7333 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of SimCode: time 7.71e-07/0.831, allocations: 0 / 0.7333 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3309/1.162, allocations: 30.64 MB / 0.7632 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/1.162, allocations: 129.6 kB / 0.7633 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.65/3.812, allocations: 0 / 0.7633 GB, free: 153.2 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat