Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_3_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.0008931/0.0008931, allocations: 96.7 kB / 15.7 MB, free: 468 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.001012/0.001012, allocations: 172.2 kB / 16.58 MB, free: 6.844 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.365/1.365, allocations: 205.4 MB / 222.8 MB, free: 5.664 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.3456/0.3456, allocations: 43.54 MB / 314.6 MB, free: 8.836 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.0005296/0.0005298, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1282, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointRRR): time 0.2515/0.3797, allocations: 47.7 MB / 490.6 MB, free: 21.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02127/0.401, allocations: 9.944 MB / 0.4888 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01162/0.4127, allocations: 211 kB / 0.489 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00695/0.4197, allocations: 2.262 MB / 0.4912 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01848/0.4382, allocations: 6.303 MB / 0.4973 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003678/0.4419, allocations: 0.6787 MB / 0.498 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005773/0.4477, allocations: 3.389 MB / 0.5013 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01033/0.458, allocations: 6.468 MB / 0.5076 GB, free: 6.609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00224/0.4603, allocations: 1.021 MB / 0.5086 GB, free: 6.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.4634, allocations: 1.608 MB / 0.5102 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005142/0.4639, allocations: 150.6 kB / 0.5103 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.4659, allocations: 0.7078 MB / 0.511 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.4676, allocations: 1.517 MB / 0.5125 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.4687, allocations: 0.7836 MB / 0.5133 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006047/0.4747, allocations: 6.189 MB / 0.5193 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4747, allocations: 0 / 0.5193 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4748, allocations: 0 / 0.5193 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002249/0.475, allocations: 0 / 0.5193 GB, free: 15.91 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01041/0.4854, allocations: 3.949 MB / 0.5232 GB, free: 13.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4855, allocations: 7.75 kB / 0.5232 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002004/0.4875, allocations: 0.685 MB / 0.5239 GB, free: 12.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002971/0.4905, allocations: 0.6609 MB / 0.5245 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.4951, allocations: 2.247 MB / 0.5267 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.4953, allocations: 266.9 kB / 0.527 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005673/0.4959, allocations: 359.8 kB / 0.5273 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.5162, allocations: 10.48 MB / 0.5375 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/0.5163, allocations: 15.88 kB / 0.5375 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/0.5166, allocations: 155.9 kB / 0.5377 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00269/0.5193, allocations: 1.647 MB / 0.5393 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.5383, allocations: 9.142 MB / 0.5482 GB, free: 3.773 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04287/0.5812, allocations: 30.74 MB / 0.5782 GB, free: 4.406 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009852/0.5912, allocations: 3.103 MB / 0.5813 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002511/0.5937, allocations: 1.653 MB / 0.5829 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/0.607, allocations: 9.316 MB / 0.592 GB, free: 5.801 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.6071, allocations: 43.56 kB / 0.592 GB, free: 5.75 MB / 462.1 MB Notification: Performance of pre-optimization done (n=91): time 5.199e-06/0.6072, allocations: 0 / 0.592 GB, free: 5.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=108): time 0.02557/0.6327, allocations: 8.977 MB / 0.6008 GB, free: 12.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.6329, allocations: 123.7 kB / 0.6009 GB, free: 12.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004957/0.6378, allocations: 2.871 MB / 0.6037 GB, free: 9.703 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.638, allocations: 45.7 kB / 0.6038 GB, free: 9.652 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001942/0.64, allocations: 2.505 MB / 0.6062 GB, free: 7.117 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.6405, allocations: 434.6 kB / 0.6066 GB, free: 6.688 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/0.6408, allocations: 84 kB / 0.6067 GB, free: 6.605 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003067/0.6411, allocations: 482.8 kB / 0.6072 GB, free: 6.125 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.6435, allocations: 1.472 MB / 0.6086 GB, free: 4.645 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004036/0.6475, allocations: 3.816 MB / 0.6123 GB, free: 15.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00343/0.651, allocations: 2.266 MB / 0.6145 GB, free: 13.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.519e-05/0.6511, allocations: 24 kB / 0.6146 GB, free: 13.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.008513/0.6596, allocations: 5.246 MB / 0.6197 GB, free: 8.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.554e-05/0.6597, allocations: 40.22 kB / 0.6197 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/0.6599, allocations: 91.98 kB / 0.6198 GB, free: 7.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001308/0.66, allocations: 120 kB / 0.6199 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003123/0.6631, allocations: 0.9942 MB / 0.6209 GB, free: 6.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001503/0.6633, allocations: 163.4 kB / 0.6211 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002724/0.666, allocations: 227.5 kB / 0.6213 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/0.6664, allocations: 236 kB / 0.6215 GB, free: 6.246 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 376 * Number of states: 0 () * Number of discrete variables: 49 (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 (524): * Single equations (assignments): 523 * 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.003119/0.6696, allocations: 1.77 MB / 0.6232 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/0.6701, allocations: 240.8 kB / 0.6235 GB, free: 4.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.6735, allocations: 2.057 MB / 0.6255 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.6736, allocations: 12 kB / 0.6255 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.6736, allocations: 0 / 0.6255 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.6736, allocations: 11.97 kB / 0.6255 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2456/0.9192, allocations: 6.655 MB / 0.632 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.9192, allocations: 11.81 kB / 0.632 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/0.9201, allocations: 254.7 kB / 0.6322 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.082e-05/0.9201, allocations: 21.59 kB / 0.6323 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/0.9202, allocations: 39.28 kB / 0.6323 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.862e-05/0.9202, allocations: 29.06 kB / 0.6323 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/0.9202, allocations: 20.59 kB / 0.6323 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002312/0.9226, allocations: 2.197 MB / 0.6345 GB, free: 138.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006171/0.9232, allocations: 335.2 kB / 0.6348 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.9234, allocations: 47.45 kB / 0.6349 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/0.9243, allocations: 63.81 kB / 0.6349 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.9244, allocations: 122.1 kB / 0.635 GB, free: 138.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/0.9245, allocations: 48.03 kB / 0.6351 GB, free: 138.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002354/0.9268, allocations: 1.826 MB / 0.6369 GB, free: 138.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.9268, allocations: 3.375 kB / 0.6369 GB, free: 138.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003095/0.9299, allocations: 0.7461 MB / 0.6376 GB, free: 138.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * 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 (134): * Single equations (assignments): 134 * 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.002479/0.9324, allocations: 2.819 MB / 0.6403 GB, free: 136.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004111/0.9366, allocations: 3.179 MB / 0.6434 GB, free: 135.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.9366, allocations: 0 / 0.6434 GB, free: 135.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.9374, allocations: 0.8069 MB / 0.6442 GB, free: 135.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.939, allocations: 313.8 kB / 0.6445 GB, free: 135.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04089/0.9799, allocations: 23.95 MB / 0.6679 GB, free: 119.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004457/0.9844, allocations: 2.959 MB / 0.6708 GB, free: 118.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003245/0.9876, allocations: 1.019 MB / 0.6718 GB, free: 118.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002542/0.9902, allocations: 1.61 MB / 0.6734 GB, free: 117 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.9902, allocations: 5.188 kB / 0.6734 GB, free: 117 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09462/1.085, allocations: 56.09 MB / 0.7282 GB, free: 74.27 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.085, allocations: 178.4 kB / 0.7283 GB, free: 74.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.456/4.541, allocations: 0 / 0.7283 GB, free: 74.02 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat