Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.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.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008347/0.0008347, allocations: 98.2 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008541/0.0008542, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2048/0.2048, allocations: 45.92 MB / 344.1 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 8 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1392, allocations: 63.47 MB / 481.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03433/0.1736, allocations: 34.31 MB / 0.5039 GB, free: 2.871 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2861/0.4598, allocations: 7.799 MB / 0.5115 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007728/0.4676, allocations: 156.2 kB / 0.5116 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006485/0.4741, allocations: 1.665 MB / 0.5132 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01818/0.4923, allocations: 5.024 MB / 0.5182 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.4952, allocations: 472.4 kB / 0.5186 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007113/0.5023, allocations: 4.242 MB / 0.5227 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005371/0.5078, allocations: 3.027 MB / 0.5257 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.5103, allocations: 1.125 MB / 0.5268 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003477/0.5138, allocations: 1.848 MB / 0.5286 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006614/0.5145, allocations: 147.6 kB / 0.5287 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.5166, allocations: 0.7622 MB / 0.5295 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001744/0.5183, allocations: 1.579 MB / 0.531 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.5196, allocations: 0.8189 MB / 0.5318 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.5249, allocations: 5.288 MB / 0.537 GB, free: 2.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.525, allocations: 5.203 kB / 0.537 GB, free: 2.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.525, allocations: 0 / 0.537 GB, free: 2.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002432/0.5252, allocations: 0 / 0.537 GB, free: 2.793 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: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.008173/0.5334, allocations: 3.795 MB / 0.5407 GB, free: 448 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5335, allocations: 9 kB / 0.5407 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001305/0.5348, allocations: 0.7551 MB / 0.5415 GB, free: 216 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.5448, allocations: 3.227 MB / 0.5446 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005531/0.5504, allocations: 2.301 MB / 0.5468 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.5506, allocations: 218.5 kB / 0.5471 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.5517, allocations: 287.5 kB / 0.5473 GB, free: 12.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02124/0.5729, allocations: 11.09 MB / 0.5582 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.954e-05/0.5731, allocations: 30.59 kB / 0.5582 GB, free: 4.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/0.5735, allocations: 135.1 kB / 0.5583 GB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004138/0.5776, allocations: 2.625 MB / 0.5609 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02151/0.5992, allocations: 10.35 MB / 0.571 GB, free: 7.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07963/0.6788, allocations: 36.67 MB / 0.6068 GB, free: 2.547 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.6942, allocations: 4.578 MB / 0.6113 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005965/0.7002, allocations: 2.392 MB / 0.6136 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002098/0.7024, allocations: 1.313 MB / 0.6149 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.259e-05/0.7025, allocations: 52.56 kB / 0.6149 GB, free: 9.766 MB / 462.1 MB Notification: Performance of pre-optimization done (n=242): time 8.566e-06/0.7025, allocations: 4 kB / 0.6149 GB, free: 9.762 MB / 462.1 MB Notification: Performance of matching and sorting (n=254): time 0.04866/0.7512, allocations: 17.53 MB / 0.6321 GB, free: 8.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.7513, allocations: 77.41 kB / 0.6321 GB, free: 8.094 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005264/0.7566, allocations: 2.727 MB / 0.6348 GB, free: 5.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004192/0.757, allocations: 60.44 kB / 0.6349 GB, free: 5.293 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002241/0.7593, allocations: 2.777 MB / 0.6376 GB, free: 2.527 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001387/0.7607, allocations: 0.9134 MB / 0.6385 GB, free: 1.621 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000591/0.7613, allocations: 106.3 kB / 0.6386 GB, free: 1.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0005702/0.7618, allocations: 0.5373 MB / 0.6391 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004183/0.766, allocations: 2.292 MB / 0.6413 GB, free: 14.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007335/0.7734, allocations: 5.19 MB / 0.6464 GB, free: 8.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/0.7794, allocations: 3.435 MB / 0.6497 GB, free: 4.633 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/0.7796, allocations: 32 kB / 0.6498 GB, free: 4.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01733/0.7969, allocations: 8.226 MB / 0.6578 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.7971, allocations: 48 kB / 0.6579 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001959/0.7973, allocations: 104 kB / 0.658 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002688/0.8, allocations: 0.9411 MB / 0.6589 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004425/0.8044, allocations: 1.228 MB / 0.6601 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/0.8109, allocations: 4.806 MB / 0.6648 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003783/0.8147, allocations: 303.7 kB / 0.6651 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009911/0.8157, allocations: 308 kB / 0.6654 GB, free: 4.512 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (653): * Single equations (assignments): 646 * Array equations: 6 * 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 {(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004985/0.8207, allocations: 2.154 MB / 0.6675 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/0.8214, allocations: 272.4 kB / 0.6677 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009925/0.8314, allocations: 5.116 MB / 0.6727 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.868e-05/0.8315, allocations: 48 kB / 0.6728 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.8315, allocations: 4 kB / 0.6728 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/0.8315, allocations: 11.95 kB / 0.6728 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0227/0.8542, allocations: 11.88 MB / 0.6844 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-05/0.8543, allocations: 12 kB / 0.6844 GB, free: 0.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.856, allocations: 399.3 kB / 0.6848 GB, free: 452 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00229/0.8583, allocations: 0.7777 MB / 0.6855 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002412/0.8586, allocations: 47.98 kB / 0.6856 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005672/0.8642, allocations: 4.083 MB / 0.6896 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/0.8643, allocations: 15.94 kB / 0.6896 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.8771, allocations: 7.595 MB / 0.697 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009838/0.8781, allocations: 337.4 kB / 0.6973 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006756/0.8788, allocations: 51.98 kB / 0.6974 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.8801, allocations: 146.7 kB / 0.6975 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003245/0.8805, allocations: 152.9 kB / 0.6976 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.8807, allocations: 71.98 kB / 0.6977 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002738/0.8834, allocations: 1.665 MB / 0.6993 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8834, allocations: 4 kB / 0.6993 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004764/0.8882, allocations: 0.9791 MB / 0.7003 GB, free: 220 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/0.9, allocations: 8.271 MB / 0.7084 GB, free: 7.781 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00971/0.9097, allocations: 5.565 MB / 0.7138 GB, free: 2.227 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.544e-05/0.9098, allocations: 4 kB / 0.7138 GB, free: 2.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.913, allocations: 2.145 MB / 0.7159 GB, free: 68 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2874/1.2, allocations: 372.2 kB / 0.7163 GB, free: 168.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05736/1.258, allocations: 31.33 MB / 0.7469 GB, free: 155.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/1.261, allocations: 3.382 MB / 0.7502 GB, free: 154.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004337/1.266, allocations: 1.979 MB / 0.7521 GB, free: 154.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003032/1.269, allocations: 1.84 MB / 0.7539 GB, free: 154.4 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/1.269, allocations: 0 / 0.7539 GB, free: 154.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09313/1.362, allocations: 68.5 MB / 0.8208 GB, free: 87.75 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/1.362, allocations: 201.7 kB / 0.821 GB, free: 87.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.862/5.224, allocations: 0.5469 kB / 0.821 GB, free: 87.51 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat does not exist to compare? outputFormat=mat