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.001503/0.001503, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001668/0.001668, allocations: 190.7 kB / 17.2 MB, free: 5.574 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.427/1.427, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.1985/0.1985, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 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.001541/0.001541, allocations: 69.95 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09851/0.1001, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.009783/0.1099, allocations: 10.32 MB / 450.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006397/0.1163, allocations: 3.403 MB / 454.3 MB, free: 9.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.1176, allocations: 51.88 kB / 454.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004702/0.1223, allocations: 2.633 MB / 457 MB, free: 6.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.1241, allocations: 0.6645 MB / 457.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.1259, allocations: 0.7172 MB / 458.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.128, allocations: 1.703 MB / 460.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003966/0.132, allocations: 3.345 MB / 463.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001659/0.1336, allocations: 1.044 MB / 464.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00204/0.1357, allocations: 1.359 MB / 465.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006583/0.1364, allocations: 284 kB / 466.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001963/0.1383, allocations: 0.9909 MB / 467.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001338/0.1397, allocations: 1.231 MB / 468.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002093/0.1418, allocations: 1.457 MB / 469.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005616/0.1474, allocations: 4.767 MB / 474.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1475, allocations: 0 / 474.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1475, allocations: 0 / 474.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001536/0.1476, allocations: 0 / 474.6 MB, free: 4.664 MB / 350.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.0085/0.1561, allocations: 3.098 MB / 477.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/0.1562, allocations: 15.89 kB / 477.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007203/0.1569, allocations: 461.4 kB / 478.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001379/0.1583, allocations: 360.9 kB / 478.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.1611, allocations: 1.321 MB / 479.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.1612, allocations: 172.5 kB / 480 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003609/0.1616, allocations: 231.9 kB / 480.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.1757, allocations: 6.889 MB / 487.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-05/0.1758, allocations: 27.62 kB / 487.1 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.176, allocations: 95.94 kB / 487.2 MB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001499/0.1775, allocations: 0.9925 MB / 488.2 MB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.1912, allocations: 5.672 MB / 493.9 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02708/0.2183, allocations: 20.28 MB / 0.5021 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007379/0.2257, allocations: 1.818 MB / 0.5039 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009522/0.2267, allocations: 0.6867 MB / 0.5046 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006756/0.2335, allocations: 4.875 MB / 0.5093 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.2336, allocations: 43.12 kB / 0.5094 GB, free: 4.242 MB / 398.1 MB Notification: Performance of pre-optimization done (n=70): time 2.905e-06/0.2336, allocations: 0 / 0.5094 GB, free: 4.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=110): time 0.04249/0.2761, allocations: 9.254 MB / 0.5184 GB, free: 10.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.311e-05/0.2762, allocations: 90.11 kB / 0.5185 GB, free: 10.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/0.2794, allocations: 1.966 MB / 0.5204 GB, free: 8.898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.2796, allocations: 49.64 kB / 0.5205 GB, free: 8.844 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001495/0.2811, allocations: 1.675 MB / 0.5221 GB, free: 7.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005073/0.2816, allocations: 410.6 kB / 0.5225 GB, free: 6.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/0.2828, allocations: 0.5719 MB / 0.523 GB, free: 6.156 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2829, allocations: 305.2 kB / 0.5233 GB, free: 5.855 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.2846, allocations: 1.04 MB / 0.5244 GB, free: 4.812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/0.2875, allocations: 2.66 MB / 0.527 GB, free: 1.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1854/0.4729, allocations: 3.983 MB / 0.5308 GB, free: 85.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-05/0.473, allocations: 20.09 kB / 0.5309 GB, free: 85.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.005415/0.4784, allocations: 3.686 MB / 0.5345 GB, free: 84.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.4785, allocations: 33.84 kB / 0.5345 GB, free: 84.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.135e-05/0.4785, allocations: 56.94 kB / 0.5345 GB, free: 84.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.132e-05/0.4786, allocations: 80.75 kB / 0.5346 GB, free: 84.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002287/0.4809, allocations: 0.7114 MB / 0.5353 GB, free: 84.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.166e-05/0.481, allocations: 112.5 kB / 0.5354 GB, free: 84.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4828, allocations: 156 kB / 0.5356 GB, free: 84.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.483, allocations: 169.7 kB / 0.5357 GB, free: 84.79 MB / 414.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.001464/0.4845, allocations: 1.199 MB / 0.5369 GB, free: 84.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002527/0.4847, allocations: 182.4 kB / 0.5371 GB, free: 84.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.4873, allocations: 1.741 MB / 0.5388 GB, free: 83.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4873, allocations: 10.44 kB / 0.5388 GB, free: 83.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4873, allocations: 1.594 kB / 0.5388 GB, free: 83.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4873, allocations: 3.703 kB / 0.5388 GB, free: 83.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008584/0.4959, allocations: 5.88 MB / 0.5445 GB, free: 80.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.496, allocations: 11.75 kB / 0.5445 GB, free: 80.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007836/0.4968, allocations: 207.9 kB / 0.5447 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.4968, allocations: 15.75 kB / 0.5448 GB, free: 80.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/0.4968, allocations: 35.69 kB / 0.5448 GB, free: 80.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.4969, allocations: 27.53 kB / 0.5448 GB, free: 80.6 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.4969, allocations: 24.09 kB / 0.5448 GB, free: 80.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.4984, allocations: 1.691 MB / 0.5465 GB, free: 79.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.4988, allocations: 260.5 kB / 0.5467 GB, free: 79.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/0.499, allocations: 39.5 kB / 0.5468 GB, free: 79.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007028/0.4997, allocations: 39.69 kB / 0.5468 GB, free: 79.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.4999, allocations: 106.8 kB / 0.5469 GB, free: 79.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.4999, allocations: 42.62 kB / 0.547 GB, free: 79.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00142/0.5014, allocations: 1.289 MB / 0.5482 GB, free: 78.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5014, allocations: 4 kB / 0.5482 GB, free: 78.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002121/0.5035, allocations: 0.5373 MB / 0.5488 GB, free: 78.77 MB / 414.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.001874/0.5054, allocations: 2.325 MB / 0.551 GB, free: 77.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003283/0.5087, allocations: 2.503 MB / 0.5535 GB, free: 76.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.5087, allocations: 3.5 kB / 0.5535 GB, free: 76.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006439/0.5094, allocations: 0.593 MB / 0.554 GB, free: 75.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.5107, allocations: 260.1 kB / 0.5543 GB, free: 75.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.5331, allocations: 24.08 MB / 0.5778 GB, free: 48.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.5347, allocations: 2.194 MB / 0.58 GB, free: 46.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001897/0.5366, allocations: 0.7655 MB / 0.5807 GB, free: 45.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.5377, allocations: 1.069 MB / 0.5818 GB, free: 44.59 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5377, allocations: 0 / 0.5818 GB, free: 44.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/0.6056, allocations: 39.84 MB / 0.6207 GB, free: 4.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/9.164, allocations: 15.22 kB / 0.6207 GB, free: 4.758 MB / 414.1 MB (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