Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR",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.001048/0.001048, 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.0009904/0.0009904, allocations: 173.9 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.381/1.381, allocations: 205.4 MB / 222.7 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.3381/0.3381, allocations: 43.54 MB / 314.6 MB, free: 8.762 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.0004766/0.0004767, allocations: 19.98 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.2491/0.3707, allocations: 43.09 MB / 486 MB, free: 24.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.3896, allocations: 8.992 MB / 495 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009667/0.3993, allocations: 189.6 kB / 495.1 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006632/0.406, allocations: 2.065 MB / 497.2 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01682/0.4228, allocations: 5.764 MB / 0.4912 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003621/0.4265, allocations: 0.6648 MB / 0.4918 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005087/0.4316, allocations: 3.087 MB / 0.4948 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007926/0.4395, allocations: 5.207 MB / 0.4999 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.4416, allocations: 0.9758 MB / 0.5009 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002304/0.4439, allocations: 1.464 MB / 0.5023 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004093/0.4443, allocations: 130.5 kB / 0.5024 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.4461, allocations: 0.6738 MB / 0.5031 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.4475, allocations: 1.36 MB / 0.5044 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008509/0.4484, allocations: 0.7052 MB / 0.5051 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005539/0.4539, allocations: 5.032 MB / 0.51 GB, free: 6.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.454, allocations: 4 kB / 0.51 GB, free: 6.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.454, allocations: 4 kB / 0.51 GB, free: 6.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002076/0.4542, allocations: 1.188 kB / 0.51 GB, free: 6.691 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: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.009914/0.4641, allocations: 3.599 MB / 0.5135 GB, free: 4.184 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.4642, allocations: 9.625 kB / 0.5136 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002135/0.4663, allocations: 0.6329 MB / 0.5142 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002577/0.4689, allocations: 0.5922 MB / 0.5148 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.4723, allocations: 1.834 MB / 0.5165 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.4724, allocations: 239.7 kB / 0.5168 GB, free: 2.035 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005055/0.473, allocations: 314.6 kB / 0.5171 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01733/0.4903, allocations: 9.204 MB / 0.5261 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-05/0.4904, allocations: 19.81 kB / 0.5261 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/0.4908, allocations: 143.9 kB / 0.5262 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002696/0.4935, allocations: 1.584 MB / 0.5278 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/0.5115, allocations: 7.442 MB / 0.535 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03895/0.5505, allocations: 28 MB / 0.5624 GB, free: 4.574 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006937/0.5575, allocations: 2.334 MB / 0.5647 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001462/0.559, allocations: 1.1 MB / 0.5657 GB, free: 1.082 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009577/0.5686, allocations: 7.618 MB / 0.5732 GB, free: 8.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.5687, allocations: 47.22 kB / 0.5732 GB, free: 8.836 MB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 3.877e-06/0.5687, allocations: 0 / 0.5732 GB, free: 8.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=97): time 0.01875/0.5874, allocations: 7.168 MB / 0.5802 GB, free: 1.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.5876, allocations: 141.5 kB / 0.5803 GB, free: 1.453 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003458/0.591, allocations: 2.643 MB / 0.5829 GB, free: 14.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.5912, allocations: 41.7 kB / 0.583 GB, free: 14.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.5928, allocations: 2.419 MB / 0.5853 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.5932, allocations: 399.1 kB / 0.5857 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.5934, allocations: 80.03 kB / 0.5858 GB, free: 11.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002576/0.5937, allocations: 474.3 kB / 0.5862 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.5953, allocations: 1.07 MB / 0.5873 GB, free: 10.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/0.5985, allocations: 3.479 MB / 0.5907 GB, free: 5.609 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002746/0.6012, allocations: 1.849 MB / 0.5925 GB, free: 3.762 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.482e-05/0.6013, allocations: 31.94 kB / 0.5925 GB, free: 3.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=499) (initialization): time 0.006981/0.6083, allocations: 4.43 MB / 0.5968 GB, free: 15.29 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.851e-05/0.6083, allocations: 44 kB / 0.5969 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.429e-05/0.6084, allocations: 84 kB / 0.597 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001284/0.6086, allocations: 128 kB / 0.5971 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00268/0.6113, allocations: 0.9475 MB / 0.598 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001505/0.6114, allocations: 163.7 kB / 0.5982 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/0.6141, allocations: 195.8 kB / 0.5984 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003344/0.6144, allocations: 236 kB / 0.5986 GB, free: 13.51 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 390 * Number of states: 0 () * Number of discrete variables: 43 (jointUSR.revolute.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],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 (499): * Single equations (assignments): 499 * 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.003032/0.6175, allocations: 1.593 MB / 0.6001 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/0.6179, allocations: 241 kB / 0.6004 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002265/0.6202, allocations: 1.381 MB / 0.6017 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.6202, allocations: 15.94 kB / 0.6017 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/0.6202, allocations: 4 kB / 0.6017 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.6202, allocations: 3.984 kB / 0.6017 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.6303, allocations: 6.024 MB / 0.6076 GB, free: 3.926 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/0.6304, allocations: 24.05 kB / 0.6076 GB, free: 3.902 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/0.6311, allocations: 219.6 kB / 0.6079 GB, free: 3.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-05/0.6312, allocations: 24 kB / 0.6079 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.77e-05/0.6312, allocations: 36 kB / 0.6079 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.507e-05/0.6313, allocations: 27.92 kB / 0.6079 GB, free: 3.602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.829e-05/0.6313, allocations: 23.88 kB / 0.608 GB, free: 3.578 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002261/0.6335, allocations: 1.796 MB / 0.6097 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/0.6343, allocations: 329.8 kB / 0.61 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.6345, allocations: 43.98 kB / 0.6101 GB, free: 1.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007172/0.6352, allocations: 39.98 kB / 0.6101 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.6354, allocations: 128.1 kB / 0.6102 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.774e-05/0.6355, allocations: 48 kB / 0.6103 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002642/0.6381, allocations: 1.681 MB / 0.6119 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6381, allocations: 0 / 0.6119 GB, free: 15.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00368/0.6418, allocations: 0.6719 MB / 0.6126 GB, free: 14.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (122): * Single equations (assignments): 122 * 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.003043/0.6449, allocations: 2.42 MB / 0.6149 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004659/0.6495, allocations: 2.495 MB / 0.6174 GB, free: 9.477 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.6496, allocations: 4 kB / 0.6174 GB, free: 9.473 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.6504, allocations: 0.5735 MB / 0.6179 GB, free: 8.898 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.6525, allocations: 322.8 kB / 0.6182 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2376/0.8901, allocations: 21.39 MB / 0.6391 GB, free: 137.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002451/0.8926, allocations: 2.736 MB / 0.6418 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002597/0.8952, allocations: 1.042 MB / 0.6428 GB, free: 136.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0015/0.8967, allocations: 1.463 MB / 0.6443 GB, free: 135.8 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.8967, allocations: 2.531 kB / 0.6443 GB, free: 135.8 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09392/0.9907, allocations: 50.13 MB / 0.6932 GB, free: 111.8 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.9909, allocations: 182.3 kB / 0.6934 GB, free: 111.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/4.22, allocations: 0 / 0.6934 GB, free: 111.6 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointUSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSR_res.mat does not exist to compare? outputFormat=mat