Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00112/0.00112, allocations: 100.6 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001429, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 45.92 MB / 344 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 63.47 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.02847/0.1535, allocations: 29.7 MB / 0.4992 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3022/0.4558, allocations: 7.735 MB / 0.5068 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007336/0.4632, allocations: 146.5 kB / 0.5069 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005799/0.469, allocations: 1.427 MB / 0.5083 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01513/0.4842, allocations: 4.345 MB / 0.5126 GB, free: 9.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.4868, allocations: 0.4912 MB / 0.5131 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005596/0.4924, allocations: 1.932 MB / 0.5149 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004819/0.4972, allocations: 2.937 MB / 0.5178 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001814/0.4991, allocations: 0.8615 MB / 0.5186 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.5012, allocations: 1.124 MB / 0.5197 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005609/0.5017, allocations: 117.7 kB / 0.5199 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.5037, allocations: 0.7694 MB / 0.5206 GB, free: 9.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.5053, allocations: 1.298 MB / 0.5219 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.5064, allocations: 0.706 MB / 0.5226 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005838/0.5122, allocations: 4.425 MB / 0.5269 GB, free: 7.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5123, allocations: 0 / 0.5269 GB, free: 7.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.5123, allocations: 0 / 0.5269 GB, free: 7.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001977/0.5125, allocations: 0 / 0.5269 GB, free: 7.066 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.009767/0.5223, allocations: 3.421 MB / 0.5302 GB, free: 4.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.5223, allocations: 9.625 kB / 0.5302 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001992/0.5243, allocations: 0.6034 MB / 0.5308 GB, free: 4.766 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007714/0.5321, allocations: 2.116 MB / 0.5329 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005214/0.5373, allocations: 1.984 MB / 0.5348 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.5375, allocations: 187.6 kB / 0.535 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008733/0.5384, allocations: 259 kB / 0.5353 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01551/0.5539, allocations: 8.517 MB / 0.5436 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.5541, allocations: 40.66 kB / 0.5436 GB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004242/0.5545, allocations: 126.2 kB / 0.5437 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00287/0.5574, allocations: 1.695 MB / 0.5454 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01527/0.5727, allocations: 7.18 MB / 0.5524 GB, free: 9.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04823/0.621, allocations: 34.23 MB / 0.5858 GB, free: 8.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007494/0.6285, allocations: 3.294 MB / 0.589 GB, free: 5.188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007557/0.6361, allocations: 4.489 MB / 0.5934 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/0.6362, allocations: 51.06 kB / 0.5935 GB, free: 460 kB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.368e-06/0.6362, allocations: 4 kB / 0.5935 GB, free: 456 kB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02816/0.6644, allocations: 11.82 MB / 0.605 GB, free: 4.426 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.455e-05/0.6645, allocations: 171.1 kB / 0.6052 GB, free: 4.223 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004896/0.6694, allocations: 3.823 MB / 0.6089 GB, free: 420 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.6696, allocations: 45.7 kB / 0.609 GB, free: 368 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001817/0.6715, allocations: 2.774 MB / 0.6117 GB, free: 13.67 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004819/0.672, allocations: 0.5162 MB / 0.6122 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.6722, allocations: 108 kB / 0.6123 GB, free: 13.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002924/0.6725, allocations: 0.5292 MB / 0.6128 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.6747, allocations: 1.681 MB / 0.6144 GB, free: 10.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.6788, allocations: 5.085 MB / 0.6194 GB, free: 4.027 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003349/0.6821, allocations: 2.864 MB / 0.6222 GB, free: 1.176 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.066e-05/0.6822, allocations: 36 kB / 0.6222 GB, free: 1.141 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008907/0.6911, allocations: 6.672 MB / 0.6288 GB, free: 10.46 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/0.6912, allocations: 56 kB / 0.6288 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/0.6913, allocations: 124 kB / 0.6289 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000574/0.6919, allocations: 336.7 kB / 0.6292 GB, free: 9.949 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003242/0.6952, allocations: 1.244 MB / 0.6305 GB, free: 8.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.6974, allocations: 2.325 MB / 0.6327 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003549/0.701, allocations: 301.2 kB / 0.633 GB, free: 5.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004618/0.7015, allocations: 328 kB / 0.6333 GB, free: 5.633 MB / 478.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.002937/0.7044, allocations: 1.792 MB / 0.6351 GB, free: 3.828 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005118/0.7049, allocations: 308 kB / 0.6354 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.7093, allocations: 2.367 MB / 0.6377 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.13e-05/0.7094, allocations: 16 kB / 0.6377 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.7094, allocations: 3.984 kB / 0.6377 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.7094, allocations: 11.97 kB / 0.6377 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.721, allocations: 5.944 MB / 0.6435 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.445e-06/0.7211, allocations: 0 / 0.6435 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/0.7218, allocations: 171.8 kB / 0.6437 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/0.7239, allocations: 0.7168 MB / 0.6444 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.724, allocations: 27.94 kB / 0.6444 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005288/0.7293, allocations: 4.565 MB / 0.6489 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.7293, allocations: 7.938 kB / 0.6489 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006363/0.7357, allocations: 4.454 MB / 0.6532 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/0.7369, allocations: 372.9 kB / 0.6536 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/0.7373, allocations: 23.95 kB / 0.6536 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.7384, allocations: 83.02 kB / 0.6537 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.7386, allocations: 74.25 kB / 0.6538 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.332e-05/0.7387, allocations: 35.98 kB / 0.6538 GB, free: 424 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004221/0.743, allocations: 2.405 MB / 0.6561 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.51e-07/0.743, allocations: 0 / 0.6561 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005409/0.7484, allocations: 0.832 MB / 0.6569 GB, free: 13.19 MB / 0.4981 GB 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.007558/0.756, allocations: 5.379 MB / 0.6622 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007179/0.7632, allocations: 4.012 MB / 0.6661 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.7633, allocations: 1.438 kB / 0.6661 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.7648, allocations: 1.119 MB / 0.6672 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.7668, allocations: 360.8 kB / 0.6676 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3314/1.098, allocations: 99.33 MB / 0.7646 GB, free: 114.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00531/1.104, allocations: 2.855 MB / 0.7674 GB, free: 113.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004897/1.109, allocations: 1.66 MB / 0.769 GB, free: 113.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002557/1.111, allocations: 1.528 MB / 0.7705 GB, free: 113.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.61e-07/1.111, allocations: 4.969 kB / 0.7705 GB, free: 113.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08952/1.201, allocations: 64.67 MB / 0.8336 GB, free: 66.94 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/1.201, allocations: 216.5 kB / 0.8338 GB, free: 66.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.002/5.203, allocations: 0 / 0.8338 GB, free: 66.69 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat does not exist to compare? outputFormat=mat