Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001198/0.001198, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2273/0.2273, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 74.7 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1167, allocations: 62.45 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01062/0.1274, allocations: 9.558 MB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007242/0.1346, allocations: 3.441 MB / 493.1 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001879/0.1366, allocations: 47.88 kB / 493.2 MB, free: 8.094 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005295/0.1419, allocations: 2.601 MB / 495.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.1442, allocations: 0.5907 MB / 496.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.1464, allocations: 0.7211 MB / 497.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002175/0.1486, allocations: 1.551 MB / 498.6 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004041/0.1526, allocations: 3.302 MB / 0.4902 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.1542, allocations: 0.9895 MB / 0.4911 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.1561, allocations: 1.301 MB / 0.4924 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006915/0.1568, allocations: 276 kB / 0.4927 GB, free: 12.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.1588, allocations: 1.018 MB / 0.4937 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.1603, allocations: 1.169 MB / 0.4948 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.1627, allocations: 1.356 MB / 0.4961 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005151/0.1679, allocations: 4.561 MB / 0.5006 GB, free: 4.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1679, allocations: 4 kB / 0.5006 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.168, allocations: 0 / 0.5006 GB, free: 4.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001239/0.1681, allocations: 0 / 0.5006 GB, free: 4.559 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.00742/0.1755, allocations: 2.921 MB / 0.5035 GB, free: 1.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1756, allocations: 12.03 kB / 0.5035 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009131/0.1765, allocations: 431 kB / 0.5039 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.178, allocations: 361.1 kB / 0.5042 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1884/0.3664, allocations: 1.284 MB / 0.5055 GB, free: 39.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3666, allocations: 160.8 kB / 0.5056 GB, free: 39.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006306/0.3673, allocations: 217.3 kB / 0.5058 GB, free: 39.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.3818, allocations: 6.483 MB / 0.5122 GB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.77e-05/0.3819, allocations: 14.75 kB / 0.5122 GB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002354/0.3822, allocations: 94.38 kB / 0.5123 GB, free: 37.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001081/0.3833, allocations: 0.805 MB / 0.5131 GB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.3965, allocations: 5.489 MB / 0.5184 GB, free: 35.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/0.4156, allocations: 19.08 MB / 0.537 GB, free: 20.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006455/0.4221, allocations: 1.822 MB / 0.5388 GB, free: 18.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007683/0.4229, allocations: 0.6978 MB / 0.5395 GB, free: 18.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004565/0.4275, allocations: 4.779 MB / 0.5442 GB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.4275, allocations: 43.06 kB / 0.5442 GB, free: 12.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=70): time 2.514e-06/0.4276, allocations: 0 / 0.5442 GB, free: 12.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=110): time 0.03642/0.464, allocations: 8.72 MB / 0.5527 GB, free: 4.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.464, allocations: 64.41 kB / 0.5528 GB, free: 4.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/0.4658, allocations: 1.826 MB / 0.5546 GB, free: 2.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-05/0.4659, allocations: 45.7 kB / 0.5546 GB, free: 2.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/0.4665, allocations: 1.524 MB / 0.5561 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.4667, allocations: 414.5 kB / 0.5565 GB, free: 332 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006592/0.4674, allocations: 0.5403 MB / 0.557 GB, free: 15.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.836e-05/0.4675, allocations: 301.1 kB / 0.5573 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/0.469, allocations: 1.028 MB / 0.5583 GB, free: 14.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002815/0.4719, allocations: 2.533 MB / 0.5608 GB, free: 11.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004727/0.4766, allocations: 3.811 MB / 0.5645 GB, free: 6.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-05/0.4767, allocations: 16 kB / 0.5645 GB, free: 6.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005835/0.4825, allocations: 3.544 MB / 0.568 GB, free: 3.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.4826, allocations: 31.98 kB / 0.568 GB, free: 3.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.409e-05/0.4827, allocations: 55.94 kB / 0.5681 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.997e-05/0.4827, allocations: 72 kB / 0.5681 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/0.485, allocations: 0.6667 MB / 0.5688 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.967e-05/0.4851, allocations: 103.6 kB / 0.5689 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.4869, allocations: 155.8 kB / 0.569 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.4871, allocations: 156 kB / 0.5692 GB, free: 1.832 MB / 398.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.001767/0.4889, allocations: 1.129 MB / 0.5703 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/0.4892, allocations: 169.8 kB / 0.5705 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.4922, allocations: 1.761 MB / 0.5722 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4923, allocations: 11.94 kB / 0.5722 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.4923, allocations: 0 / 0.5722 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/0.4923, allocations: 11.97 kB / 0.5722 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009647/0.502, allocations: 5.43 MB / 0.5775 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.051e-05/0.502, allocations: 12 kB / 0.5775 GB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008794/0.5029, allocations: 211.6 kB / 0.5777 GB, free: 8.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.583e-05/0.5029, allocations: 19.94 kB / 0.5777 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.976e-05/0.503, allocations: 32 kB / 0.5778 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.827e-05/0.5031, allocations: 23.92 kB / 0.5778 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/0.5031, allocations: 16.34 kB / 0.5778 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.5053, allocations: 1.678 MB / 0.5794 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/0.5057, allocations: 258.8 kB / 0.5797 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000288/0.506, allocations: 39.98 kB / 0.5797 GB, free: 6.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007913/0.5068, allocations: 47.97 kB / 0.5798 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.507, allocations: 96.17 kB / 0.5799 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/0.5071, allocations: 51.92 kB / 0.5799 GB, free: 6.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002/0.5091, allocations: 1.195 MB / 0.5811 GB, free: 5.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5091, allocations: 0 / 0.5811 GB, free: 5.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002585/0.5117, allocations: 0.4947 MB / 0.5816 GB, free: 4.73 MB / 414.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.003031/0.5147, allocations: 2.317 MB / 0.5838 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004343/0.5191, allocations: 2.455 MB / 0.5862 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.5191, allocations: 0 / 0.5862 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009695/0.5201, allocations: 0.6031 MB / 0.5868 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.522, allocations: 270.2 kB / 0.5871 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03372/0.5557, allocations: 22.73 MB / 0.6093 GB, free: 5.273 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003015/0.5588, allocations: 2.071 MB / 0.6113 GB, free: 3.164 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0024/0.5612, allocations: 0.7227 MB / 0.612 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001706/0.5629, allocations: 0.964 MB / 0.6129 GB, free: 1.473 MB / 446.1 MB Notification: Performance of SimCode: time 1.182e-06/0.563, allocations: 0 / 0.6129 GB, free: 1.473 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07468/0.6376, allocations: 38.39 MB / 0.6504 GB, free: 11.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.657/9.295, allocations: 9.922 kB / 0.6504 GB, free: 11.25 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointSSR.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointSSR_res.csv","/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_trunk_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches