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.001162/0.001162, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.001091/0.001091, allocations: 194 kB / 18.12 MB, free: 5.383 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.345/1.345, allocations: 222.9 MB / 241.8 MB, free: 15.53 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.2142/0.2142, allocations: 44.17 MB / 336.1 MB, free: 3.051 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 65.16 kB / 407.8 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.123, allocations: 60.82 MB / 468.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.03348/0.1565, allocations: 34.07 MB / 0.4909 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02011/0.1767, allocations: 7.454 MB / 0.4982 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008073/0.1848, allocations: 139.7 kB / 0.4983 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005449/0.1903, allocations: 2.634 MB / 0.5009 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.1926, allocations: 0.5562 MB / 0.5014 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002146/0.1948, allocations: 0.6396 MB / 0.5021 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2696/0.4644, allocations: 2.554 MB / 0.5046 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004281/0.4687, allocations: 3.237 MB / 0.5077 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.4702, allocations: 0.889 MB / 0.5086 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.4721, allocations: 1.351 MB / 0.5099 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004499/0.4726, allocations: 196.3 kB / 0.5101 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.4747, allocations: 0.986 MB / 0.5111 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001384/0.4761, allocations: 1.101 MB / 0.5121 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.4778, allocations: 1.288 MB / 0.5134 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00528/0.4831, allocations: 4.51 MB / 0.5178 GB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4831, allocations: 0 / 0.5178 GB, free: 9.398 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4832, allocations: 0 / 0.5178 GB, free: 9.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.951e-05/0.4833, allocations: 0.9688 kB / 0.5178 GB, free: 9.398 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.007638/0.4909, allocations: 2.916 MB / 0.5206 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.491, allocations: 10 kB / 0.5206 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006577/0.4916, allocations: 432.5 kB / 0.5211 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.4929, allocations: 357.1 kB / 0.5214 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.4952, allocations: 1.292 MB / 0.5227 GB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.4954, allocations: 168.3 kB / 0.5228 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/0.4958, allocations: 221.2 kB / 0.523 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.5086, allocations: 6.472 MB / 0.5294 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.866e-05/0.5087, allocations: 11.38 kB / 0.5294 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002314/0.509, allocations: 97.94 kB / 0.5295 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001052/0.51, allocations: 0.8119 MB / 0.5303 GB, free: 3.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.5208, allocations: 5.46 MB / 0.5356 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02463/0.5455, allocations: 19.08 MB / 0.5542 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.5524, allocations: 1.808 MB / 0.556 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.5535, allocations: 0.6925 MB / 0.5567 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006585/0.5601, allocations: 4.714 MB / 0.5613 GB, free: 7.691 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.5602, allocations: 47.11 kB / 0.5613 GB, free: 7.633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=70): time 2.745e-06/0.5602, allocations: 0 / 0.5613 GB, free: 7.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.04245/0.6026, allocations: 8.831 MB / 0.5699 GB, free: 14.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.6027, allocations: 68.41 kB / 0.57 GB, free: 14.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003819/0.6066, allocations: 1.835 MB / 0.5718 GB, free: 12.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.6068, allocations: 45.7 kB / 0.5718 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.6082, allocations: 1.525 MB / 0.5733 GB, free: 11.33 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005321/0.6087, allocations: 406.4 kB / 0.5737 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/0.6099, allocations: 0.548 MB / 0.5742 GB, free: 10.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.61, allocations: 305.1 kB / 0.5745 GB, free: 10.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.6118, allocations: 1.02 MB / 0.5755 GB, free: 9.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/0.6148, allocations: 2.521 MB / 0.578 GB, free: 5.828 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005164/0.6199, allocations: 3.809 MB / 0.5817 GB, free: 1.496 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.064e-05/0.62, allocations: 16 kB / 0.5817 GB, free: 1.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006919/0.6269, allocations: 3.536 MB / 0.5852 GB, free: 14.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.338e-05/0.627, allocations: 28 kB / 0.5852 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001027/0.6271, allocations: 54.91 kB / 0.5853 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.96e-05/0.6272, allocations: 72 kB / 0.5853 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.6296, allocations: 0.6623 MB / 0.586 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001371/0.6298, allocations: 102 kB / 0.5861 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/0.632, allocations: 155.8 kB / 0.5862 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/0.6323, allocations: 160.1 kB / 0.5864 GB, free: 13.11 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.002351/0.6347, allocations: 1.138 MB / 0.5875 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004352/0.6351, allocations: 173.8 kB / 0.5876 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.6386, allocations: 1.756 MB / 0.5894 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6386, allocations: 8 kB / 0.5894 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.6386, allocations: 4 kB / 0.5894 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6386, allocations: 7.922 kB / 0.5894 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/0.6506, allocations: 5.586 MB / 0.5948 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.791e-05/0.6506, allocations: 12 kB / 0.5948 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/0.6516, allocations: 211.7 kB / 0.5951 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.311e-05/0.6516, allocations: 16 kB / 0.5951 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.6517, allocations: 36 kB / 0.5951 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.202e-05/0.6517, allocations: 22.61 kB / 0.5951 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/0.6517, allocations: 21.28 kB / 0.5951 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.6542, allocations: 1.678 MB / 0.5968 GB, free: 2.184 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/0.6548, allocations: 253.4 kB / 0.597 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/0.6553, allocations: 39.92 kB / 0.5971 GB, free: 1.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.6563, allocations: 47.97 kB / 0.5971 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.6565, allocations: 96.27 kB / 0.5972 GB, free: 1.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.6566, allocations: 43.98 kB / 0.5972 GB, free: 1.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002803/0.6594, allocations: 1.203 MB / 0.5984 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6594, allocations: 0 / 0.5984 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00338/0.6628, allocations: 0.4961 MB / 0.5989 GB, free: 12 kB / 446.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.003347/0.6662, allocations: 2.317 MB / 0.6012 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004085/0.6703, allocations: 2.189 MB / 0.6033 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/0.6703, allocations: 1.875 kB / 0.6033 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009195/0.6712, allocations: 0.6039 MB / 0.6039 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.6732, allocations: 259.7 kB / 0.6041 GB, free: 10.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04348/0.7167, allocations: 23.79 MB / 0.6274 GB, free: 156 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003521/0.7202, allocations: 2.071 MB / 0.6294 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002694/0.723, allocations: 0.7343 MB / 0.6301 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001912/0.7249, allocations: 0.964 MB / 0.6311 GB, free: 12.34 MB / 494.1 MB Notification: Performance of SimCode: time 8.41e-07/0.7249, allocations: 4 kB / 0.6311 GB, free: 12.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0897/0.8146, allocations: 37.66 MB / 0.6678 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.8149, allocations: 192.1 kB / 0.668 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.798/3.613, allocations: 2.625 kB / 0.668 GB, free: 6.684 MB / 0.5137 GB (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