Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 94.27 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009892/0.0009892, allocations: 186.7 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2377/0.2377, allocations: 44.23 MB / 337.1 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 8 kB / 409.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1283, allocations: 61.92 MB / 471.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.0285/0.1569, allocations: 29.16 MB / 0.489 GB, free: 380 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01505/0.172, allocations: 7.314 MB / 0.4961 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00568/0.1777, allocations: 139.7 kB / 0.4962 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00538/0.1831, allocations: 1.427 MB / 0.4976 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01387/0.197, allocations: 4.001 MB / 0.5015 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.1995, allocations: 0.5069 MB / 0.502 GB, free: 2.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.2013, allocations: 0.8941 MB / 0.5029 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2705/0.4719, allocations: 3.983 MB / 0.5068 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002669/0.4746, allocations: 0.5355 MB / 0.5073 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002505/0.4772, allocations: 0.7011 MB / 0.508 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005169/0.4777, allocations: 92.56 kB / 0.5081 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.4804, allocations: 0.6714 MB / 0.5088 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001863/0.4823, allocations: 0.8614 MB / 0.5096 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.4835, allocations: 496.6 kB / 0.5101 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008713/0.4922, allocations: 3.678 MB / 0.5137 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4923, allocations: 0 / 0.5137 GB, free: 11.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.4923, allocations: 0 / 0.5137 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002122/0.4925, allocations: 1.75 kB / 0.5137 GB, free: 11.29 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.009323/0.5019, allocations: 2.493 MB / 0.5161 GB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.5019, allocations: 9.906 kB / 0.5161 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001619/0.5036, allocations: 425.3 kB / 0.5165 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.5055, allocations: 389.8 kB / 0.5169 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/0.5087, allocations: 1.277 MB / 0.5181 GB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.5089, allocations: 160.5 kB / 0.5183 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005486/0.5095, allocations: 218 kB / 0.5185 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.018/0.5275, allocations: 6.628 MB / 0.525 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.597e-05/0.5276, allocations: 13.88 kB / 0.525 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.528, allocations: 98.47 kB / 0.5251 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001356/0.5293, allocations: 0.8102 MB / 0.5259 GB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.5444, allocations: 5.633 MB / 0.5314 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02552/0.5699, allocations: 19.15 MB / 0.5501 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007712/0.5776, allocations: 1.834 MB / 0.5519 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007589/0.5853, allocations: 4.743 MB / 0.5565 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.5854, allocations: 42.81 kB / 0.5565 GB, free: 5.992 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.855e-06/0.5854, allocations: 0 / 0.5565 GB, free: 5.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.04097/0.6264, allocations: 8.96 MB / 0.5653 GB, free: 14.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.6265, allocations: 68.41 kB / 0.5653 GB, free: 14.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.6291, allocations: 1.821 MB / 0.5671 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001474/0.6292, allocations: 43.64 kB / 0.5672 GB, free: 12.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009884/0.6302, allocations: 1.531 MB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.6306, allocations: 405.8 kB / 0.569 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.6308, allocations: 56 kB / 0.5691 GB, free: 11.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.631, allocations: 423.4 kB / 0.5695 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.6325, allocations: 1.005 MB / 0.5705 GB, free: 9.723 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.635, allocations: 2.502 MB / 0.5729 GB, free: 6.508 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.6371, allocations: 1.531 MB / 0.5744 GB, free: 5.027 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/0.6371, allocations: 16 kB / 0.5744 GB, free: 5.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005264/0.6424, allocations: 3.508 MB / 0.5779 GB, free: 1.805 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.6425, allocations: 28 kB / 0.5779 GB, free: 1.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.242e-05/0.6425, allocations: 52.09 kB / 0.5779 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.694e-05/0.6426, allocations: 84 kB / 0.578 GB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/0.6447, allocations: 0.662 MB / 0.5787 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.937e-05/0.6448, allocations: 106 kB / 0.5788 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.6466, allocations: 150.7 kB / 0.5789 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.6468, allocations: 159.8 kB / 0.5791 GB, free: 0.6562 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,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 (352): * Single equations (assignments): 352 * 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.002029/0.6489, allocations: 1.138 MB / 0.5802 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/0.6492, allocations: 165.8 kB / 0.5803 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.6521, allocations: 1.758 MB / 0.582 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.6521, allocations: 8 kB / 0.5821 GB, free: 13.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.6521, allocations: 8 kB / 0.5821 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6522, allocations: 7.969 kB / 0.5821 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/0.6623, allocations: 5.587 MB / 0.5875 GB, free: 7.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/0.6623, allocations: 8.219 kB / 0.5875 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/0.6632, allocations: 214.1 kB / 0.5877 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-05/0.6632, allocations: 16 kB / 0.5878 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/0.6633, allocations: 35.98 kB / 0.5878 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.998e-05/0.6633, allocations: 22 kB / 0.5878 GB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.6633, allocations: 16.73 kB / 0.5878 GB, free: 7.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.6658, allocations: 2.523 MB / 0.5903 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.6664, allocations: 258.8 kB / 0.5905 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.6666, allocations: 36 kB / 0.5906 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.6673, allocations: 43.97 kB / 0.5906 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.6675, allocations: 105.6 kB / 0.5907 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/0.6675, allocations: 40 kB / 0.5908 GB, free: 3.996 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001857/0.6694, allocations: 1.187 MB / 0.5919 GB, free: 2.816 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6694, allocations: 0 / 0.5919 GB, free: 2.816 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002627/0.6721, allocations: 0.5039 MB / 0.5924 GB, free: 2.312 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (111): * Single equations (assignments): 111 * 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.004181/0.6762, allocations: 6.31 MB / 0.5986 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003588/0.6799, allocations: 2.183 MB / 0.6007 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/0.6799, allocations: 5.641 kB / 0.6007 GB, free: 9.652 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008197/0.6807, allocations: 0.5966 MB / 0.6013 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.6821, allocations: 243.8 kB / 0.6015 GB, free: 8.863 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02354/0.7056, allocations: 44.91 MB / 0.6454 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.7077, allocations: 2.118 MB / 0.6474 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002107/0.7098, allocations: 0.7266 MB / 0.6481 GB, free: 7.637 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001395/0.7112, allocations: 0.9718 MB / 0.6491 GB, free: 6.664 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7112, allocations: 0 / 0.6491 GB, free: 6.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06647/0.7777, allocations: 38.5 MB / 0.6867 GB, free: 480 kB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.7779, allocations: 173.7 kB / 0.6869 GB, free: 232 kB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.556, allocations: 0 / 0.6869 GB, free: 232 kB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat