Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.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.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR",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.001028/0.001028, allocations: 95.48 kB / 16.99 MB, free: 5.941 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.001297/0.001297, allocations: 181.1 kB / 17.87 MB, free: 5.609 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.8 MB, free: 14.63 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.1918/0.1918, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.0002812, allocations: 12.53 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1039, allocations: 61.91 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.04225/0.1461, allocations: 43.59 MB / 0.5031 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2441/0.3904, allocations: 10.22 MB / 0.513 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01017/0.4006, allocations: 205 kB / 0.5132 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007141/0.4078, allocations: 2.151 MB / 0.5153 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0184/0.4262, allocations: 5.95 MB / 0.5211 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.4295, allocations: 0.6411 MB / 0.5218 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003058/0.4326, allocations: 1.245 MB / 0.523 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00866/0.4412, allocations: 6.308 MB / 0.5291 GB, free: 7.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001207/0.4425, allocations: 0.7277 MB / 0.5299 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.4436, allocations: 1.008 MB / 0.5308 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.4438, allocations: 137.2 kB / 0.531 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.445, allocations: 0.6962 MB / 0.5316 GB, free: 6.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008175/0.4458, allocations: 1.27 MB / 0.5329 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.4463, allocations: 0.6902 MB / 0.5336 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004013/0.4504, allocations: 5.769 MB / 0.5392 GB, free: 2.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4504, allocations: 0 / 0.5392 GB, free: 2.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4504, allocations: 3 kB / 0.5392 GB, free: 2.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00015/0.4505, allocations: 0 / 0.5392 GB, free: 2.66 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.007929/0.4585, allocations: 3.792 MB / 0.5429 GB, free: 480 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4585, allocations: 8.188 kB / 0.5429 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001705/0.4603, allocations: 0.5952 MB / 0.5435 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003364/0.4636, allocations: 0.7277 MB / 0.5442 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005224/0.4689, allocations: 2.186 MB / 0.5463 GB, free: 15.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.4691, allocations: 235.8 kB / 0.5466 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.4701, allocations: 317.5 kB / 0.5469 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.4926, allocations: 9.683 MB / 0.5563 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.786e-05/0.4927, allocations: 15.88 kB / 0.5563 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004551/0.4931, allocations: 141.4 kB / 0.5565 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002051/0.4952, allocations: 1.18 MB / 0.5576 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0218/0.517, allocations: 8.908 MB / 0.5663 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04598/0.563, allocations: 27.34 MB / 0.593 GB, free: 3.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009979/0.5731, allocations: 3.116 MB / 0.5961 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/0.5866, allocations: 9.063 MB / 0.6049 GB, free: 6.453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5867, allocations: 43.56 kB / 0.605 GB, free: 6.402 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 2.765e-06/0.5867, allocations: 0 / 0.605 GB, free: 6.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=110): time 0.02395/0.6107, allocations: 7.722 MB / 0.6125 GB, free: 14.68 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.6108, allocations: 68.41 kB / 0.6126 GB, free: 14.6 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.6146, allocations: 2.592 MB / 0.6151 GB, free: 11.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.6148, allocations: 43.12 kB / 0.6151 GB, free: 11.94 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.6165, allocations: 2.147 MB / 0.6172 GB, free: 9.809 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005118/0.617, allocations: 430.8 kB / 0.6176 GB, free: 9.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.6171, allocations: 76 kB / 0.6177 GB, free: 9.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000269/0.6174, allocations: 458 kB / 0.6182 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.6195, allocations: 1.413 MB / 0.6195 GB, free: 7.449 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003365/0.6228, allocations: 3.477 MB / 0.6229 GB, free: 2.957 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/0.6258, allocations: 2.122 MB / 0.625 GB, free: 0.832 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.211e-05/0.6258, allocations: 24 kB / 0.625 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of matching and sorting (n=478) (initialization): time 0.007452/0.6333, allocations: 4.882 MB / 0.6298 GB, free: 11.92 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.928e-05/0.6334, allocations: 40.25 kB / 0.6298 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.917e-05/0.6335, allocations: 76 kB / 0.6299 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.651e-05/0.6336, allocations: 113.2 kB / 0.63 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/0.6365, allocations: 0.8851 MB / 0.6309 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001309/0.6367, allocations: 147.4 kB / 0.631 GB, free: 10.67 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/0.6389, allocations: 207.6 kB / 0.6312 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.6392, allocations: 212 kB / 0.6314 GB, free: 10.26 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 331 * Number of states: 0 () * Number of discrete variables: 59 (n1_a1.arrowLine.twoHeadedArrow,n1_a1.headAtOrigin,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.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 (476): * Single equations (assignments): 475 * Array equations: 1 * 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.00307/0.6423, allocations: 1.594 MB / 0.633 GB, free: 8.652 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/0.6428, allocations: 221.1 kB / 0.6332 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.6462, allocations: 2.094 MB / 0.6352 GB, free: 6.336 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.6463, allocations: 11.95 kB / 0.6352 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6463, allocations: 0 / 0.6352 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.6463, allocations: 11.92 kB / 0.6352 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/0.6557, allocations: 6.051 MB / 0.6412 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/0.6558, allocations: 16.03 kB / 0.6412 GB, free: 4 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009945/0.6568, allocations: 267.5 kB / 0.6414 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.213e-05/0.6568, allocations: 20 kB / 0.6414 GB, free: 15.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.6569, allocations: 36 kB / 0.6415 GB, free: 15.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.227e-05/0.6569, allocations: 27.88 kB / 0.6415 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/0.6569, allocations: 23.88 kB / 0.6415 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003232/0.6602, allocations: 3.315 MB / 0.6448 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/0.6608, allocations: 314.1 kB / 0.6451 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.661, allocations: 43.98 kB / 0.6451 GB, free: 11.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.6624, allocations: 55.95 kB / 0.6452 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.6626, allocations: 120.3 kB / 0.6453 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/0.6628, allocations: 54.12 kB / 0.6453 GB, free: 11.28 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002869/0.6657, allocations: 1.648 MB / 0.6469 GB, free: 9.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6657, allocations: 4 kB / 0.6469 GB, free: 9.613 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003421/0.6691, allocations: 0.6797 MB / 0.6476 GB, free: 8.934 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 56 * 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 (136): * Single equations (assignments): 136 * 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.005704/0.6748, allocations: 7.222 MB / 0.6547 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005779/0.6806, allocations: 3.025 MB / 0.6576 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.365e-05/0.6807, allocations: 4 kB / 0.6576 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.6819, allocations: 0.8184 MB / 0.6584 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/0.6836, allocations: 320.4 kB / 0.6587 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2757/0.9594, allocations: 61.33 MB / 0.7186 GB, free: 177.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004061/0.9635, allocations: 2.737 MB / 0.7213 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003157/0.9667, allocations: 0.9411 MB / 0.7222 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/0.9687, allocations: 1.369 MB / 0.7235 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.9687, allocations: 1.312 kB / 0.7235 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08217/1.051, allocations: 51.02 MB / 0.7734 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/1.051, allocations: 169.5 kB / 0.7735 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/4.64, allocations: 3.938 kB / 0.7735 GB, free: 139.9 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat