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.001219/0.001219, allocations: 98.06 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 198.3 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1933/0.1933, allocations: 45.92 MB / 344 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002837, allocations: 8 kB / 418.1 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1262, allocations: 63.46 MB / 481.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.03058/0.1569, allocations: 32.47 MB / 0.5019 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2559/0.4128, allocations: 8.094 MB / 0.5098 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006572/0.4194, allocations: 153 kB / 0.51 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007/0.4264, allocations: 1.646 MB / 0.5116 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02061/0.4471, allocations: 4.851 MB / 0.5163 GB, free: 9.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.45, allocations: 456.9 kB / 0.5168 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.4555, allocations: 2.144 MB / 0.5189 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005779/0.4613, allocations: 3.015 MB / 0.5218 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002144/0.4635, allocations: 0.9514 MB / 0.5227 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002389/0.4659, allocations: 1.336 MB / 0.524 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007479/0.4666, allocations: 147.9 kB / 0.5242 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002077/0.4687, allocations: 0.7372 MB / 0.5249 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.4705, allocations: 1.478 MB / 0.5264 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.4717, allocations: 0.8158 MB / 0.5271 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006705/0.4784, allocations: 5.293 MB / 0.5323 GB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4785, allocations: 0 / 0.5323 GB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.4785, allocations: 0 / 0.5323 GB, free: 5.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002552/0.4787, allocations: 0 / 0.5323 GB, free: 5.527 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.008132/0.4869, allocations: 3.846 MB / 0.5361 GB, free: 3.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.4869, allocations: 17.17 kB / 0.5361 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/0.4883, allocations: 0.7635 MB / 0.5368 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01142/0.4997, allocations: 3.784 MB / 0.5405 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005836/0.5056, allocations: 2.194 MB / 0.5427 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.5058, allocations: 218.5 kB / 0.5429 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.507, allocations: 288.3 kB / 0.5432 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/0.5253, allocations: 11.17 MB / 0.5541 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/0.5255, allocations: 24.97 kB / 0.5541 GB, free: 8.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/0.5259, allocations: 135.1 kB / 0.5542 GB, free: 8.625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004477/0.5304, allocations: 2.628 MB / 0.5568 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.5521, allocations: 10.44 MB / 0.567 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06822/0.6204, allocations: 36.78 MB / 0.6029 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009576/0.63, allocations: 4.571 MB / 0.6074 GB, free: 2.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.6314, allocations: 1.315 MB / 0.6087 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.6315, allocations: 56.56 kB / 0.6087 GB, free: 1.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=242): time 6.432e-06/0.6315, allocations: 3.938 kB / 0.6087 GB, free: 1.094 MB / 446.1 MB Notification: Performance of matching and sorting (n=254): time 0.04593/0.6774, allocations: 18.06 MB / 0.6263 GB, free: 14.87 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.6776, allocations: 77.41 kB / 0.6264 GB, free: 14.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005579/0.6832, allocations: 2.844 MB / 0.6292 GB, free: 11.93 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005758/0.6838, allocations: 53.7 kB / 0.6292 GB, free: 11.87 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002212/0.686, allocations: 2.77 MB / 0.6319 GB, free: 9.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/0.6874, allocations: 0.9179 MB / 0.6328 GB, free: 8.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/0.6878, allocations: 108 kB / 0.6329 GB, free: 8.098 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0004593/0.6883, allocations: 0.5373 MB / 0.6335 GB, free: 7.555 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00383/0.6921, allocations: 2.287 MB / 0.6357 GB, free: 5.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006174/0.6983, allocations: 5.172 MB / 0.6408 GB, free: 14.67 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005773/0.7041, allocations: 3.444 MB / 0.6441 GB, free: 11.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.982e-05/0.7042, allocations: 28 kB / 0.6441 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01775/0.722, allocations: 8.226 MB / 0.6522 GB, free: 2.961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.7222, allocations: 51.94 kB / 0.6522 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/0.7224, allocations: 104 kB / 0.6523 GB, free: 2.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/0.7253, allocations: 0.9451 MB / 0.6533 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004967/0.7303, allocations: 1.217 MB / 0.6544 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007458/0.7377, allocations: 4.931 MB / 0.6593 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004498/0.7423, allocations: 299.7 kB / 0.6595 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/0.7435, allocations: 304 kB / 0.6598 GB, free: 11 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.006572/0.7501, allocations: 2.158 MB / 0.6619 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/0.7511, allocations: 280.3 kB / 0.6622 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/0.7617, allocations: 5.108 MB / 0.6672 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.887e-05/0.7618, allocations: 51.95 kB / 0.6672 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/0.7618, allocations: 0 / 0.6672 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-05/0.7619, allocations: 15.95 kB / 0.6673 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02682/0.7887, allocations: 11.88 MB / 0.6789 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.962e-05/0.7888, allocations: 15.98 kB / 0.6789 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.7905, allocations: 391.4 kB / 0.6793 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002402/0.7929, allocations: 0.775 MB / 0.68 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/0.7931, allocations: 51.98 kB / 0.6801 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005279/0.7984, allocations: 4.203 MB / 0.6842 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.7985, allocations: 15.88 kB / 0.6842 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.8111, allocations: 8.435 MB / 0.6924 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/0.8122, allocations: 337.5 kB / 0.6927 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009537/0.8132, allocations: 46.88 kB / 0.6928 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.8151, allocations: 143.8 kB / 0.6929 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004983/0.8156, allocations: 152.9 kB / 0.6931 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002944/0.8159, allocations: 78.06 kB / 0.6931 GB, free: 8.156 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003032/0.819, allocations: 1.759 MB / 0.6949 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.819, allocations: 4 kB / 0.6949 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00518/0.8242, allocations: 0.9943 MB / 0.6958 GB, free: 5.395 MB / 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.01319/0.8374, allocations: 11.66 MB / 0.7072 GB, free: 9.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008866/0.8463, allocations: 5.573 MB / 0.7127 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.8463, allocations: 4 kB / 0.7127 GB, free: 3.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00314/0.8495, allocations: 2.132 MB / 0.7148 GB, free: 1.703 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/0.8524, allocations: 356.9 kB / 0.7151 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3446/1.197, allocations: 100.6 MB / 0.8133 GB, free: 86.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004656/1.202, allocations: 3.471 MB / 0.8167 GB, free: 85.96 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004526/1.206, allocations: 1.985 MB / 0.8186 GB, free: 85.82 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003221/1.21, allocations: 1.839 MB / 0.8204 GB, free: 85.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/1.21, allocations: 0 / 0.8204 GB, free: 85.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/1.31, allocations: 69.07 MB / 0.8879 GB, free: 19.61 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/1.31, allocations: 195.8 kB / 0.8881 GB, free: 19.37 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.573/4.883, allocations: 4 kB / 0.8881 GB, free: 19.36 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