Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009829/0.0009829, allocations: 180.4 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 223.2 MB / 241 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009768/0.0009768, allocations: 90.27 kB / 292.1 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3543/0.3543, allocations: 44.21 MB / 387.5 MB, free: 38.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003245, allocations: 8 kB / 460 MB, free: 1.477 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4143, allocations: 61.91 MB / 0.5096 GB, free: 37.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.5631, allocations: 108 MB / 0.6151 GB, free: 3.113 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5635, allocations: 79.94 kB / 0.6152 GB, free: 3.039 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1419/0.7054, allocations: 52.56 MB / 0.6665 GB, free: 14.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.7054, allocations: 4 kB / 0.6665 GB, free: 14.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001892/0.7056, allocations: 48 kB / 0.6666 GB, free: 14.13 MB / 490.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.009208/0.7149, allocations: 2.37 MB / 0.6689 GB, free: 11.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.7149, allocations: 8.031 kB / 0.6689 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002131/0.7171, allocations: 438.7 kB / 0.6693 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.7201, allocations: 444.1 kB / 0.6697 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004954/0.7251, allocations: 1.473 MB / 0.6712 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000295/0.7254, allocations: 201.3 kB / 0.6714 GB, free: 9.094 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.7266, allocations: 256 kB / 0.6716 GB, free: 8.844 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01606/0.7427, allocations: 5.61 MB / 0.6771 GB, free: 2.914 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/0.7429, allocations: 15.88 kB / 0.6771 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008356/0.7437, allocations: 120 kB / 0.6772 GB, free: 2.781 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006963/0.7444, allocations: 411.5 kB / 0.6776 GB, free: 2.379 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3259/1.07, allocations: 4.388 MB / 0.6819 GB, free: 106.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02408/1.095, allocations: 18.48 MB / 0.6999 GB, free: 97.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003714/1.098, allocations: 1.23 MB / 0.7011 GB, free: 97.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001383/1.1, allocations: 2.07 MB / 0.7032 GB, free: 96.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.1, allocations: 41.38 kB / 0.7032 GB, free: 96.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=65): time 3.386e-06/1.1, allocations: 0 / 0.7032 GB, free: 96.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.0238/1.124, allocations: 6.194 MB / 0.7092 GB, free: 95.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/1.124, allocations: 64.91 kB / 0.7093 GB, free: 95.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/1.126, allocations: 1.525 MB / 0.7108 GB, free: 94.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.562e-05/1.126, allocations: 44.7 kB / 0.7108 GB, free: 94.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000772/1.126, allocations: 1.503 MB / 0.7123 GB, free: 93.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/1.127, allocations: 410.5 kB / 0.7127 GB, free: 92.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/1.127, allocations: 52.06 kB / 0.7127 GB, free: 92.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/1.127, allocations: 418 kB / 0.7131 GB, free: 92.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/1.128, allocations: 0.761 MB / 0.7139 GB, free: 92.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/1.13, allocations: 2.197 MB / 0.716 GB, free: 90.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/1.132, allocations: 1.271 MB / 0.7173 GB, free: 89.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.632e-05/1.132, allocations: 15.12 kB / 0.7173 GB, free: 89.66 MB / 490.7 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.004982/1.137, allocations: 2.979 MB / 0.7202 GB, free: 88.47 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/1.137, allocations: 27.8 kB / 0.7202 GB, free: 88.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-05/1.137, allocations: 49.91 kB / 0.7203 GB, free: 88.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/1.137, allocations: 75.59 kB / 0.7203 GB, free: 88.47 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001934/1.139, allocations: 0.6044 MB / 0.7209 GB, free: 88.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001383/1.139, allocations: 107.4 kB / 0.721 GB, free: 88.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.141, allocations: 122 kB / 0.7211 GB, free: 88.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/1.141, allocations: 147.9 kB / 0.7213 GB, free: 88.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (341): * Single equations (assignments): 341 * 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.002132/1.143, allocations: 1.123 MB / 0.7224 GB, free: 87.71 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/1.144, allocations: 160.7 kB / 0.7225 GB, free: 87.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/1.146, allocations: 1.239 MB / 0.7238 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.146, allocations: 10.03 kB / 0.7238 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.146, allocations: 2.719 kB / 0.7238 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.826e-05/1.146, allocations: 10.61 kB / 0.7238 GB, free: 87.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.157, allocations: 6.214 MB / 0.7298 GB, free: 83.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.25e-05/1.158, allocations: 21.44 kB / 0.7299 GB, free: 83.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/1.158, allocations: 203.5 kB / 0.7301 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.527e-05/1.158, allocations: 28.69 kB / 0.7301 GB, free: 83.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-05/1.158, allocations: 45.31 kB / 0.7301 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-05/1.159, allocations: 38.02 kB / 0.7302 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.269e-05/1.159, allocations: 31.73 kB / 0.7302 GB, free: 83.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002884/1.161, allocations: 3.132 MB / 0.7333 GB, free: 80.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/1.162, allocations: 264.7 kB / 0.7335 GB, free: 80.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/1.162, allocations: 50.02 kB / 0.7336 GB, free: 80.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/1.163, allocations: 37.25 kB / 0.7336 GB, free: 80.07 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/1.163, allocations: 134.4 kB / 0.7337 GB, free: 80.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/1.163, allocations: 57.44 kB / 0.7338 GB, free: 80 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001815/1.165, allocations: 1.131 MB / 0.7349 GB, free: 79.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.165, allocations: 0 / 0.7349 GB, free: 79.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002594/1.168, allocations: 473.5 kB / 0.7353 GB, free: 79.52 MB / 490.7 MB 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.003255/1.171, allocations: 9.455 MB / 0.7446 GB, free: 70.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002691/1.174, allocations: 1.756 MB / 0.7463 GB, free: 69.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.174, allocations: 3.719 kB / 0.7463 GB, free: 69.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005738/1.174, allocations: 490.9 kB / 0.7467 GB, free: 69.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/1.175, allocations: 262.9 kB / 0.747 GB, free: 69.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/1.194, allocations: 43.54 MB / 0.7895 GB, free: 27.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/1.197, allocations: 2.139 MB / 0.7916 GB, free: 26.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002065/1.199, allocations: 0.6671 MB / 0.7923 GB, free: 26.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.2, allocations: 0.9599 MB / 0.7932 GB, free: 25.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.442e-06/1.2, allocations: 4 kB / 0.7932 GB, free: 25.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06417/1.265, allocations: 34.87 MB / 0.8272 GB, free: 9.234 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001494/1.265, allocations: 163.2 kB / 0.8274 GB, free: 8.996 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/4.459, allocations: 0 / 0.8274 GB, free: 8.996 MB / 490.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat