Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.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 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 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 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.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS",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.0008772/0.0008776, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009555/0.0009555, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3909/0.3909, allocations: 43.55 MB / 314.6 MB, free: 8.77 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004972, allocations: 16 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1257, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2475/0.3733, allocations: 24.02 MB / 466.9 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.3846, allocations: 5.226 MB / 472.1 MB, free: 34.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005103/0.3897, allocations: 101.5 kB / 472.2 MB, free: 34.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002765/0.3925, allocations: 1.064 MB / 473.3 MB, free: 34.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006952/0.3995, allocations: 2.991 MB / 476.3 MB, free: 32.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008876/0.4004, allocations: 341.3 kB / 476.6 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.4017, allocations: 1.578 MB / 478.2 MB, free: 32.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.4034, allocations: 1.701 MB / 479.9 MB, free: 31.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.4038, allocations: 0.49 MB / 480.4 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007112/0.4045, allocations: 0.7743 MB / 481.2 MB, free: 30.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.4046, allocations: 65.72 kB / 481.2 MB, free: 30.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.4053, allocations: 457 kB / 481.7 MB, free: 30.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005999/0.4059, allocations: 0.7189 MB / 482.4 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.4061, allocations: 372.4 kB / 482.8 MB, free: 30.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.4074, allocations: 2.14 MB / 484.9 MB, free: 29.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4074, allocations: 0 / 484.9 MB, free: 29.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4074, allocations: 0 / 484.9 MB, free: 29.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.098e-05/0.4074, allocations: 0 / 484.9 MB, free: 29.82 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.002933/0.4104, allocations: 2.058 MB / 486.9 MB, free: 28.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4104, allocations: 10.62 kB / 487 MB, free: 28.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000421/0.4108, allocations: 344.5 kB / 487.3 MB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.4119, allocations: 277.1 kB / 487.6 MB, free: 28.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.413, allocations: 0.8684 MB / 488.4 MB, free: 27.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.385e-05/0.413, allocations: 107.6 kB / 488.5 MB, free: 27.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.4132, allocations: 148 kB / 488.7 MB, free: 27.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007192/0.4204, allocations: 4.904 MB / 493.6 MB, free: 25.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.168e-05/0.4205, allocations: 13.47 kB / 493.6 MB, free: 25.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001383/0.4206, allocations: 70.03 kB / 493.7 MB, free: 25.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001745/0.4224, allocations: 0.9988 MB / 494.7 MB, free: 25.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008003/0.4304, allocations: 3.802 MB / 498.5 MB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01999/0.4504, allocations: 16.4 MB / 0.5028 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.4541, allocations: 1.269 MB / 0.504 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000742/0.4548, allocations: 0.7104 MB / 0.5047 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004084/0.4589, allocations: 4.032 MB / 0.5087 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.459, allocations: 41.09 kB / 0.5087 GB, free: 8.988 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.064e-06/0.459, allocations: 0 / 0.5087 GB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.005541/0.4645, allocations: 1.787 MB / 0.5105 GB, free: 8.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.4646, allocations: 107.2 kB / 0.5106 GB, free: 8.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/0.4664, allocations: 1.595 MB / 0.5121 GB, free: 7.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.4664, allocations: 32.64 kB / 0.5121 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006002/0.467, allocations: 1.397 MB / 0.5135 GB, free: 5.883 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.4671, allocations: 183.4 kB / 0.5137 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.4672, allocations: 53.69 kB / 0.5137 GB, free: 5.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4674, allocations: 460.8 kB / 0.5142 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/0.468, allocations: 0.5041 MB / 0.5147 GB, free: 5.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.4692, allocations: 2.047 MB / 0.5167 GB, free: 2.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.4703, allocations: 0.9665 MB / 0.5176 GB, free: 1.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/0.4703, allocations: 16 kB / 0.5176 GB, free: 1.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003012/0.4733, allocations: 2.439 MB / 0.52 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.4734, allocations: 32.06 kB / 0.52 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.565e-05/0.4734, allocations: 56 kB / 0.5201 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.611e-05/0.4735, allocations: 80.09 kB / 0.5202 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.4749, allocations: 0.5497 MB / 0.5207 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.011e-05/0.475, allocations: 107.6 kB / 0.5208 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.4765, allocations: 332.4 kB / 0.5211 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.4767, allocations: 144 kB / 0.5213 GB, free: 14 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],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 (295): * Single equations (assignments): 295 * 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.001341/0.478, allocations: 0.875 MB / 0.5221 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.4782, allocations: 134.2 kB / 0.5222 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.4785, allocations: 153.6 kB / 0.5224 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.4785, allocations: 4 kB / 0.5224 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4785, allocations: 0 / 0.5224 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4785, allocations: 3.984 kB / 0.5224 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004813/0.4833, allocations: 3.279 MB / 0.5256 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.4834, allocations: 12 kB / 0.5256 GB, free: 9.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.4837, allocations: 99.83 kB / 0.5257 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.929e-05/0.4837, allocations: 24.03 kB / 0.5257 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.4838, allocations: 24 kB / 0.5258 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.648e-05/0.4838, allocations: 24.98 kB / 0.5258 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-05/0.4838, allocations: 19.88 kB / 0.5258 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4848, allocations: 0.893 MB / 0.5267 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002993/0.4851, allocations: 227.2 kB / 0.5269 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.4853, allocations: 31.92 kB / 0.5269 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.4857, allocations: 27.98 kB / 0.5269 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.4858, allocations: 67.73 kB / 0.527 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-05/0.4858, allocations: 32 kB / 0.527 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.4872, allocations: 0.9789 MB / 0.528 GB, free: 6.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4872, allocations: 0 / 0.528 GB, free: 6.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002174/0.4894, allocations: 485.9 kB / 0.5285 GB, free: 6.191 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.001386/0.4908, allocations: 1.473 MB / 0.5299 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.4929, allocations: 1.26 MB / 0.5311 GB, free: 3.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4929, allocations: 4 kB / 0.5311 GB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.4932, allocations: 242.4 kB / 0.5314 GB, free: 3.047 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.4941, allocations: 186.2 kB / 0.5315 GB, free: 2.867 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01599/0.5101, allocations: 11 MB / 0.5423 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.5117, allocations: 1.702 MB / 0.5439 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00162/0.5133, allocations: 0.6256 MB / 0.5446 GB, free: 4.238 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/0.5142, allocations: 0.7414 MB / 0.5453 GB, free: 3.496 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5142, allocations: 3.938 kB / 0.5453 GB, free: 3.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.047/0.5612, allocations: 25.88 MB / 0.5706 GB, free: 9.676 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.5615, allocations: 174.3 kB / 0.5707 GB, free: 9.438 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/2.772, allocations: 64 / 0.5707 GB, free: 9.438 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUPS.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat does not exist to compare? outputFormat=mat