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.001419/0.001419, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001516/0.001516, allocations: 207.6 kB / 23.73 MB, free: 4.379 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2353/0.2353, allocations: 46.96 MB / 360.9 MB, free: 4.047 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.002095/0.002095, allocations: 76.11 kB / 0.4961 GB, free: 8.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3863, allocations: 66.02 MB / 0.5606 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01102/0.3973, allocations: 11.59 MB / 0.5719 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008951/0.4063, allocations: 4.622 MB / 0.5764 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.4084, allocations: 97.44 kB / 0.5765 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007517/0.416, allocations: 3.867 MB / 0.5803 GB, free: 21.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00713/0.4231, allocations: 2.247 MB / 0.5825 GB, free: 20.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00371/0.4268, allocations: 1.183 MB / 0.5836 GB, free: 19.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.4385, allocations: 5.829 MB / 0.5893 GB, free: 17.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007055/0.4456, allocations: 4.034 MB / 0.5933 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004987/0.4506, allocations: 2.205 MB / 0.5954 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005217/0.4558, allocations: 3.194 MB / 0.5985 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002135/0.4579, allocations: 0.4996 MB / 0.599 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00497/0.4629, allocations: 1.546 MB / 0.6005 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004188/0.4671, allocations: 2.723 MB / 0.6032 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005738/0.4728, allocations: 2.317 MB / 0.6055 GB, free: 8.551 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.4855, allocations: 10.15 MB / 0.6154 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.4855, allocations: 4 kB / 0.6154 GB, free: 14.35 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4855, allocations: 0 / 0.6154 GB, free: 14.35 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003185/0.4858, allocations: 0 / 0.6154 GB, free: 14.35 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.0187/0.5045, allocations: 6.738 MB / 0.622 GB, free: 7.543 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.5045, allocations: 12.03 kB / 0.622 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001912/0.5064, allocations: 0.9138 MB / 0.6229 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08218/0.5886, allocations: 7.441 MB / 0.6301 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.6, allocations: 4.079 MB / 0.6341 GB, free: 11.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004482/0.6004, allocations: 379.7 kB / 0.6345 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.6025, allocations: 443.7 kB / 0.6349 GB, free: 10.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02983/0.6323, allocations: 13.87 MB / 0.6484 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001924/0.6325, allocations: 55.56 kB / 0.6485 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008969/0.6334, allocations: 203.8 kB / 0.6487 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004117/0.6375, allocations: 2.406 MB / 0.651 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02595/0.6635, allocations: 11.6 MB / 0.6624 GB, free: 13.16 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.08379/0.7473, allocations: 48.33 MB / 0.7096 GB, free: 11.53 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.7599, allocations: 4.035 MB / 0.7135 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/0.764, allocations: 2.583 MB / 0.716 GB, free: 4.855 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0215/0.7855, allocations: 9.769 MB / 0.7256 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.386e-05/0.7855, allocations: 51.88 kB / 0.7256 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=191): time 5.5e-06/0.7855, allocations: 0 / 0.7256 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=242): time 0.1496/0.9351, allocations: 42.38 MB / 0.767 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.9353, allocations: 235.6 kB / 0.7672 GB, free: 228 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2762/1.211, allocations: 5.053 MB / 0.7722 GB, free: 166.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005929/1.212, allocations: 61.39 kB / 0.7722 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.002334/1.214, allocations: 4.054 MB / 0.7762 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009556/1.215, allocations: 0.9564 MB / 0.7771 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/1.217, allocations: 1.468 MB / 0.7786 GB, free: 163.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/1.217, allocations: 304.1 kB / 0.7788 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003976/1.221, allocations: 3.264 MB / 0.782 GB, free: 161.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009693/1.231, allocations: 7.601 MB / 0.7895 GB, free: 154.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01531/1.246, allocations: 11.6 MB / 0.8008 GB, free: 146 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002584/1.246, allocations: 42.12 kB / 0.8008 GB, free: 146 MB / 0.5919 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.03439/1.281, allocations: 13.83 MB / 0.8143 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001755/1.281, allocations: 71.2 kB / 0.8144 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003543/1.281, allocations: 151.9 kB / 0.8145 GB, free: 141.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/1.293, allocations: 3.772 MB / 0.8182 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005801/1.299, allocations: 1.601 MB / 0.8198 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/1.322, allocations: 18.88 MB / 0.8382 GB, free: 128 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006931/1.329, allocations: 454.7 kB / 0.8387 GB, free: 127.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001449/1.33, allocations: 432 kB / 0.8391 GB, free: 127.1 MB / 0.5919 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.004887/1.335, allocations: 2.661 MB / 0.8417 GB, free: 124.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/1.336, allocations: 455 kB / 0.8421 GB, free: 124 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/1.351, allocations: 8.095 MB / 0.85 GB, free: 115.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/1.351, allocations: 27.56 kB / 0.85 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/1.351, allocations: 15.98 kB / 0.85 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.888e-05/1.351, allocations: 15.97 kB / 0.8501 GB, free: 115.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03183/1.383, allocations: 16.63 MB / 0.8663 GB, free: 99.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.721e-05/1.383, allocations: 4 kB / 0.8663 GB, free: 99.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/1.385, allocations: 395.3 kB / 0.8667 GB, free: 98.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01035/1.396, allocations: 3.827 MB / 0.8704 GB, free: 94.95 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005433/1.396, allocations: 43.98 kB / 0.8705 GB, free: 94.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/1.416, allocations: 17.26 MB / 0.8873 GB, free: 77.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.416, allocations: 0 / 0.8873 GB, free: 77.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/1.437, allocations: 12.53 MB / 0.8996 GB, free: 64.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.438, allocations: 402 kB / 0.8999 GB, free: 64.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/1.439, allocations: 47.73 kB / 0.9 GB, free: 64.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.442, allocations: 207.6 kB / 0.9002 GB, free: 64.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000649/1.443, allocations: 154.2 kB / 0.9003 GB, free: 64.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/1.443, allocations: 67.94 kB / 0.9004 GB, free: 64.11 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004389/1.447, allocations: 2.998 MB / 0.9033 GB, free: 61.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/1.447, allocations: 0 / 0.9033 GB, free: 61.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007655/1.455, allocations: 1.422 MB / 0.9047 GB, free: 59.69 MB / 0.5919 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.02117/1.476, allocations: 13.23 MB / 0.9176 GB, free: 46.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.488, allocations: 7.591 MB / 0.925 GB, free: 38.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.488, allocations: 384 / 0.925 GB, free: 38.85 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004218/1.492, allocations: 2.74 MB / 0.9277 GB, free: 36.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006284/1.498, allocations: 0.5334 MB / 0.9282 GB, free: 35.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1235/1.622, allocations: 66.03 MB / 0.9927 GB, free: 11 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007347/1.629, allocations: 3.592 MB / 0.9962 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005477/1.635, allocations: 2.171 MB / 0.9984 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004805/1.64, allocations: 2.475 MB / 1.001 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of SimCode: time 1.693e-06/1.64, allocations: 3.938 kB / 1.001 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4516/2.091, allocations: 107.8 MB / 1.106 GB, free: 159.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/19.82, allocations: 0 / 1.106 GB, free: 159.3 MB / 0.6544 GB " [Timeout remaining time 640] (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: 23.16099707898684]