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.0008298/0.0008298, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008523/0.0008523, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.897/0.897, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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.2522/0.2522, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] 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 1.663e-06/1.663e-06, allocations: 0 / 442.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.674e-05, allocations: 4.812 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2209/0.221, allocations: 11.59 MB / 453.8 MB, free: 37.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008602/0.2296, allocations: 4.646 MB / 458.4 MB, free: 34.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.2316, allocations: 96.38 kB / 458.5 MB, free: 34.77 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004612/0.2362, allocations: 4.062 MB / 462.6 MB, free: 33.05 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.2416, allocations: 2.316 MB / 464.9 MB, free: 31.94 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.2435, allocations: 1.295 MB / 466.2 MB, free: 31.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006244/0.2498, allocations: 6.55 MB / 472.7 MB, free: 28.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00472/0.2545, allocations: 4.535 MB / 477.3 MB, free: 26.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/0.2591, allocations: 3.329 MB / 480.6 MB, free: 25.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004977/0.2641, allocations: 3.199 MB / 483.8 MB, free: 24.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.266, allocations: 0.5089 MB / 484.3 MB, free: 24.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003769/0.2697, allocations: 1.593 MB / 485.9 MB, free: 24.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003301/0.273, allocations: 2.844 MB / 488.7 MB, free: 23.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004096/0.2771, allocations: 1.861 MB / 490.6 MB, free: 22.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01552/0.2927, allocations: 10.27 MB / 0.4891 GB, free: 17.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.2927, allocations: 0 / 0.4891 GB, free: 17.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.2927, allocations: 0.9688 kB / 0.4891 GB, free: 17.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005393/0.2932, allocations: 0 / 0.4891 GB, free: 17.37 MB / 410.7 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.01929/0.3125, allocations: 6.785 MB / 0.4958 GB, free: 12.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.3125, allocations: 10.19 kB / 0.4958 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001909/0.3145, allocations: 0.9184 MB / 0.4967 GB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04038/0.3548, allocations: 7.73 MB / 0.5042 GB, free: 6.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00772/0.3626, allocations: 3.751 MB / 0.5079 GB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002067/0.3628, allocations: 376.1 kB / 0.5082 GB, free: 2.484 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.3647, allocations: 432.3 kB / 0.5086 GB, free: 2.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02198/0.3867, allocations: 13.9 MB / 0.5222 GB, free: 3.277 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.3868, allocations: 64.59 kB / 0.5223 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004886/0.3873, allocations: 195.8 kB / 0.5225 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002324/0.3896, allocations: 2.41 MB / 0.5248 GB, free: 0.6133 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.4074, allocations: 11.63 MB / 0.5362 GB, free: 4.977 MB / 442.7 MB 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.05379/0.4612, allocations: 49 MB / 0.584 GB, free: 2.711 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008459/0.4697, allocations: 4.226 MB / 0.5882 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003165/0.4728, allocations: 2.585 MB / 0.5907 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/0.4857, allocations: 9.919 MB / 0.6004 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.4858, allocations: 59.75 kB / 0.6004 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 4.688e-06/0.4858, allocations: 0 / 0.6004 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.285/0.7707, allocations: 43.83 MB / 0.6432 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.121e-05/0.7708, allocations: 242.6 kB / 0.6435 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007319/0.7781, allocations: 5.386 MB / 0.6487 GB, free: 149.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008546/0.779, allocations: 62.73 kB / 0.6488 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.7807, allocations: 4.016 MB / 0.6527 GB, free: 146 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001205/0.782, allocations: 0.9457 MB / 0.6536 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.7835, allocations: 1.449 MB / 0.655 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.062e-05/0.7836, allocations: 302.6 kB / 0.6553 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/0.787, allocations: 3.268 MB / 0.6585 GB, free: 143.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004743/0.7917, allocations: 7.61 MB / 0.666 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/0.803, allocations: 11.62 MB / 0.6773 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002205/0.8032, allocations: 42.47 kB / 0.6773 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.0271/0.8303, allocations: 13.85 MB / 0.6909 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.8304, allocations: 69.31 kB / 0.6909 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002179/0.8306, allocations: 151.2 kB / 0.6911 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/0.8383, allocations: 3.781 MB / 0.6948 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00476/0.8431, allocations: 1.607 MB / 0.6963 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01709/0.8602, allocations: 18.89 MB / 0.7148 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005704/0.8659, allocations: 0.4981 MB / 0.7153 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/0.8671, allocations: 438.9 kB / 0.7157 GB, free: 107.3 MB / 0.5261 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.004809/0.8719, allocations: 2.652 MB / 0.7183 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008663/0.8727, allocations: 463.3 kB / 0.7187 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009836/0.8826, allocations: 8.098 MB / 0.7266 GB, free: 96.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.629e-05/0.8826, allocations: 28 kB / 0.7267 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.8826, allocations: 12 kB / 0.7267 GB, free: 96.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/0.8826, allocations: 7.969 kB / 0.7267 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/0.9057, allocations: 16.73 MB / 0.743 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/0.9057, allocations: 0 / 0.743 GB, free: 79.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.9069, allocations: 395.4 kB / 0.7434 GB, free: 79.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006283/0.9132, allocations: 3.826 MB / 0.7471 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004322/0.9136, allocations: 47.94 kB / 0.7472 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01445/0.928, allocations: 17.26 MB / 0.764 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.928, allocations: 0 / 0.764 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/0.9424, allocations: 12.53 MB / 0.7763 GB, free: 45.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/0.9441, allocations: 456.8 kB / 0.7767 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006689/0.9448, allocations: 40 kB / 0.7767 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.9463, allocations: 251.6 kB / 0.777 GB, free: 44.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005056/0.9468, allocations: 158.1 kB / 0.7771 GB, free: 44.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.947, allocations: 60 kB / 0.7772 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003987/0.9509, allocations: 3.268 MB / 0.7804 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.4e-07/0.9509, allocations: 0 / 0.7804 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008146/0.9591, allocations: 1.535 MB / 0.7819 GB, free: 39.47 MB / 0.5261 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.0155/0.9746, allocations: 13.25 MB / 0.7948 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009656/0.9842, allocations: 7.597 MB / 0.8022 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.9842, allocations: 0.875 kB / 0.8022 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.987, allocations: 2.74 MB / 0.8049 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003023/0.9901, allocations: 0.5423 MB / 0.8054 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3077/1.298, allocations: 66.98 MB / 0.8709 GB, free: 158.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005439/1.303, allocations: 3.585 MB / 0.8744 GB, free: 157.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004574/1.308, allocations: 2.188 MB / 0.8765 GB, free: 157.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003531/1.311, allocations: 2.493 MB / 0.8789 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of SimCode: time 2.034e-06/1.311, allocations: 0.625 kB / 0.8789 GB, free: 155.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/1.43, allocations: 106.8 MB / 0.9832 GB, free: 67.61 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.59, allocations: 3.375 kB / 0.9832 GB, free: 67.61 MB / 0.5573 GB " [Timeout remaining time 646] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/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: 15.88453228957951]