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.001306/0.001306, allocations: 113.8 kB / 17.78 MB, free: 5.277 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.001232/0.001232, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.216/0.216, allocations: 44.18 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.89 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3376, allocations: 60.83 MB / 0.5184 GB, free: 3.133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.01157/0.3492, allocations: 9.592 MB / 0.5278 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008737/0.358, allocations: 3.385 MB / 0.5311 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002323/0.3604, allocations: 50.53 kB / 0.5312 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005868/0.3663, allocations: 2.609 MB / 0.5337 GB, free: 8.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.3687, allocations: 0.5914 MB / 0.5343 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.3714, allocations: 0.7187 MB / 0.535 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003422/0.3749, allocations: 1.574 MB / 0.5365 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006121/0.381, allocations: 3.283 MB / 0.5397 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.384, allocations: 0.9981 MB / 0.5407 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.3869, allocations: 1.311 MB / 0.542 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.3883, allocations: 278.8 kB / 0.5422 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003258/0.3916, allocations: 1.001 MB / 0.5432 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002108/0.3937, allocations: 1.165 MB / 0.5444 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002983/0.3967, allocations: 1.368 MB / 0.5457 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00741/0.4042, allocations: 4.675 MB / 0.5503 GB, free: 11.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.4042, allocations: 0 / 0.5503 GB, free: 11.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4042, allocations: 0 / 0.5503 GB, free: 11.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001563/0.4044, allocations: 0 / 0.5503 GB, free: 11.26 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.0089/0.4133, allocations: 2.991 MB / 0.5532 GB, free: 8.203 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4134, allocations: 12.03 kB / 0.5532 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001122/0.4145, allocations: 419.1 kB / 0.5536 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/0.4162, allocations: 374.8 kB / 0.554 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.4192, allocations: 1.31 MB / 0.5552 GB, free: 6.043 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.4195, allocations: 156.2 kB / 0.5554 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006436/0.4201, allocations: 227.9 kB / 0.5556 GB, free: 5.664 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01561/0.4357, allocations: 6.468 MB / 0.5619 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.996e-05/0.4359, allocations: 11.88 kB / 0.5619 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006141/0.4365, allocations: 95.95 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001394/0.4379, allocations: 0.8123 MB / 0.5628 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.4524, allocations: 5.477 MB / 0.5682 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02981/0.4822, allocations: 19.01 MB / 0.5867 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007643/0.4899, allocations: 1.825 MB / 0.5885 GB, free: 3.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001192/0.4911, allocations: 0.69 MB / 0.5892 GB, free: 2.465 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007231/0.4984, allocations: 4.711 MB / 0.5938 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.4985, allocations: 43.12 kB / 0.5938 GB, free: 13.3 MB / 462.1 MB Notification: Performance of pre-optimization done (n=70): time 3.196e-06/0.4985, allocations: 0 / 0.5938 GB, free: 13.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.04303/0.5415, allocations: 8.876 MB / 0.6025 GB, free: 4.418 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.5417, allocations: 76.27 kB / 0.6026 GB, free: 4.332 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00328/0.5449, allocations: 1.839 MB / 0.6044 GB, free: 2.488 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001992/0.5452, allocations: 45.7 kB / 0.6044 GB, free: 2.438 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001334/0.5465, allocations: 1.581 MB / 0.6059 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/0.5471, allocations: 428.6 kB / 0.6064 GB, free: 428 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.5482, allocations: 0.5484 MB / 0.6069 GB, free: 15.86 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5483, allocations: 305.1 kB / 0.6072 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001868/0.5502, allocations: 1.013 MB / 0.6082 GB, free: 14.55 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/0.5534, allocations: 2.525 MB / 0.6106 GB, free: 11.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005379/0.5588, allocations: 3.815 MB / 0.6144 GB, free: 6.727 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.164e-05/0.5589, allocations: 16 kB / 0.6144 GB, free: 6.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.006838/0.5658, allocations: 3.548 MB / 0.6178 GB, free: 3.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.252e-05/0.5659, allocations: 32.06 kB / 0.6179 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/0.566, allocations: 55.94 kB / 0.6179 GB, free: 3.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.5661, allocations: 72 kB / 0.618 GB, free: 3.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002445/0.5686, allocations: 0.659 MB / 0.6186 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001139/0.5687, allocations: 107.6 kB / 0.6187 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/0.5706, allocations: 147.9 kB / 0.6189 GB, free: 2.094 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/0.571, allocations: 160 kB / 0.619 GB, free: 1.938 MB / 478.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.002077/0.5731, allocations: 1.137 MB / 0.6201 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004017/0.5735, allocations: 174.8 kB / 0.6203 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/0.577, allocations: 1.745 MB / 0.622 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.577, allocations: 16 kB / 0.622 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.5771, allocations: 3.938 kB / 0.622 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.5771, allocations: 7.969 kB / 0.622 GB, free: 14.83 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.5883, allocations: 5.586 MB / 0.6275 GB, free: 8.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.712e-05/0.5884, allocations: 12 kB / 0.6275 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009249/0.5894, allocations: 207.7 kB / 0.6277 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-05/0.5894, allocations: 19.98 kB / 0.6277 GB, free: 8.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/0.5895, allocations: 36 kB / 0.6278 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-05/0.5895, allocations: 23.88 kB / 0.6278 GB, free: 8.695 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.564e-05/0.5896, allocations: 15.94 kB / 0.6278 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.5921, allocations: 1.695 MB / 0.6295 GB, free: 6.805 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005504/0.5926, allocations: 259.9 kB / 0.6297 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.593, allocations: 35.98 kB / 0.6297 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000847/0.5938, allocations: 43.92 kB / 0.6298 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.594, allocations: 100.2 kB / 0.6299 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.5941, allocations: 40 kB / 0.6299 GB, free: 6.316 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002213/0.5964, allocations: 1.211 MB / 0.6311 GB, free: 5.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5964, allocations: 0 / 0.6311 GB, free: 5.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002475/0.5989, allocations: 0.5037 MB / 0.6316 GB, free: 4.609 MB / 494.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.003209/0.6021, allocations: 2.331 MB / 0.6339 GB, free: 2.105 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003959/0.6061, allocations: 2.223 MB / 0.636 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.6061, allocations: 0 / 0.636 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009739/0.6071, allocations: 0.6031 MB / 0.6366 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/0.6089, allocations: 261.6 kB / 0.6369 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0362/0.6451, allocations: 21.16 MB / 0.6575 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/0.648, allocations: 2.071 MB / 0.6596 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002116/0.6502, allocations: 0.7305 MB / 0.6603 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/0.6519, allocations: 0.9679 MB / 0.6612 GB, free: 3.766 MB / 0.5137 GB Notification: Performance of SimCode: time 9.71e-07/0.6519, allocations: 4 kB / 0.6612 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08408/0.736, allocations: 39.17 MB / 0.6995 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.13, allocations: 4.688 kB / 0.6995 GB, free: 12.82 MB / 0.5606 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_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.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_4.0.0_ModelicaTest.MultiBody.Joints.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches