Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 115.3 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.11 MB / 343.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001556, allocations: 77.19 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.145, allocations: 62.43 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.03427/0.1793, allocations: 33.86 MB / 0.5014 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3294/0.5087, allocations: 7.14 MB / 0.5084 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008654/0.5174, allocations: 137.2 kB / 0.5085 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006141/0.5236, allocations: 2.565 MB / 0.511 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.5264, allocations: 0.549 MB / 0.5116 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.5288, allocations: 486 kB / 0.512 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003535/0.5323, allocations: 1.473 MB / 0.5135 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006348/0.5387, allocations: 3.391 MB / 0.5168 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.5418, allocations: 0.9638 MB / 0.5177 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.5453, allocations: 1.366 MB / 0.519 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.5466, allocations: 273.9 kB / 0.5193 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.5496, allocations: 0.8105 MB / 0.5201 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00222/0.5519, allocations: 1.162 MB / 0.5212 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002455/0.5543, allocations: 1.355 MB / 0.5226 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005301/0.5597, allocations: 4.359 MB / 0.5268 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.5597, allocations: 0 / 0.5268 GB, free: 5.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5597, allocations: 0 / 0.5268 GB, free: 5.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001078/0.5598, allocations: 1.062 kB / 0.5268 GB, free: 5.617 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.005793/0.5656, allocations: 2.775 MB / 0.5295 GB, free: 3.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5657, allocations: 7.938 kB / 0.5295 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005195/0.5662, allocations: 421 kB / 0.5299 GB, free: 3.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.5674, allocations: 352.6 kB / 0.5303 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.5694, allocations: 1.224 MB / 0.5315 GB, free: 2.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.5695, allocations: 163.5 kB / 0.5316 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/0.5699, allocations: 220.9 kB / 0.5318 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01098/0.5809, allocations: 5.612 MB / 0.5373 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-05/0.581, allocations: 13 kB / 0.5373 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/0.5812, allocations: 98.56 kB / 0.5374 GB, free: 14.97 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00103/0.5823, allocations: 0.7791 MB / 0.5382 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.5932, allocations: 4.298 MB / 0.5424 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.621, allocations: 17.14 MB / 0.5591 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004501/0.6255, allocations: 1.251 MB / 0.5603 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007337/0.6263, allocations: 394.3 kB / 0.5607 GB, free: 9.047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001952/0.6283, allocations: 2.135 MB / 0.5628 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.6283, allocations: 39.12 kB / 0.5628 GB, free: 6.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 4.729e-06/0.6283, allocations: 0 / 0.5628 GB, free: 6.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=109): time 0.02234/0.6507, allocations: 5.363 MB / 0.5681 GB, free: 1.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.6508, allocations: 70.56 kB / 0.5681 GB, free: 1.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.654, allocations: 1.723 MB / 0.5698 GB, free: 15.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.6541, allocations: 41.7 kB / 0.5699 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.6553, allocations: 1.508 MB / 0.5713 GB, free: 13.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004257/0.6558, allocations: 398.8 kB / 0.5717 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008271/0.6566, allocations: 0.5204 MB / 0.5722 GB, free: 12.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6567, allocations: 305.1 kB / 0.5725 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.6581, allocations: 0.7743 MB / 0.5733 GB, free: 11.81 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.6605, allocations: 2.225 MB / 0.5754 GB, free: 8.875 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004074/0.6646, allocations: 3.279 MB / 0.5786 GB, free: 4.883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-05/0.6647, allocations: 15.94 kB / 0.5787 GB, free: 4.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.005254/0.67, allocations: 3.004 MB / 0.5816 GB, free: 1.859 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.67, allocations: 28 kB / 0.5816 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-05/0.6701, allocations: 52 kB / 0.5817 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.821e-05/0.6702, allocations: 68 kB / 0.5817 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001911/0.6721, allocations: 0.6004 MB / 0.5823 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.94e-05/0.6722, allocations: 99.59 kB / 0.5824 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001801/0.674, allocations: 124.1 kB / 0.5825 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.6743, allocations: 144 kB / 0.5827 GB, free: 0.7539 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * Number of states: 0 () * Number of discrete variables: 38 (prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (340): * Single equations (assignments): 340 * 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.002165/0.6764, allocations: 1.126 MB / 0.5838 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/0.6768, allocations: 161.9 kB / 0.5839 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.6773, allocations: 216.7 kB / 0.5841 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.6773, allocations: 8 kB / 0.5841 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/0.6774, allocations: 8 kB / 0.5842 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.6774, allocations: 3.984 kB / 0.5842 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.6892, allocations: 6.063 MB / 0.5901 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001098/0.6893, allocations: 20.22 kB / 0.5901 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.6902, allocations: 207.6 kB / 0.5903 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.552e-05/0.6903, allocations: 28 kB / 0.5903 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.6904, allocations: 43.98 kB / 0.5904 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.324e-05/0.6905, allocations: 39.86 kB / 0.5904 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.01e-05/0.6905, allocations: 31.81 kB / 0.5904 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.6934, allocations: 1.679 MB / 0.5921 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/0.6941, allocations: 254.9 kB / 0.5923 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/0.6945, allocations: 51.97 kB / 0.5924 GB, free: 6.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.6956, allocations: 43.94 kB / 0.5924 GB, free: 6.137 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.6958, allocations: 139.4 kB / 0.5925 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/0.6958, allocations: 55.97 kB / 0.5926 GB, free: 5.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002187/0.698, allocations: 1.139 MB / 0.5937 GB, free: 4.812 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.698, allocations: 0 / 0.5937 GB, free: 4.812 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002913/0.701, allocations: 464 kB / 0.5941 GB, free: 4.359 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.002946/0.7039, allocations: 2.31 MB / 0.5964 GB, free: 1.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003506/0.7075, allocations: 1.849 MB / 0.5982 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/0.7075, allocations: 4 kB / 0.5982 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007746/0.7083, allocations: 496.8 kB / 0.5987 GB, free: 15.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.7104, allocations: 268.2 kB / 0.5989 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03978/0.7502, allocations: 22.25 MB / 0.6207 GB, free: 5.871 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003285/0.7535, allocations: 2.085 MB / 0.6227 GB, free: 3.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001972/0.7555, allocations: 0.6673 MB / 0.6234 GB, free: 3.078 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/0.757, allocations: 0.9561 MB / 0.6243 GB, free: 2.121 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.757, allocations: 0 / 0.6243 GB, free: 2.121 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09718/0.8542, allocations: 34.17 MB / 0.6577 GB, free: 156 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002507/0.8545, allocations: 192.8 kB / 0.6578 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.667/3.521, allocations: 0 / 0.6578 GB, free: 15.89 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches