Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",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.00207/0.00207, allocations: 183.7 kB / 15.76 MB, free: 6.367 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.654/1.654, 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.0009903/0.0009903, allocations: 94.86 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.2397/0.2397, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003294, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 58.85 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4543/0.5866, allocations: 106.5 MB / 0.5828 GB, free: 9.445 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/0.587, allocations: 82.7 kB / 0.5829 GB, free: 9.402 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1367/0.7237, allocations: 55.14 MB / 0.6367 GB, free: 10.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.7238, allocations: 0 / 0.6367 GB, free: 10.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.545e-05/0.7239, allocations: 52 kB / 0.6368 GB, free: 10.14 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.004663/0.7285, allocations: 2.495 MB / 0.6392 GB, free: 7.746 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.7286, allocations: 12.03 kB / 0.6392 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008157/0.7294, allocations: 488.9 kB / 0.6397 GB, free: 7.246 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.7316, allocations: 476 kB / 0.6402 GB, free: 6.777 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/0.7351, allocations: 1.54 MB / 0.6417 GB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.7353, allocations: 213.7 kB / 0.6419 GB, free: 4.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000419/0.7358, allocations: 284 kB / 0.6421 GB, free: 4.703 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01457/0.7503, allocations: 6.004 MB / 0.648 GB, free: 14.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.301e-05/0.7505, allocations: 15.88 kB / 0.648 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/0.7508, allocations: 135.9 kB / 0.6481 GB, free: 14.23 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008776/0.7517, allocations: 480.1 kB / 0.6486 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.7636, allocations: 4.578 MB / 0.6531 GB, free: 9.172 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0293/0.7929, allocations: 19.98 MB / 0.6726 GB, free: 4.621 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004187/0.7972, allocations: 1.254 MB / 0.6738 GB, free: 3.348 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/0.7992, allocations: 2.073 MB / 0.6758 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.7993, allocations: 35.12 kB / 0.6759 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of pre-optimization done (n=66): time 3.577e-06/0.7993, allocations: 0 / 0.6759 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of matching and sorting (n=110): time 0.02576/0.8251, allocations: 6.626 MB / 0.6823 GB, free: 10.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.8252, allocations: 94.11 kB / 0.6824 GB, free: 10.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.8276, allocations: 1.624 MB / 0.684 GB, free: 8.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.993e-05/0.8277, allocations: 49.64 kB / 0.6841 GB, free: 8.465 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001212/0.8289, allocations: 1.648 MB / 0.6857 GB, free: 6.793 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.8293, allocations: 414.5 kB / 0.6861 GB, free: 6.383 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.8294, allocations: 56 kB / 0.6861 GB, free: 6.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.8296, allocations: 423.8 kB / 0.6865 GB, free: 5.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.8309, allocations: 0.7941 MB / 0.6873 GB, free: 5.113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.8332, allocations: 2.343 MB / 0.6896 GB, free: 2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/0.8352, allocations: 1.326 MB / 0.6909 GB, free: 0.668 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-05/0.8353, allocations: 16 kB / 0.6909 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of matching and sorting (n=362) (initialization): time 0.004951/0.8402, allocations: 3.137 MB / 0.694 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/0.8403, allocations: 34.64 kB / 0.694 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-05/0.8404, allocations: 56 kB / 0.6941 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.674e-05/0.8404, allocations: 80 kB / 0.6941 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.8424, allocations: 0.6519 MB / 0.6948 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.014e-05/0.8425, allocations: 107.6 kB / 0.6949 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.8442, allocations: 127.8 kB / 0.695 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002141/0.8444, allocations: 160 kB / 0.6951 GB, free: 12.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 362 * 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.002179/0.8466, allocations: 1.211 MB / 0.6963 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/0.847, allocations: 165.8 kB / 0.6965 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.8493, allocations: 1.258 MB / 0.6977 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.8493, allocations: 16.03 kB / 0.6977 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8493, allocations: 0 / 0.6977 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.8493, allocations: 7.969 kB / 0.6977 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.8603, allocations: 6.44 MB / 0.704 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.831e-05/0.8604, allocations: 20 kB / 0.704 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.8611, allocations: 199.6 kB / 0.7042 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/0.8611, allocations: 32 kB / 0.7043 GB, free: 2.551 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.541e-05/0.8612, allocations: 44 kB / 0.7043 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.781e-05/0.8612, allocations: 39.84 kB / 0.7043 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.156e-05/0.8612, allocations: 35.81 kB / 0.7044 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.327/1.188, allocations: 3.194 MB / 0.7075 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006083/1.189, allocations: 274.8 kB / 0.7078 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/1.189, allocations: 48.11 kB / 0.7078 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007261/1.19, allocations: 41.58 kB / 0.7078 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/1.19, allocations: 133.6 kB / 0.708 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-05/1.19, allocations: 58.84 kB / 0.708 GB, free: 139 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002132/1.192, allocations: 1.209 MB / 0.7092 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.52e-07/1.192, allocations: 1.062 kB / 0.7092 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002974/1.195, allocations: 0.4989 MB / 0.7097 GB, free: 138.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.004393/1.2, allocations: 9.454 MB / 0.7189 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004223/1.204, allocations: 1.832 MB / 0.7207 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/1.204, allocations: 4 kB / 0.7207 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008873/1.205, allocations: 487.9 kB / 0.7212 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/1.206, allocations: 252.3 kB / 0.7214 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/1.234, allocations: 47.11 MB / 0.7674 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/1.237, allocations: 2.246 MB / 0.7696 GB, free: 85.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002971/1.24, allocations: 0.7083 MB / 0.7703 GB, free: 85.58 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/1.242, allocations: 1.047 MB / 0.7713 GB, free: 85.57 MB / 0.4948 GB Notification: Performance of SimCode: time 3.446e-06/1.242, allocations: 0 / 0.7713 GB, free: 85.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06757/1.31, allocations: 36.73 MB / 0.8072 GB, free: 81.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001388/1.31, allocations: 178.4 kB / 0.8074 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.204/4.514, allocations: 3.938 kB / 0.8074 GB, free: 80.87 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat