Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.001089, allocations: 98.2 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 198.1 kB / 17.89 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.425/1.425, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002966/0.0002966, allocations: 8 kB / 418.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1412, allocations: 63.47 MB / 481.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.02953/0.1708, allocations: 29.17 MB / 0.4987 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.1895, allocations: 7.376 MB / 0.5059 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006367/0.1959, allocations: 135.7 kB / 0.5061 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.306/0.5019, allocations: 1.419 MB / 0.5074 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01694/0.5189, allocations: 4.015 MB / 0.5114 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.5215, allocations: 0.5114 MB / 0.5119 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.5236, allocations: 0.8871 MB / 0.5127 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005955/0.5296, allocations: 3.978 MB / 0.5166 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.5311, allocations: 0.5354 MB / 0.5171 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.5322, allocations: 0.6958 MB / 0.5178 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.5325, allocations: 96.12 kB / 0.5179 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001665/0.5341, allocations: 0.6943 MB / 0.5186 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.5352, allocations: 0.8585 MB / 0.5194 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005082/0.5357, allocations: 497.4 kB / 0.5199 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003852/0.5395, allocations: 3.688 MB / 0.5235 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.5396, allocations: 0 / 0.5235 GB, free: 8.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5396, allocations: 0 / 0.5235 GB, free: 8.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001124/0.5397, allocations: 2.078 kB / 0.5235 GB, free: 8.594 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006693/0.5464, allocations: 2.515 MB / 0.526 GB, free: 7.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5464, allocations: 9.625 kB / 0.526 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008788/0.5473, allocations: 424.7 kB / 0.5264 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.5488, allocations: 399.9 kB / 0.5268 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00289/0.5517, allocations: 1.264 MB / 0.528 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/0.552, allocations: 164 kB / 0.5281 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004456/0.5524, allocations: 215.4 kB / 0.5283 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.5677, allocations: 6.633 MB / 0.5348 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.793e-05/0.5678, allocations: 15.66 kB / 0.5348 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002741/0.5681, allocations: 94.12 kB / 0.5349 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001152/0.5693, allocations: 0.8168 MB / 0.5357 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.5836, allocations: 5.642 MB / 0.5412 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02657/0.6102, allocations: 19.15 MB / 0.5599 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007014/0.6173, allocations: 1.841 MB / 0.5617 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00704/0.6243, allocations: 4.836 MB / 0.5665 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.6244, allocations: 39.12 kB / 0.5665 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.445e-06/0.6244, allocations: 0 / 0.5665 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.03928/0.6637, allocations: 8.843 MB / 0.5751 GB, free: 3.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.6638, allocations: 60.41 kB / 0.5752 GB, free: 3.383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.6663, allocations: 1.829 MB / 0.577 GB, free: 1.555 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.6664, allocations: 41.7 kB / 0.577 GB, free: 1.508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/0.6674, allocations: 1.522 MB / 0.5785 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.6677, allocations: 419.1 kB / 0.5789 GB, free: 15.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.6678, allocations: 52 kB / 0.579 GB, free: 15.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.6681, allocations: 419.6 kB / 0.5794 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.6696, allocations: 1.013 MB / 0.5803 GB, free: 14.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.672, allocations: 2.504 MB / 0.5828 GB, free: 10.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002227/0.6742, allocations: 1.533 MB / 0.5843 GB, free: 9.406 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.6742, allocations: 23.98 kB / 0.5843 GB, free: 9.383 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005562/0.6798, allocations: 3.511 MB / 0.5877 GB, free: 6.176 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.662e-05/0.6799, allocations: 28.94 kB / 0.5878 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.482e-05/0.68, allocations: 52 kB / 0.5878 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.088e-05/0.6801, allocations: 83.95 kB / 0.5879 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/0.6826, allocations: 0.669 MB / 0.5885 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001103/0.6827, allocations: 103.9 kB / 0.5886 GB, free: 5.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.6848, allocations: 151.8 kB / 0.5888 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.6851, allocations: 155 kB / 0.5889 GB, free: 5.023 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (352): * Single equations (assignments): 352 * 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.002287/0.6874, allocations: 1.132 MB / 0.59 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.6877, allocations: 165.8 kB / 0.5902 GB, free: 3.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003077/0.6908, allocations: 1.756 MB / 0.5919 GB, free: 2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.6908, allocations: 15.95 kB / 0.5919 GB, free: 1.984 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.6908, allocations: 4 kB / 0.5919 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.6909, allocations: 7.984 kB / 0.5919 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/0.7014, allocations: 5.439 MB / 0.5973 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.7015, allocations: 12 kB / 0.5973 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000841/0.7023, allocations: 215.8 kB / 0.5975 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-05/0.7023, allocations: 16 kB / 0.5975 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/0.7024, allocations: 36 kB / 0.5975 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.03e-05/0.7024, allocations: 23.88 kB / 0.5975 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-05/0.7025, allocations: 27.86 kB / 0.5976 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.705, allocations: 2.523 MB / 0.6 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005848/0.7056, allocations: 254.8 kB / 0.6003 GB, free: 8.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.7058, allocations: 35.98 kB / 0.6003 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006787/0.7065, allocations: 39.97 kB / 0.6004 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.7066, allocations: 100.2 kB / 0.6004 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.7067, allocations: 45.8 kB / 0.6005 GB, free: 8.426 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001743/0.7084, allocations: 1.191 MB / 0.6017 GB, free: 7.242 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7084, allocations: 4 kB / 0.6017 GB, free: 7.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002304/0.7108, allocations: 0.4961 MB / 0.6021 GB, free: 6.742 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (111): * Single equations (assignments): 111 * 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.003816/0.7146, allocations: 6.317 MB / 0.6083 GB, free: 68 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003702/0.7183, allocations: 2.185 MB / 0.6104 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.7183, allocations: 6 kB / 0.6105 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.7192, allocations: 0.599 MB / 0.611 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.7206, allocations: 238.4 kB / 0.6113 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/0.7463, allocations: 44.92 MB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.7486, allocations: 2.118 MB / 0.6572 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002198/0.7508, allocations: 0.7266 MB / 0.6579 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/0.7523, allocations: 0.964 MB / 0.6588 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/0.7523, allocations: 0 / 0.6588 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06665/0.8189, allocations: 38.41 MB / 0.6964 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/0.8191, allocations: 187.3 kB / 0.6965 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.85/3.669, allocations: 0 / 0.6965 GB, free: 4.34 MB / 0.5294 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat