Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP",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.00123/0.00123, allocations: 103.9 kB / 16.4 MB, free: 6.52 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.00125/0.00125, allocations: 192.2 kB / 17.34 MB, free: 5.734 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.314/1.314, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.1933/0.1933, allocations: 43.52 MB / 314.1 MB, free: 460 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.001511/0.001511, allocations: 65.62 kB / 441.3 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.09427, allocations: 57.8 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.01075/0.1051, allocations: 10.29 MB / 0.4975 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.1112, allocations: 3.254 MB / 0.5006 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001315/0.1126, allocations: 51.88 kB / 0.5007 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004737/0.1173, allocations: 2.648 MB / 0.5033 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.1193, allocations: 0.7113 MB / 0.504 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.1207, allocations: 0.5262 MB / 0.5045 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00223/0.123, allocations: 1.621 MB / 0.5061 GB, free: 9.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003808/0.1268, allocations: 3.291 MB / 0.5093 GB, free: 5.758 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.1284, allocations: 1.001 MB / 0.5103 GB, free: 4.754 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.1303, allocations: 1.32 MB / 0.5115 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000614/0.131, allocations: 280 kB / 0.5118 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.1325, allocations: 0.7959 MB / 0.5126 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.134, allocations: 1.231 MB / 0.5138 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.1362, allocations: 1.438 MB / 0.5152 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.1413, allocations: 4.685 MB / 0.5198 GB, free: 10.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1413, allocations: 4 kB / 0.5198 GB, free: 10.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1413, allocations: 0 / 0.5198 GB, free: 10.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001411/0.1415, allocations: 4 kB / 0.5198 GB, free: 10.96 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: 897 * Number of variables: 897 Notification: Performance of Generate backend data structure: time 0.006109/0.1476, allocations: 3.019 MB / 0.5227 GB, free: 7.879 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1477, allocations: 15.89 kB / 0.5227 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007842/0.1485, allocations: 457.1 kB / 0.5232 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.1499, allocations: 374.7 kB / 0.5235 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002492/0.1524, allocations: 1.283 MB / 0.5248 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.1525, allocations: 176.7 kB / 0.525 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/0.153, allocations: 231.9 kB / 0.5252 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1933/0.3463, allocations: 6.019 MB / 0.5311 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.623e-05/0.3464, allocations: 15.94 kB / 0.5311 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.3467, allocations: 103 kB / 0.5312 GB, free: 36.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001495/0.3482, allocations: 0.964 MB / 0.5321 GB, free: 36.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.3587, allocations: 4.49 MB / 0.5365 GB, free: 36.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02419/0.3829, allocations: 18.49 MB / 0.5546 GB, free: 24.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.3873, allocations: 1.26 MB / 0.5558 GB, free: 23.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006533/0.388, allocations: 392.2 kB / 0.5562 GB, free: 23.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/0.3893, allocations: 2.052 MB / 0.5582 GB, free: 21.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3894, allocations: 46.81 kB / 0.5582 GB, free: 21.46 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.855e-06/0.3894, allocations: 0.5469 kB / 0.5582 GB, free: 21.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=110): time 0.02133/0.4107, allocations: 5.973 MB / 0.564 GB, free: 18.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.4108, allocations: 89.92 kB / 0.5641 GB, free: 18.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/0.4128, allocations: 1.84 MB / 0.5659 GB, free: 17.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/0.4129, allocations: 45.52 kB / 0.566 GB, free: 17.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006517/0.4135, allocations: 1.718 MB / 0.5676 GB, free: 16.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.4138, allocations: 429.6 kB / 0.5681 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/0.4143, allocations: 0.5555 MB / 0.5686 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.7e-05/0.4143, allocations: 301.1 kB / 0.5689 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000941/0.4153, allocations: 0.8044 MB / 0.5697 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.4167, allocations: 2.36 MB / 0.572 GB, free: 12.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.4194, allocations: 3.465 MB / 0.5754 GB, free: 8.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.912e-05/0.4194, allocations: 16 kB / 0.5754 GB, free: 8.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=361) (initialization): time 0.00379/0.4232, allocations: 3.172 MB / 0.5785 GB, free: 4.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.4233, allocations: 28 kB / 0.5785 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-05/0.4233, allocations: 56 kB / 0.5786 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.44e-05/0.4234, allocations: 76 kB / 0.5786 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.4251, allocations: 0.6469 MB / 0.5793 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.807e-05/0.4252, allocations: 107.6 kB / 0.5794 GB, free: 4.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4266, allocations: 128.3 kB / 0.5795 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000183/0.4268, allocations: 156 kB / 0.5796 GB, free: 3.789 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 249 * Number of states: 0 () * Number of discrete variables: 34 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (361): * Single equations (assignments): 361 * 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.001253/0.4281, allocations: 1.203 MB / 0.5808 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.4283, allocations: 186.7 kB / 0.581 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001723/0.4301, allocations: 1.267 MB / 0.5822 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.4301, allocations: 12 kB / 0.5822 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4301, allocations: 0 / 0.5822 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.4301, allocations: 7.969 kB / 0.5822 GB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009265/0.4394, allocations: 6.472 MB / 0.5886 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-05/0.4394, allocations: 20 kB / 0.5886 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/0.4401, allocations: 207.6 kB / 0.5888 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-05/0.4401, allocations: 28 kB / 0.5888 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-05/0.4402, allocations: 40 kB / 0.5888 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.797e-05/0.4403, allocations: 44.33 kB / 0.5889 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-05/0.4403, allocations: 27.88 kB / 0.5889 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4422, allocations: 1.689 MB / 0.5906 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/0.4428, allocations: 275.8 kB / 0.5908 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.443, allocations: 55.92 kB / 0.5909 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007169/0.4437, allocations: 35.98 kB / 0.5909 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.4439, allocations: 135.4 kB / 0.591 GB, free: 7.398 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.4439, allocations: 48 kB / 0.5911 GB, free: 7.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001626/0.4456, allocations: 1.236 MB / 0.5923 GB, free: 6.125 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4456, allocations: 0 / 0.5923 GB, free: 6.125 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002314/0.4479, allocations: 0.496 MB / 0.5928 GB, free: 5.629 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.002341/0.4503, allocations: 2.332 MB / 0.5951 GB, free: 3.008 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002925/0.4532, allocations: 1.891 MB / 0.5969 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/0.4533, allocations: 4 kB / 0.5969 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007185/0.454, allocations: 491.9 kB / 0.5974 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.4557, allocations: 272.5 kB / 0.5976 GB, free: 404 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/0.4857, allocations: 20.94 MB / 0.6181 GB, free: 8.863 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002447/0.4882, allocations: 2.19 MB / 0.6202 GB, free: 6.641 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0018/0.49, allocations: 0.7181 MB / 0.6209 GB, free: 5.922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.4916, allocations: 1.054 MB / 0.6219 GB, free: 4.867 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4916, allocations: 0 / 0.6219 GB, free: 4.867 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06493/0.5565, allocations: 36.56 MB / 0.6577 GB, free: 276 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.67, allocations: 8 kB / 0.6577 GB, free: 268 kB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_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_3_2_3_ModelicaTest_MultiBody_Joints_JointSSP.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointSSP/JointSSP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointSSP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches