Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2",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.0009979/0.000998, allocations: 101.1 kB / 16.99 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.0008587/0.0008587, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.444/1.444, allocations: 223.2 MB / 241.8 MB, free: 376 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.2312/0.2312, allocations: 44.23 MB / 337.1 MB, free: 2.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 12 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03875/0.1816, allocations: 37.1 MB / 0.4967 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.347/0.5287, allocations: 9.467 MB / 0.506 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008802/0.5375, allocations: 184.5 kB / 0.5061 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007137/0.5447, allocations: 1.806 MB / 0.5079 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01993/0.5647, allocations: 5.413 MB / 0.5132 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00419/0.5689, allocations: 0.8313 MB / 0.514 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03892/0.6079, allocations: 25.12 MB / 0.5385 GB, free: 3.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005967/0.6139, allocations: 4.098 MB / 0.5425 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002544/0.6165, allocations: 1.218 MB / 0.5437 GB, free: 124 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002822/0.6193, allocations: 1.681 MB / 0.5454 GB, free: 14.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007184/0.62, allocations: 168 kB / 0.5455 GB, free: 14.78 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.6225, allocations: 1.071 MB / 0.5466 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.6245, allocations: 1.819 MB / 0.5483 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.626, allocations: 0.9367 MB / 0.5493 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008461/0.6344, allocations: 6.294 MB / 0.5554 GB, free: 6.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6345, allocations: 2.078 kB / 0.5554 GB, free: 6.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6345, allocations: 0 / 0.5554 GB, free: 6.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002673/0.6348, allocations: 0 / 0.5554 GB, free: 6.84 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01668/0.6515, allocations: 5.178 MB / 0.5605 GB, free: 2.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.871e-05/0.6515, allocations: 19.88 kB / 0.5605 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003412/0.655, allocations: 0.7922 MB / 0.5613 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08421/0.7392, allocations: 8.469 MB / 0.5695 GB, free: 9.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008666/0.7479, allocations: 3.289 MB / 0.5727 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.7482, allocations: 257.5 kB / 0.573 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001546/0.7497, allocations: 342.2 kB / 0.5733 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/0.776, allocations: 12.46 MB / 0.5855 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000173/0.7762, allocations: 59.48 kB / 0.5855 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005456/0.7767, allocations: 164.9 kB / 0.5857 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003826/0.7806, allocations: 2.377 MB / 0.588 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/0.8034, allocations: 10.88 MB / 0.5986 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06872/0.8721, allocations: 48.92 MB / 0.6464 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.8875, allocations: 5.954 MB / 0.6522 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02358/0.9111, allocations: 13.13 MB / 0.665 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.9112, allocations: 55.81 kB / 0.6651 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=193): time 5.12e-06/0.9112, allocations: 1.641 kB / 0.6651 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.1176/1.029, allocations: 39.53 MB / 0.7037 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/1.029, allocations: 213.9 kB / 0.7039 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2954/1.325, allocations: 4.595 MB / 0.7084 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00087/1.325, allocations: 62.89 kB / 0.7085 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003283/1.329, allocations: 3.431 MB / 0.7118 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001583/1.33, allocations: 0.944 MB / 0.7127 GB, free: 186.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/1.331, allocations: 135.6 kB / 0.7129 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004229/1.331, allocations: 0.5922 MB / 0.7134 GB, free: 186.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00574/1.337, allocations: 3.088 MB / 0.7165 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009475/1.346, allocations: 6.994 MB / 0.7233 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008821/1.355, allocations: 4.531 MB / 0.7277 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001671/1.356, allocations: 38.97 kB / 0.7277 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02792/1.383, allocations: 12.61 MB / 0.7401 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.384, allocations: 69.3 kB / 0.7401 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.384, allocations: 137.1 kB / 0.7403 GB, free: 172.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008354/1.392, allocations: 3.275 MB / 0.7435 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/1.398, allocations: 1.532 MB / 0.745 GB, free: 172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01915/1.417, allocations: 16.07 MB / 0.7606 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007041/1.424, allocations: 432.7 kB / 0.7611 GB, free: 155.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.425, allocations: 408 kB / 0.7615 GB, free: 155.5 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004461/1.43, allocations: 2.342 MB / 0.7637 GB, free: 153.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.431, allocations: 410.7 kB / 0.7641 GB, free: 152.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/1.444, allocations: 7.499 MB / 0.7715 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-05/1.444, allocations: 29.05 kB / 0.7715 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/1.444, allocations: 14.06 kB / 0.7715 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-05/1.444, allocations: 17.92 kB / 0.7715 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02447/1.468, allocations: 15.2 MB / 0.7864 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.468, allocations: 0 / 0.7864 GB, free: 129.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/1.47, allocations: 383.4 kB / 0.7867 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007631/1.478, allocations: 2.928 MB / 0.7896 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004182/1.478, allocations: 45.53 kB / 0.7896 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/1.495, allocations: 14.3 MB / 0.8036 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.495, allocations: 2.875 kB / 0.8036 GB, free: 112.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0166/1.512, allocations: 11.54 MB / 0.8149 GB, free: 100.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.513, allocations: 463.7 kB / 0.8153 GB, free: 100 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007624/1.514, allocations: 44.73 kB / 0.8154 GB, free: 99.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/1.516, allocations: 191.7 kB / 0.8155 GB, free: 99.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004479/1.516, allocations: 154.6 kB / 0.8157 GB, free: 99.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/1.516, allocations: 56 kB / 0.8157 GB, free: 99.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003546/1.52, allocations: 2.911 MB / 0.8186 GB, free: 96.65 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.91e-07/1.52, allocations: 2.406 kB / 0.8186 GB, free: 96.65 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006343/1.526, allocations: 1.338 MB / 0.8199 GB, free: 95.32 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01676/1.543, allocations: 12.38 MB / 0.832 GB, free: 82.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01216/1.555, allocations: 7.8 MB / 0.8396 GB, free: 75.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.555, allocations: 0 / 0.8396 GB, free: 75.08 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004267/1.56, allocations: 3.108 MB / 0.8426 GB, free: 71.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.563, allocations: 469.1 kB / 0.8431 GB, free: 71.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4013/1.964, allocations: 140.4 MB / 0.9802 GB, free: 122 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004094/1.968, allocations: 3.767 MB / 0.9839 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005561/1.974, allocations: 2.176 MB / 0.986 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003139/1.977, allocations: 2.223 MB / 0.9882 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of SimCode: time 3.647e-06/1.977, allocations: 3.938 kB / 0.9882 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1479/2.125, allocations: 102.5 MB / 1.088 GB, free: 19.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/2.125, allocations: 198.2 kB / 1.088 GB, free: 19.54 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.661/6.786, allocations: 3.938 kB / 1.088 GB, free: 19.54 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat does not exist to compare? outputFormat=mat