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.001422/0.001422, allocations: 98.16 kB / 17 MB, free: 6.398 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.001382/0.001382, allocations: 176.4 kB / 17.89 MB, free: 5.945 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.419/1.419, allocations: 223.2 MB / 241.9 MB, free: 256 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.23 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003101, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 61.93 MB / 471.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.03314/0.1471, allocations: 30.8 MB / 0.4907 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.1633, allocations: 7.051 MB / 0.4976 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005101/0.1684, allocations: 139.7 kB / 0.4977 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004454/0.1729, allocations: 1.435 MB / 0.4991 GB, free: 6.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01063/0.1835, allocations: 4.034 MB / 0.503 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.1859, allocations: 0.5498 MB / 0.5036 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2451/0.4311, allocations: 2.049 MB / 0.5056 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006127/0.4372, allocations: 4.017 MB / 0.5095 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.4384, allocations: 0.664 MB / 0.5101 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.4398, allocations: 1.017 MB / 0.5111 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.44, allocations: 94.91 kB / 0.5112 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.4413, allocations: 0.7061 MB / 0.5119 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008389/0.4421, allocations: 0.921 MB / 0.5128 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.4425, allocations: 494.4 kB / 0.5133 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003263/0.4458, allocations: 3.679 MB / 0.5169 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4458, allocations: 0 / 0.5169 GB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4458, allocations: 1.219 kB / 0.5169 GB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.984e-05/0.4459, allocations: 0 / 0.5169 GB, free: 11 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.004222/0.4501, allocations: 2.444 MB / 0.5193 GB, free: 9.816 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.4502, allocations: 8.594 kB / 0.5193 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000469/0.4506, allocations: 425.6 kB / 0.5197 GB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.4517, allocations: 369.3 kB / 0.52 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.4534, allocations: 1.27 MB / 0.5213 GB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.66e-05/0.4535, allocations: 163 kB / 0.5214 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003309/0.4539, allocations: 214.6 kB / 0.5216 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.4641, allocations: 6.49 MB / 0.528 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.002e-05/0.4641, allocations: 17.94 kB / 0.528 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.4644, allocations: 96.98 kB / 0.5281 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008809/0.4652, allocations: 0.8067 MB / 0.5289 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.4753, allocations: 5.473 MB / 0.5342 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/0.4953, allocations: 19.08 MB / 0.5529 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006211/0.5016, allocations: 1.818 MB / 0.5546 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009314/0.5025, allocations: 0.6859 MB / 0.5553 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006373/0.5089, allocations: 4.715 MB / 0.5599 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.509, allocations: 40.97 kB / 0.5599 GB, free: 3.574 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.835e-06/0.509, allocations: 4 kB / 0.5599 GB, free: 3.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.03774/0.5468, allocations: 8.924 MB / 0.5687 GB, free: 10.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5468, allocations: 60.41 kB / 0.5687 GB, free: 10.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.5493, allocations: 1.829 MB / 0.5705 GB, free: 8.777 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/0.5494, allocations: 45.7 kB / 0.5705 GB, free: 8.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009654/0.5504, allocations: 1.526 MB / 0.572 GB, free: 7.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/0.5507, allocations: 409.2 kB / 0.5724 GB, free: 6.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.5508, allocations: 56 kB / 0.5725 GB, free: 6.758 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.5511, allocations: 423.6 kB / 0.5729 GB, free: 6.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.5526, allocations: 1.001 MB / 0.5739 GB, free: 5.336 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002665/0.5553, allocations: 2.513 MB / 0.5763 GB, free: 2.109 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002286/0.5576, allocations: 1.527 MB / 0.5778 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.371e-05/0.5576, allocations: 16 kB / 0.5778 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005663/0.5633, allocations: 3.514 MB / 0.5813 GB, free: 13.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.5634, allocations: 28 kB / 0.5813 GB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.42e-05/0.5634, allocations: 52 kB / 0.5813 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-05/0.5635, allocations: 80 kB / 0.5814 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/0.5657, allocations: 0.6651 MB / 0.5821 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.586e-05/0.5658, allocations: 100.8 kB / 0.5822 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002057/0.5679, allocations: 156.2 kB / 0.5823 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.5681, allocations: 162.3 kB / 0.5825 GB, free: 12.25 MB / 430.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.002191/0.5703, allocations: 1.131 MB / 0.5836 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/0.5706, allocations: 165.8 kB / 0.5837 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.5737, allocations: 1.745 MB / 0.5854 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.5738, allocations: 12 kB / 0.5854 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.5738, allocations: 0 / 0.5854 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.5738, allocations: 7.969 kB / 0.5854 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009941/0.5837, allocations: 5.593 MB / 0.5909 GB, free: 3.484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/0.5838, allocations: 12 kB / 0.5909 GB, free: 3.473 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008222/0.5846, allocations: 214.6 kB / 0.5911 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.517e-05/0.5847, allocations: 16 kB / 0.5911 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.934e-05/0.5847, allocations: 32 kB / 0.5912 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.101e-05/0.5848, allocations: 22.81 kB / 0.5912 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-05/0.5848, allocations: 15.09 kB / 0.5912 GB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.5871, allocations: 1.682 MB / 0.5928 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004958/0.5876, allocations: 254.9 kB / 0.5931 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.5878, allocations: 36 kB / 0.5931 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.5884, allocations: 47.97 kB / 0.5932 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.5886, allocations: 97.66 kB / 0.5933 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.5886, allocations: 44 kB / 0.5933 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001815/0.5905, allocations: 1.183 MB / 0.5945 GB, free: 15.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5905, allocations: 1.641 kB / 0.5945 GB, free: 15.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002332/0.5928, allocations: 0.5116 MB / 0.595 GB, free: 15.2 MB / 446.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.002694/0.5955, allocations: 2.296 MB / 0.5972 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003548/0.5991, allocations: 2.18 MB / 0.5993 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5991, allocations: 0 / 0.5993 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009122/0.6, allocations: 0.5999 MB / 0.5999 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.6014, allocations: 261.9 kB / 0.6002 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/0.6294, allocations: 15.58 MB / 0.6154 GB, free: 8.879 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/0.6318, allocations: 2.071 MB / 0.6174 GB, free: 6.773 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002216/0.634, allocations: 0.7266 MB / 0.6181 GB, free: 6.043 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/0.6355, allocations: 0.964 MB / 0.6191 GB, free: 5.078 MB / 462.1 MB Notification: Performance of SimCode: time 1.543e-06/0.6355, allocations: 0 / 0.6191 GB, free: 5.078 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06716/0.7027, allocations: 39.06 MB / 0.6572 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.7029, allocations: 181.4 kB / 0.6574 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.717/3.42, allocations: 0 / 0.6574 GB, free: 14.08 MB / 0.4981 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