Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",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.0008645/0.0008644, allocations: 96.92 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.0008722/0.0008722, allocations: 183.4 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.366/1.366, allocations: 223.2 MB / 241.8 MB, free: 14.65 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.2089/0.2089, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003476, allocations: 9.812 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0296/0.1533, allocations: 29.68 MB / 0.4895 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01787/0.1713, allocations: 7.726 MB / 0.497 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005782/0.1771, allocations: 143.6 kB / 0.4972 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005348/0.1825, allocations: 1.427 MB / 0.4986 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01645/0.199, allocations: 4.352 MB / 0.5028 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.2015, allocations: 0.4952 MB / 0.5033 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2816/0.4831, allocations: 1.886 MB / 0.5051 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005797/0.489, allocations: 2.939 MB / 0.508 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.4909, allocations: 0.8606 MB / 0.5088 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.4928, allocations: 1.129 MB / 0.5099 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005091/0.4934, allocations: 118.6 kB / 0.5101 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.4952, allocations: 0.7831 MB / 0.5108 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001619/0.4968, allocations: 1.295 MB / 0.5121 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009236/0.4978, allocations: 0.7005 MB / 0.5128 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006051/0.5038, allocations: 4.434 MB / 0.5171 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5039, allocations: 1.75 kB / 0.5171 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.5039, allocations: 0 / 0.5171 GB, free: 11.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001997/0.5041, allocations: 0.6875 kB / 0.5171 GB, free: 11.09 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.008271/0.5124, allocations: 3.408 MB / 0.5204 GB, free: 9.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5124, allocations: 8.75 kB / 0.5204 GB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001204/0.5136, allocations: 0.6059 MB / 0.521 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007322/0.521, allocations: 2.112 MB / 0.5231 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/0.5266, allocations: 1.986 MB / 0.525 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002792/0.5269, allocations: 194.9 kB / 0.5252 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001951/0.5289, allocations: 256.9 kB / 0.5255 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01769/0.5466, allocations: 8.494 MB / 0.5338 GB, free: 4.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000122/0.5467, allocations: 46.2 kB / 0.5338 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000391/0.5471, allocations: 124.1 kB / 0.5339 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002466/0.5496, allocations: 1.689 MB / 0.5356 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01268/0.5623, allocations: 7.163 MB / 0.5426 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0425/0.6049, allocations: 34.23 MB / 0.576 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007504/0.6124, allocations: 3.279 MB / 0.5792 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007817/0.6203, allocations: 4.396 MB / 0.5835 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.012e-05/0.6204, allocations: 54.3 kB / 0.5835 GB, free: 12.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 5.11e-06/0.6204, allocations: 0 / 0.5835 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02845/0.6488, allocations: 11.76 MB / 0.595 GB, free: 420 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.649, allocations: 169 kB / 0.5952 GB, free: 216 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00555/0.6546, allocations: 3.823 MB / 0.5989 GB, free: 12.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000267/0.6548, allocations: 41.7 kB / 0.599 GB, free: 12.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.6567, allocations: 2.761 MB / 0.6017 GB, free: 9.609 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/0.6574, allocations: 0.5196 MB / 0.6022 GB, free: 9.094 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.6576, allocations: 112 kB / 0.6023 GB, free: 8.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003122/0.6579, allocations: 0.5291 MB / 0.6028 GB, free: 8.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.6603, allocations: 1.673 MB / 0.6044 GB, free: 6.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004383/0.6647, allocations: 5.078 MB / 0.6094 GB, free: 24 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/0.6685, allocations: 2.859 MB / 0.6122 GB, free: 13.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-05/0.6686, allocations: 36 kB / 0.6122 GB, free: 13.24 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01056/0.6791, allocations: 6.65 MB / 0.6187 GB, free: 6.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/0.6793, allocations: 63.95 kB / 0.6188 GB, free: 6.777 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/0.6794, allocations: 120 kB / 0.6189 GB, free: 6.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/0.68, allocations: 345.3 kB / 0.6192 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004018/0.6841, allocations: 1.236 MB / 0.6204 GB, free: 5.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.6865, allocations: 2.327 MB / 0.6227 GB, free: 2.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004425/0.691, allocations: 287.6 kB / 0.623 GB, free: 2.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007009/0.6917, allocations: 332.1 kB / 0.6233 GB, free: 2.016 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003142/0.6948, allocations: 1.791 MB / 0.625 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006063/0.6954, allocations: 314.2 kB / 0.6253 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.6998, allocations: 2.359 MB / 0.6276 GB, free: 13.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/0.6999, allocations: 19.52 kB / 0.6276 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.6999, allocations: 4 kB / 0.6276 GB, free: 13.51 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.6999, allocations: 8.438 kB / 0.6277 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01328/0.7132, allocations: 5.933 MB / 0.6335 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.7133, allocations: 0 / 0.6335 GB, free: 7.527 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008511/0.7141, allocations: 171.8 kB / 0.6336 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00208/0.7162, allocations: 0.7164 MB / 0.6343 GB, free: 6.641 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001652/0.7164, allocations: 23.94 kB / 0.6343 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005749/0.7222, allocations: 4.58 MB / 0.6388 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.7222, allocations: 0 / 0.6388 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007088/0.7293, allocations: 4.441 MB / 0.6431 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/0.7308, allocations: 372.9 kB / 0.6435 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008319/0.7316, allocations: 20 kB / 0.6435 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.7332, allocations: 71.5 kB / 0.6436 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002442/0.7335, allocations: 76.52 kB / 0.6437 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-05/0.7336, allocations: 28 kB / 0.6437 GB, free: 12.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004899/0.7385, allocations: 2.409 MB / 0.646 GB, free: 10.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.7385, allocations: 3.938 kB / 0.646 GB, free: 10.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006206/0.7447, allocations: 0.8437 MB / 0.6469 GB, free: 9.605 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008092/0.7529, allocations: 5.359 MB / 0.6521 GB, free: 4.184 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00762/0.7605, allocations: 3.987 MB / 0.656 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.7606, allocations: 0 / 0.656 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001726/0.7623, allocations: 1.108 MB / 0.6571 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.7647, allocations: 365.3 kB / 0.6574 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.279/1.044, allocations: 99.33 MB / 0.7544 GB, free: 98.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003307/1.047, allocations: 2.856 MB / 0.7572 GB, free: 98.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0043/1.051, allocations: 1.664 MB / 0.7588 GB, free: 98.09 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/1.053, allocations: 1.529 MB / 0.7603 GB, free: 98.08 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/1.053, allocations: 0 / 0.7603 GB, free: 98.08 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0887/1.142, allocations: 64.86 MB / 0.8237 GB, free: 52.17 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/1.142, allocations: 212.7 kB / 0.8239 GB, free: 51.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.94/5.082, allocations: 0 / 0.8239 GB, free: 51.93 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat