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.001016/0.001016, allocations: 186 kB / 13.19 MB, free: 2.121 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.534/1.534, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0009134/0.0009136, allocations: 84.47 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4628/0.4628, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.054e-05, allocations: 8 kB / 425.4 MB, free: 8.098 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1558, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5965/0.7524, allocations: 106.4 MB / 0.5768 GB, free: 15.37 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.7527, allocations: 75.34 kB / 0.5769 GB, free: 15.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1386/0.8913, allocations: 55.18 MB / 0.6307 GB, free: 180 kB / 442.7 MB Notification: Performance of FrontEnd: time 3.125e-06/0.8913, allocations: 0 / 0.6307 GB, free: 180 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001108/0.8915, allocations: 52 kB / 0.6308 GB, free: 128 kB / 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.006056/0.8975, allocations: 2.375 MB / 0.6331 GB, free: 13.87 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.8976, allocations: 8.031 kB / 0.6331 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000973/0.8986, allocations: 492.7 kB / 0.6336 GB, free: 13.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00222/0.9008, allocations: 475.2 kB / 0.634 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003154/0.904, allocations: 1.533 MB / 0.6355 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.9042, allocations: 218.4 kB / 0.6358 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004606/0.9046, allocations: 285.1 kB / 0.636 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01456/0.9192, allocations: 5.937 MB / 0.6418 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.041e-05/0.9193, allocations: 19.78 kB / 0.6418 GB, free: 5.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003326/0.9197, allocations: 131.9 kB / 0.642 GB, free: 5.211 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008704/0.9206, allocations: 484 kB / 0.6424 GB, free: 4.734 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0115/0.9321, allocations: 4.489 MB / 0.6468 GB, free: 244 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02986/0.962, allocations: 19.97 MB / 0.6663 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/0.9662, allocations: 1.242 MB / 0.6675 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006123/0.9669, allocations: 375.3 kB / 0.6679 GB, free: 10.09 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002116/0.969, allocations: 2.073 MB / 0.6699 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.9691, allocations: 47.06 kB / 0.67 GB, free: 7.625 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 3.456e-06/0.9691, allocations: 0 / 0.67 GB, free: 7.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01962/0.9887, allocations: 5.381 MB / 0.6752 GB, free: 2.219 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.9889, allocations: 98.05 kB / 0.6753 GB, free: 2.105 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/0.9915, allocations: 1.605 MB / 0.6769 GB, free: 0.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.9917, allocations: 41.7 kB / 0.6769 GB, free: 464 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001251/0.993, allocations: 1.656 MB / 0.6785 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.9934, allocations: 406.6 kB / 0.6789 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.9935, allocations: 56 kB / 0.679 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002302/0.9938, allocations: 431.6 kB / 0.6794 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001234/0.995, allocations: 0.7631 MB / 0.6801 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.9973, allocations: 2.32 MB / 0.6824 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002044/0.9994, allocations: 1.324 MB / 0.6837 GB, free: 8.711 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-05/0.9994, allocations: 16 kB / 0.6837 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=362) (initialization): time 0.005692/1.005, allocations: 3.087 MB / 0.6867 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/1.005, allocations: 28 kB / 0.6867 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.901e-05/1.005, allocations: 60.08 kB / 0.6868 GB, free: 5.516 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/1.005, allocations: 87.98 kB / 0.6869 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/1.008, allocations: 0.6512 MB / 0.6875 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.74e-05/1.008, allocations: 107.6 kB / 0.6876 GB, free: 4.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/1.009, allocations: 119.9 kB / 0.6877 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/1.01, allocations: 168 kB / 0.6879 GB, free: 4.391 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 () * 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.0004288/1.01, allocations: 334.6 kB / 0.6882 GB, free: 4.055 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/1.011, allocations: 169.8 kB / 0.6884 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/1.013, allocations: 1.239 MB / 0.6896 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.013, allocations: 15.94 kB / 0.6896 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/1.013, allocations: 0 / 0.6896 GB, free: 2.617 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/1.013, allocations: 7.969 kB / 0.6896 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2975/1.31, allocations: 6.43 MB / 0.6959 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.58e-05/1.31, allocations: 19.88 kB / 0.6959 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/1.311, allocations: 203.2 kB / 0.6961 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.799e-05/1.311, allocations: 29.44 kB / 0.6961 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/1.311, allocations: 42.92 kB / 0.6962 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.663e-05/1.311, allocations: 42.09 kB / 0.6962 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.83e-05/1.311, allocations: 31.12 kB / 0.6962 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/1.314, allocations: 3.18 MB / 0.6993 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/1.315, allocations: 277.8 kB / 0.6996 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/1.315, allocations: 47.22 kB / 0.6997 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/1.316, allocations: 40.12 kB / 0.6997 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.316, allocations: 135.3 kB / 0.6998 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/1.316, allocations: 53.61 kB / 0.6999 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002412/1.318, allocations: 1.202 MB / 0.701 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.51e-07/1.318, allocations: 0 / 0.701 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002723/1.321, allocations: 0.4948 MB / 0.7015 GB, free: 116.8 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 () * 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.00356/1.325, allocations: 9.43 MB / 0.7107 GB, free: 108 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003156/1.328, allocations: 1.795 MB / 0.7125 GB, free: 108 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/1.328, allocations: 3.062 kB / 0.7125 GB, free: 108 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006464/1.328, allocations: 480.5 kB / 0.713 GB, free: 108 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/1.33, allocations: 250.7 kB / 0.7132 GB, free: 108 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009984/1.34, allocations: 5.06 MB / 0.7181 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.342, allocations: 2.246 MB / 0.7203 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001918/1.344, allocations: 0.7141 MB / 0.721 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/1.345, allocations: 1.042 MB / 0.722 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/1.345, allocations: 0 / 0.722 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07642/1.421, allocations: 37.46 MB / 0.7586 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/1.422, allocations: 147.4 kB / 0.7588 GB, free: 103 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.399/4.82, allocations: 0 / 0.7588 GB, free: 103 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