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.001056/0.001057, allocations: 96.36 kB / 15.68 MB, free: 488 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.001187/0.001187, allocations: 176.8 kB / 16.57 MB, free: 6.379 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.731/1.731, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.4648/0.4648, allocations: 43.54 MB / 314.5 MB, free: 8.742 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.000589/0.0005892, allocations: 19.98 kB / 384 MB, free: 7.938 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1351, allocations: 58.84 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2785/0.4137, allocations: 22.76 MB / 465.6 MB, free: 35.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.4262, allocations: 5.44 MB / 471 MB, free: 34.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004669/0.431, allocations: 101.2 kB / 471.1 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003569/0.4346, allocations: 1.075 MB / 472.2 MB, free: 33.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009804/0.4444, allocations: 3.155 MB / 475.4 MB, free: 33.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.446, allocations: 299.9 kB / 475.7 MB, free: 32.96 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001483/0.4475, allocations: 0.7664 MB / 476.4 MB, free: 32.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.4495, allocations: 1.692 MB / 478.1 MB, free: 31.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005343/0.4501, allocations: 408.5 kB / 478.5 MB, free: 31.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006702/0.4507, allocations: 0.5522 MB / 479.1 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.4509, allocations: 63.72 kB / 479.1 MB, free: 31.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000711/0.4516, allocations: 430.8 kB / 479.5 MB, free: 31.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.4521, allocations: 0.673 MB / 480.2 MB, free: 31.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.4524, allocations: 365 kB / 480.6 MB, free: 30.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.4544, allocations: 2.148 MB / 482.7 MB, free: 30.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4544, allocations: 0 / 482.7 MB, free: 30.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4544, allocations: 0 / 482.7 MB, free: 30.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.251e-05/0.4545, allocations: 0 / 482.7 MB, free: 30.52 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.004374/0.4589, allocations: 2.144 MB / 484.9 MB, free: 29.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.4589, allocations: 14.06 kB / 484.9 MB, free: 29.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003949/0.4593, allocations: 355 kB / 485.2 MB, free: 29.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.4605, allocations: 272.7 kB / 485.5 MB, free: 29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00158/0.4621, allocations: 0.8642 MB / 486.4 MB, free: 28.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/0.4622, allocations: 107.6 kB / 486.5 MB, free: 28.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.4624, allocations: 155 kB / 486.6 MB, free: 28.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009474/0.4719, allocations: 4.983 MB / 491.6 MB, free: 26.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.472, allocations: 9.125 kB / 491.6 MB, free: 26.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.4722, allocations: 74.67 kB / 491.7 MB, free: 26.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/0.4747, allocations: 0.9984 MB / 492.7 MB, free: 26.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/0.4861, allocations: 3.896 MB / 496.6 MB, free: 24.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02378/0.51, allocations: 16.43 MB / 0.501 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004278/0.5143, allocations: 1.294 MB / 0.5022 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005946/0.5203, allocations: 4.083 MB / 0.5062 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.5204, allocations: 43.12 kB / 0.5063 GB, free: 10.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.945e-06/0.5204, allocations: 0 / 0.5063 GB, free: 10.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.006392/0.5268, allocations: 1.778 MB / 0.508 GB, free: 9.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.5269, allocations: 111.2 kB / 0.5081 GB, free: 9.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/0.5292, allocations: 1.592 MB / 0.5097 GB, free: 8.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.5293, allocations: 36.42 kB / 0.5097 GB, free: 8.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006561/0.5299, allocations: 1.397 MB / 0.5111 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.5301, allocations: 184.4 kB / 0.5112 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.34e-05/0.5301, allocations: 49.09 kB / 0.5113 GB, free: 7.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5303, allocations: 456.4 kB / 0.5117 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006758/0.531, allocations: 0.5083 MB / 0.5122 GB, free: 6.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.5322, allocations: 2.047 MB / 0.5142 GB, free: 4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.5333, allocations: 0.9618 MB / 0.5152 GB, free: 3.504 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/0.5333, allocations: 21.97 kB / 0.5152 GB, free: 3.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.003125/0.5365, allocations: 2.431 MB / 0.5176 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.5365, allocations: 32.19 kB / 0.5176 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/0.5365, allocations: 56 kB / 0.5176 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.935e-05/0.5366, allocations: 84 kB / 0.5177 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.5379, allocations: 0.5419 MB / 0.5182 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.622e-05/0.538, allocations: 107.6 kB / 0.5184 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.5395, allocations: 336.4 kB / 0.5187 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.5396, allocations: 148 kB / 0.5188 GB, free: 296 kB / 382.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.001293/0.5409, allocations: 0.8674 MB / 0.5197 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.5411, allocations: 138.2 kB / 0.5198 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.5414, allocations: 153.6 kB / 0.5199 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5414, allocations: 4 kB / 0.5199 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.5414, allocations: 0 / 0.5199 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.5414, allocations: 7.984 kB / 0.5199 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004831/0.5463, allocations: 3.275 MB / 0.5231 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.5463, allocations: 15.95 kB / 0.5232 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.5466, allocations: 108.5 kB / 0.5233 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.289e-05/0.5466, allocations: 16 kB / 0.5233 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.5467, allocations: 24 kB / 0.5233 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.052e-05/0.5467, allocations: 30.44 kB / 0.5233 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/0.5467, allocations: 15.94 kB / 0.5233 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.5482, allocations: 1.66 MB / 0.525 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/0.5486, allocations: 223.2 kB / 0.5252 GB, free: 8.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.5488, allocations: 31.98 kB / 0.5252 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.5492, allocations: 20 kB / 0.5252 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.5493, allocations: 75.66 kB / 0.5253 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.5493, allocations: 28 kB / 0.5253 GB, free: 8.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.5507, allocations: 0.9789 MB / 0.5263 GB, free: 7.832 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5507, allocations: 0 / 0.5263 GB, free: 7.832 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002105/0.5528, allocations: 489.9 kB / 0.5268 GB, free: 7.352 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.003418/0.5562, allocations: 5.656 MB / 0.5323 GB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002348/0.5586, allocations: 1.261 MB / 0.5335 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.5586, allocations: 4.062 kB / 0.5335 GB, free: 56 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.559, allocations: 242.4 kB / 0.5337 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009453/0.5599, allocations: 170.1 kB / 0.5339 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03485/0.5948, allocations: 48.96 MB / 0.5817 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.5965, allocations: 1.749 MB / 0.5834 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001673/0.5982, allocations: 0.6178 MB / 0.584 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008234/0.599, allocations: 0.7453 MB / 0.5848 GB, free: 9.922 MB / 462.1 MB Notification: Performance of SimCode: time 1.292e-06/0.5991, allocations: 0 / 0.5848 GB, free: 9.922 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04903/0.6481, allocations: 25.85 MB / 0.61 GB, free: 148 kB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.6483, allocations: 173.5 kB / 0.6102 GB, free: 15.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.978, allocations: 3.938 kB / 0.6102 GB, free: 15.89 MB / 494.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