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.001424/0.001424, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001365/0.001365, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.12 MB / 343.6 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 77.34 kB / 416.9 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1485, allocations: 62.44 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.0348/0.1834, allocations: 33.84 MB / 0.5012 GB, free: 3.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.306/0.4895, allocations: 7.429 MB / 0.5084 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007484/0.497, allocations: 137.2 kB / 0.5086 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005398/0.5024, allocations: 2.616 MB / 0.5111 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002212/0.5047, allocations: 0.5556 MB / 0.5117 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.5069, allocations: 0.6461 MB / 0.5123 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003616/0.5106, allocations: 2.552 MB / 0.5148 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004176/0.5147, allocations: 3.239 MB / 0.518 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.5164, allocations: 0.8779 MB / 0.5188 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.5184, allocations: 1.353 MB / 0.5201 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004261/0.5188, allocations: 195.6 kB / 0.5203 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.5208, allocations: 0.9984 MB / 0.5213 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009788/0.5218, allocations: 1.093 MB / 0.5224 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.5229, allocations: 1.286 MB / 0.5236 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003872/0.5268, allocations: 4.51 MB / 0.528 GB, free: 5.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.5268, allocations: 0 / 0.528 GB, free: 5.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5268, allocations: 0 / 0.528 GB, free: 5.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.503e-05/0.5269, allocations: 0 / 0.528 GB, free: 5.047 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.005774/0.5327, allocations: 2.922 MB / 0.5309 GB, free: 3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.5327, allocations: 10.38 kB / 0.5309 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005277/0.5333, allocations: 427.7 kB / 0.5313 GB, free: 2.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.5345, allocations: 361 kB / 0.5316 GB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.5365, allocations: 1.292 MB / 0.5329 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.988e-05/0.5366, allocations: 172.8 kB / 0.5331 GB, free: 1.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.537, allocations: 212.8 kB / 0.5333 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.5503, allocations: 6.475 MB / 0.5396 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.852e-05/0.5504, allocations: 19.86 kB / 0.5396 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005996/0.551, allocations: 95.11 kB / 0.5397 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/0.5522, allocations: 0.8077 MB / 0.5405 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01312/0.5653, allocations: 5.479 MB / 0.5458 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0256/0.591, allocations: 19.08 MB / 0.5645 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007116/0.5981, allocations: 1.819 MB / 0.5663 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.5992, allocations: 0.6939 MB / 0.5669 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006373/0.6056, allocations: 4.791 MB / 0.5716 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.6056, allocations: 39.12 kB / 0.5717 GB, free: 13.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=70): time 2.615e-06/0.6057, allocations: 3.938 kB / 0.5717 GB, free: 13.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=110): time 0.04037/0.646, allocations: 8.712 MB / 0.5802 GB, free: 4.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.6461, allocations: 66.66 kB / 0.5802 GB, free: 4.637 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/0.6495, allocations: 1.842 MB / 0.582 GB, free: 2.789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001368/0.6497, allocations: 49.7 kB / 0.5821 GB, free: 2.734 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001132/0.6508, allocations: 1.517 MB / 0.5836 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000491/0.6513, allocations: 410.2 kB / 0.5839 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.6524, allocations: 0.5441 MB / 0.5845 GB, free: 272 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6525, allocations: 301.1 kB / 0.5848 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.6543, allocations: 1.024 MB / 0.5858 GB, free: 14.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/0.6571, allocations: 2.527 MB / 0.5882 GB, free: 11.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004798/0.6619, allocations: 3.819 MB / 0.592 GB, free: 7.133 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.335e-05/0.662, allocations: 16 kB / 0.592 GB, free: 7.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.0062/0.6682, allocations: 3.543 MB / 0.5954 GB, free: 3.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.346e-05/0.6683, allocations: 28 kB / 0.5955 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-05/0.6683, allocations: 52 kB / 0.5955 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.677e-05/0.6684, allocations: 75.98 kB / 0.5956 GB, free: 3.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.6708, allocations: 0.6629 MB / 0.5962 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000102/0.6709, allocations: 107.6 kB / 0.5963 GB, free: 2.645 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.6729, allocations: 159.9 kB / 0.5965 GB, free: 2.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002967/0.6732, allocations: 159.9 kB / 0.5966 GB, free: 2.332 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002343/0.6756, allocations: 1.125 MB / 0.5977 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005046/0.6761, allocations: 165.8 kB / 0.5979 GB, free: 1.035 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.6797, allocations: 1.764 MB / 0.5996 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.6798, allocations: 8 kB / 0.5996 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6798, allocations: 4 kB / 0.5996 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.6798, allocations: 11.91 kB / 0.5996 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.691, allocations: 5.428 MB / 0.6049 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.661e-05/0.6911, allocations: 8 kB / 0.605 GB, free: 9.598 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008895/0.692, allocations: 207.7 kB / 0.6052 GB, free: 9.395 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.59e-05/0.6921, allocations: 16 kB / 0.6052 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.6922, allocations: 43.94 kB / 0.6052 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.258e-05/0.6922, allocations: 24.45 kB / 0.6052 GB, free: 9.312 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/0.6922, allocations: 23.88 kB / 0.6053 GB, free: 9.289 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.6945, allocations: 1.677 MB / 0.6069 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.6951, allocations: 254.9 kB / 0.6071 GB, free: 7.172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000353/0.6955, allocations: 35.98 kB / 0.6072 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008532/0.6963, allocations: 39.98 kB / 0.6072 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.6965, allocations: 100.2 kB / 0.6073 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.104e-05/0.6966, allocations: 47.98 kB / 0.6073 GB, free: 6.949 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002056/0.6986, allocations: 1.195 MB / 0.6085 GB, free: 5.762 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6987, allocations: 4 kB / 0.6085 GB, free: 5.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003208/0.7019, allocations: 0.496 MB / 0.609 GB, free: 5.262 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003468/0.7054, allocations: 2.314 MB / 0.6113 GB, free: 2.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003838/0.7092, allocations: 2.204 MB / 0.6134 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.7092, allocations: 64 / 0.6134 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009326/0.7102, allocations: 0.6031 MB / 0.614 GB, free: 15.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.712, allocations: 246.9 kB / 0.6142 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04202/0.7541, allocations: 23.79 MB / 0.6375 GB, free: 5.008 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/0.7573, allocations: 2.071 MB / 0.6395 GB, free: 2.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002251/0.7595, allocations: 0.7227 MB / 0.6402 GB, free: 2.176 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/0.7612, allocations: 0.964 MB / 0.6411 GB, free: 1.211 MB / 494.1 MB Notification: Performance of SimCode: time 6.32e-07/0.7612, allocations: 0 / 0.6411 GB, free: 1.211 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07989/0.8411, allocations: 37.52 MB / 0.6778 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.8413, allocations: 191.6 kB / 0.678 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.73, allocations: 0 / 0.678 GB, free: 11.63 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/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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches