Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 104.2 kB / 16.4 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2031/0.2031, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 61.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09878, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01112/0.1099, allocations: 10.33 MB / 0.4975 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00707/0.1171, allocations: 3.418 MB / 0.5008 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.1187, allocations: 47.94 kB / 0.5009 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004955/0.1237, allocations: 2.625 MB / 0.5034 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.1261, allocations: 0.6645 MB / 0.5041 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.1281, allocations: 0.7133 MB / 0.5048 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.1308, allocations: 1.695 MB / 0.5064 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004274/0.1351, allocations: 3.357 MB / 0.5097 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.1369, allocations: 1.044 MB / 0.5107 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002178/0.1391, allocations: 1.359 MB / 0.5121 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007096/0.1398, allocations: 288 kB / 0.5123 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002164/0.142, allocations: 0.987 MB / 0.5133 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.1436, allocations: 1.247 MB / 0.5145 GB, free: 368 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.146, allocations: 1.457 MB / 0.5159 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.1516, allocations: 4.883 MB / 0.5207 GB, free: 9.996 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1516, allocations: 3.984 kB / 0.5207 GB, free: 9.992 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1516, allocations: 0 / 0.5207 GB, free: 9.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001389/0.1518, allocations: 4 kB / 0.5207 GB, free: 9.988 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.007627/0.1594, allocations: 3.079 MB / 0.5237 GB, free: 6.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1595, allocations: 11.89 kB / 0.5237 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008533/0.1603, allocations: 469.3 kB / 0.5242 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.1617, allocations: 364.9 kB / 0.5245 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002777/0.1645, allocations: 1.332 MB / 0.5258 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.1646, allocations: 172.5 kB / 0.526 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004731/0.1651, allocations: 231.9 kB / 0.5262 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1989/0.364, allocations: 6.88 MB / 0.5329 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-05/0.3642, allocations: 22.84 kB / 0.533 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.3644, allocations: 103.2 kB / 0.5331 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001508/0.3659, allocations: 0.9879 MB / 0.534 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0129/0.3788, allocations: 5.68 MB / 0.5396 GB, free: 35.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0243/0.4032, allocations: 20.15 MB / 0.5593 GB, free: 22.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00686/0.4101, allocations: 1.812 MB / 0.561 GB, free: 21.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009436/0.4111, allocations: 0.6884 MB / 0.5617 GB, free: 20.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005655/0.4167, allocations: 4.884 MB / 0.5665 GB, free: 16.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4168, allocations: 37.53 kB / 0.5665 GB, free: 16.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.755e-06/0.4168, allocations: 0 / 0.5665 GB, free: 16.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.03769/0.4545, allocations: 9.27 MB / 0.5756 GB, free: 9.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.4546, allocations: 86.11 kB / 0.5756 GB, free: 9.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.4565, allocations: 1.974 MB / 0.5776 GB, free: 7.422 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.4567, allocations: 41.7 kB / 0.5776 GB, free: 7.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006573/0.4573, allocations: 1.673 MB / 0.5792 GB, free: 5.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/0.4576, allocations: 416.8 kB / 0.5796 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/0.4582, allocations: 0.5758 MB / 0.5802 GB, free: 4.707 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.833e-05/0.4583, allocations: 309 kB / 0.5805 GB, free: 4.402 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.4595, allocations: 1.04 MB / 0.5815 GB, free: 3.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.4612, allocations: 2.661 MB / 0.5841 GB, free: 15.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004458/0.4657, allocations: 3.983 MB / 0.588 GB, free: 11.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.299e-05/0.4658, allocations: 27.59 kB / 0.588 GB, free: 11.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005744/0.4715, allocations: 3.684 MB / 0.5916 GB, free: 7.398 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.4716, allocations: 28 kB / 0.5916 GB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.898e-05/0.4717, allocations: 56 kB / 0.5917 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.121e-05/0.4718, allocations: 76 kB / 0.5918 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00237/0.4741, allocations: 0.7135 MB / 0.5925 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-05/0.4742, allocations: 111.6 kB / 0.5926 GB, free: 6.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.476, allocations: 164.1 kB / 0.5927 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.4762, allocations: 164 kB / 0.5929 GB, free: 6.098 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 259 * Number of states: 0 () * Number of discrete variables: 34 (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 (373): * Single equations (assignments): 373 * 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.001756/0.478, allocations: 1.203 MB / 0.5941 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.4783, allocations: 181.6 kB / 0.5942 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002826/0.4812, allocations: 1.731 MB / 0.5959 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.4812, allocations: 12 kB / 0.5959 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.4812, allocations: 0 / 0.5959 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4812, allocations: 11.91 kB / 0.5959 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009541/0.4908, allocations: 5.871 MB / 0.6017 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.67e-05/0.4908, allocations: 12 kB / 0.6017 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.4917, allocations: 211.6 kB / 0.6019 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.878e-05/0.4918, allocations: 16 kB / 0.6019 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.768e-05/0.4918, allocations: 32 kB / 0.6019 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.05e-05/0.4919, allocations: 27.86 kB / 0.602 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/0.4919, allocations: 15.94 kB / 0.602 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.4939, allocations: 1.69 MB / 0.6036 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.4944, allocations: 262.7 kB / 0.6039 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.4946, allocations: 39.98 kB / 0.6039 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006959/0.4953, allocations: 47.91 kB / 0.604 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.4955, allocations: 100.2 kB / 0.6041 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.4956, allocations: 44.75 kB / 0.6041 GB, free: 10.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001721/0.4973, allocations: 1.288 MB / 0.6054 GB, free: 8.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4973, allocations: 0 / 0.6054 GB, free: 8.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002221/0.4995, allocations: 0.5325 MB / 0.6059 GB, free: 8.312 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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.002533/0.5021, allocations: 2.324 MB / 0.6082 GB, free: 5.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003432/0.5055, allocations: 2.294 MB / 0.6104 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/0.5056, allocations: 4 kB / 0.6104 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008344/0.5064, allocations: 0.5914 MB / 0.611 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.508, allocations: 262.7 kB / 0.6112 GB, free: 2.684 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03161/0.5396, allocations: 22.23 MB / 0.6329 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.5419, allocations: 2.184 MB / 0.6351 GB, free: 7.789 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001966/0.5439, allocations: 0.7664 MB / 0.6358 GB, free: 7.02 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/0.5454, allocations: 1.073 MB / 0.6369 GB, free: 5.945 MB / 478.1 MB Notification: Performance of SimCode: time 2.545e-06/0.5454, allocations: 0 / 0.6369 GB, free: 5.945 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07318/0.6186, allocations: 41 MB / 0.6769 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.53, allocations: 4.062 kB / 0.6769 GB, free: 12.89 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches