Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_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.001723/0.001723, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001981/0.001981, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2069/0.2069, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 67.83 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09918, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01036/0.1096, allocations: 9.592 MB / 479 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006221/0.1158, allocations: 3.383 MB / 482.3 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.1171, allocations: 47.94 kB / 482.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004565/0.1217, allocations: 2.605 MB / 485 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.1236, allocations: 0.6062 MB / 485.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001815/0.1254, allocations: 0.7094 MB / 486.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.1276, allocations: 1.571 MB / 487.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/0.1313, allocations: 3.294 MB / 491.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.1327, allocations: 0.9972 MB / 492.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.1346, allocations: 1.309 MB / 493.5 MB, free: 6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006342/0.1352, allocations: 276 kB / 493.7 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.137, allocations: 0.9948 MB / 494.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.1382, allocations: 1.165 MB / 495.9 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.14, allocations: 1.368 MB / 497.3 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.1444, allocations: 4.557 MB / 0.4901 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1444, allocations: 0 / 0.4901 GB, free: 13.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1444, allocations: 0 / 0.4901 GB, free: 13.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001291/0.1445, allocations: 0 / 0.4901 GB, free: 13.62 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.006228/0.1508, allocations: 2.924 MB / 0.4929 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1508, allocations: 12.03 kB / 0.4929 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004793/0.1513, allocations: 427.1 kB / 0.4933 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.1525, allocations: 361.1 kB / 0.4937 GB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.1547, allocations: 1.301 MB / 0.495 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.1548, allocations: 164.2 kB / 0.4951 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003564/0.1552, allocations: 212 kB / 0.4953 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.1674, allocations: 6.472 MB / 0.5016 GB, free: 1.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.905e-05/0.1675, allocations: 15.88 kB / 0.5017 GB, free: 1.348 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002188/0.1678, allocations: 103.9 kB / 0.5018 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001055/0.1688, allocations: 0.8085 MB / 0.5025 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2182/0.3871, allocations: 5.464 MB / 0.5079 GB, free: 46.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02588/0.413, allocations: 19.08 MB / 0.5265 GB, free: 33.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0071/0.4201, allocations: 1.812 MB / 0.5283 GB, free: 32.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008471/0.421, allocations: 0.6883 MB / 0.5289 GB, free: 32.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005354/0.4264, allocations: 4.711 MB / 0.5335 GB, free: 28.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4264, allocations: 43.03 kB / 0.5336 GB, free: 28.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 4.428e-06/0.4264, allocations: 0 / 0.5336 GB, free: 28.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.03993/0.4664, allocations: 8.839 MB / 0.5422 GB, free: 20 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.4665, allocations: 64.41 kB / 0.5423 GB, free: 19.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.4689, allocations: 1.839 MB / 0.5441 GB, free: 18.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.4691, allocations: 41.7 kB / 0.5441 GB, free: 18.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007018/0.4698, allocations: 1.531 MB / 0.5456 GB, free: 16.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.4701, allocations: 408.7 kB / 0.546 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006994/0.4708, allocations: 0.548 MB / 0.5465 GB, free: 15.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.4709, allocations: 301.1 kB / 0.5468 GB, free: 15.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.4722, allocations: 1.017 MB / 0.5478 GB, free: 14.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.4741, allocations: 2.529 MB / 0.5503 GB, free: 10.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/0.4777, allocations: 3.811 MB / 0.554 GB, free: 6.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.8e-05/0.4778, allocations: 16 kB / 0.554 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.004955/0.4828, allocations: 3.532 MB / 0.5575 GB, free: 2.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.4828, allocations: 32.03 kB / 0.5575 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-05/0.4829, allocations: 52 kB / 0.5576 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.26e-05/0.483, allocations: 74.62 kB / 0.5576 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/0.485, allocations: 0.6667 MB / 0.5583 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.487e-05/0.4851, allocations: 103.6 kB / 0.5584 GB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.4869, allocations: 151.8 kB / 0.5585 GB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.4871, allocations: 152 kB / 0.5587 GB, free: 1.648 MB / 382.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.001449/0.4886, allocations: 1.137 MB / 0.5598 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003157/0.4889, allocations: 169.8 kB / 0.5599 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/0.4919, allocations: 1.761 MB / 0.5617 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.4919, allocations: 12 kB / 0.5617 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.4919, allocations: 0 / 0.5617 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.4919, allocations: 3.984 kB / 0.5617 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01091/0.5029, allocations: 5.598 MB / 0.5671 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.254e-05/0.5029, allocations: 11.94 kB / 0.5671 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009272/0.5039, allocations: 211.6 kB / 0.5674 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.143e-05/0.5039, allocations: 19.98 kB / 0.5674 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.504, allocations: 32 kB / 0.5674 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-05/0.5041, allocations: 23.92 kB / 0.5674 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-05/0.5041, allocations: 19.88 kB / 0.5674 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002661/0.5068, allocations: 1.682 MB / 0.5691 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007216/0.5075, allocations: 250.8 kB / 0.5693 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005026/0.508, allocations: 35.98 kB / 0.5694 GB, free: 6.246 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.5095, allocations: 41.66 kB / 0.5694 GB, free: 6.207 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.5098, allocations: 104.2 kB / 0.5695 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.51, allocations: 47.92 kB / 0.5695 GB, free: 6.059 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003182/0.5132, allocations: 1.203 MB / 0.5707 GB, free: 4.863 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.152e-06/0.5132, allocations: 0 / 0.5707 GB, free: 4.863 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004286/0.5175, allocations: 0.496 MB / 0.5712 GB, free: 4.371 MB / 398.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.004624/0.5221, allocations: 2.308 MB / 0.5735 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004771/0.5269, allocations: 2.446 MB / 0.5758 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/0.527, allocations: 4 kB / 0.5758 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008894/0.5279, allocations: 0.6069 MB / 0.5764 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.5297, allocations: 264.7 kB / 0.5767 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/0.5651, allocations: 22.73 MB / 0.5989 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/0.5681, allocations: 2.075 MB / 0.6009 GB, free: 2.812 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002323/0.5705, allocations: 0.7252 MB / 0.6016 GB, free: 2.086 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001838/0.5724, allocations: 0.964 MB / 0.6026 GB, free: 1.121 MB / 430.1 MB Notification: Performance of SimCode: time 2.265e-06/0.5724, allocations: 0 / 0.6026 GB, free: 1.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07437/0.6468, allocations: 38.52 MB / 0.6402 GB, free: 10.81 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.462/9.109, allocations: 7.5 kB / 0.6402 GB, free: 10.81 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches