Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002359/0.002359, allocations: 214.7 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2544/0.2544, allocations: 46.94 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 79.86 kB / 0.4962 GB, free: 7.879 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.364, allocations: 66.03 MB / 0.5607 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01716/0.3812, allocations: 13.33 MB / 0.5737 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.392, allocations: 4.915 MB / 0.5785 GB, free: 2.141 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.394, allocations: 95.56 kB / 0.5786 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007865/0.4019, allocations: 4.03 MB / 0.5825 GB, free: 14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006377/0.4082, allocations: 2.237 MB / 0.5847 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.4117, allocations: 1.193 MB / 0.5859 GB, free: 10.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0097/0.4214, allocations: 5.819 MB / 0.5915 GB, free: 4.734 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006052/0.4274, allocations: 4.037 MB / 0.5955 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003978/0.4314, allocations: 2.201 MB / 0.5976 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005149/0.4366, allocations: 3.194 MB / 0.6007 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.438, allocations: 0.5 MB / 0.6012 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.4413, allocations: 1.685 MB / 0.6029 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003144/0.4445, allocations: 2.723 MB / 0.6055 GB, free: 6.301 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003762/0.4482, allocations: 3.077 MB / 0.6085 GB, free: 3.207 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.4631, allocations: 10.11 MB / 0.6184 GB, free: 9.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4631, allocations: 0 / 0.6184 GB, free: 9.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4631, allocations: 0 / 0.6184 GB, free: 9.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003644/0.4635, allocations: 0 / 0.6184 GB, free: 9.051 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.02843/0.4919, allocations: 6.734 MB / 0.625 GB, free: 2.246 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.337e-05/0.492, allocations: 8.031 kB / 0.625 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005541/0.4975, allocations: 0.9216 MB / 0.6259 GB, free: 1.305 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09899/0.5965, allocations: 7.437 MB / 0.6332 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/0.6072, allocations: 4.068 MB / 0.6371 GB, free: 5.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004373/0.6077, allocations: 387.6 kB / 0.6375 GB, free: 5.336 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/0.6092, allocations: 427.7 kB / 0.6379 GB, free: 4.918 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02925/0.6385, allocations: 13.78 MB / 0.6514 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000224/0.6387, allocations: 51.58 kB / 0.6514 GB, free: 6.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001014/0.6397, allocations: 203.8 kB / 0.6516 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004089/0.6438, allocations: 2.406 MB / 0.654 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0398/0.6836, allocations: 11.62 MB / 0.6653 GB, free: 7.988 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/0.7856, allocations: 51 MB / 0.7151 GB, free: 3.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.7985, allocations: 4.044 MB / 0.7191 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004009/0.8025, allocations: 2.58 MB / 0.7216 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/0.823, allocations: 10.32 MB / 0.7317 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/0.8231, allocations: 55.88 kB / 0.7317 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 5.49e-06/0.8231, allocations: 3.938 kB / 0.7317 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.3954/1.218, allocations: 42.24 MB / 0.773 GB, free: 130 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.219, allocations: 239.6 kB / 0.7732 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006897/1.225, allocations: 4.804 MB / 0.7779 GB, free: 125 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000615/1.226, allocations: 61.7 kB / 0.778 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/1.228, allocations: 4.051 MB / 0.7819 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001385/1.23, allocations: 0.9616 MB / 0.7828 GB, free: 120.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002063/1.232, allocations: 1.465 MB / 0.7843 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.154e-05/1.232, allocations: 305.1 kB / 0.7846 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003987/1.236, allocations: 3.262 MB / 0.7878 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00556/1.241, allocations: 7.547 MB / 0.7951 GB, free: 105.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009859/1.251, allocations: 11.61 MB / 0.8065 GB, free: 91.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-05/1.251, allocations: 44 kB / 0.8065 GB, free: 91.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02513/1.276, allocations: 13.83 MB / 0.82 GB, free: 78.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/1.276, allocations: 68 kB / 0.8201 GB, free: 77.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001261/1.277, allocations: 152 kB / 0.8202 GB, free: 77.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01052/1.287, allocations: 3.778 MB / 0.8239 GB, free: 74.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004894/1.292, allocations: 1.602 MB / 0.8255 GB, free: 72.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02309/1.315, allocations: 19.05 MB / 0.8441 GB, free: 53.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00686/1.322, allocations: 459.4 kB / 0.8445 GB, free: 52.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.323, allocations: 432 kB / 0.8449 GB, free: 52.37 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00471/1.328, allocations: 2.652 MB / 0.8475 GB, free: 49.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009918/1.329, allocations: 453 kB / 0.848 GB, free: 49.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.345, allocations: 8.102 MB / 0.8559 GB, free: 41.13 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.039e-05/1.345, allocations: 31.98 kB / 0.8559 GB, free: 41.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-05/1.345, allocations: 12 kB / 0.8559 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-05/1.345, allocations: 7.969 kB / 0.8559 GB, free: 41.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03112/1.376, allocations: 17.25 MB / 0.8728 GB, free: 23.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/1.377, allocations: 0 / 0.8728 GB, free: 23.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/1.379, allocations: 387.4 kB / 0.8731 GB, free: 23.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/1.39, allocations: 3.839 MB / 0.8769 GB, free: 19.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005105/1.39, allocations: 41.86 kB / 0.8769 GB, free: 19.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02132/1.411, allocations: 17.44 MB / 0.8939 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.411, allocations: 0 / 0.8939 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02528/1.437, allocations: 12.52 MB / 0.9062 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.438, allocations: 400.8 kB / 0.9066 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008733/1.439, allocations: 43.98 kB / 0.9066 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/1.441, allocations: 207.7 kB / 0.9068 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005932/1.442, allocations: 158 kB / 0.9069 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/1.442, allocations: 59.98 kB / 0.907 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.005502/1.448, allocations: 2.998 MB / 0.9099 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/1.448, allocations: 0 / 0.9099 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007364/1.455, allocations: 1.425 MB / 0.9113 GB, free: 168 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02807/1.483, allocations: 13.23 MB / 0.9242 GB, free: 2.895 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01442/1.497, allocations: 7.595 MB / 0.9317 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/1.497, allocations: 0 / 0.9317 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005103/1.503, allocations: 2.741 MB / 0.9343 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003633/1.506, allocations: 0.5376 MB / 0.9349 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3781/1.884, allocations: 66.03 MB / 0.9993 GB, free: 218.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005404/1.89, allocations: 4.089 MB / 1.003 GB, free: 217.4 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004862/1.895, allocations: 2.178 MB / 1.005 GB, free: 217.3 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003695/1.898, allocations: 2.481 MB / 1.008 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.593e-06/1.898, allocations: 0 / 1.008 GB, free: 215.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1525/2.051, allocations: 109.8 MB / 1.115 GB, free: 107.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.74/35.79, allocations: 6.812 kB / 1.115 GB, free: 107.2 MB / 0.6544 GB " [Timeout remaining time 624] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,revolute.phi,revolute.w Variables in the result:time,revolute.phi,revolute.w [Calling sys.exit(0), Time elapsed: 39.32323863399506]