Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001288/0.001288, allocations: 80.34 kB / 20.66 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 160.9 kB / 23.94 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9203/0.9203, allocations: 177.1 MB / 204.2 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2814/0.2814, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.2 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.234e-05, allocations: 2.281 kB / 442.2 MB, free: 1.582 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2127/0.2127, allocations: 11.57 MB / 453.8 MB, free: 37.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007561/0.2203, allocations: 4.645 MB / 458.4 MB, free: 34.74 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.2225, allocations: 96.44 kB / 458.5 MB, free: 34.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.227, allocations: 4.055 MB / 462.6 MB, free: 33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005737/0.2327, allocations: 2.283 MB / 464.9 MB, free: 31.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.2352, allocations: 1.29 MB / 466.2 MB, free: 31.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007733/0.2429, allocations: 6.46 MB / 472.6 MB, free: 29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005059/0.248, allocations: 4.533 MB / 477.2 MB, free: 27 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005527/0.2535, allocations: 3.302 MB / 480.5 MB, free: 25.54 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004289/0.2578, allocations: 3.193 MB / 483.7 MB, free: 24.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001552/0.2594, allocations: 0.5086 MB / 484.2 MB, free: 24.68 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003206/0.2626, allocations: 1.593 MB / 485.8 MB, free: 24.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0036/0.2662, allocations: 2.765 MB / 488.5 MB, free: 23.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00471/0.2709, allocations: 1.855 MB / 490.4 MB, free: 22.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.2843, allocations: 10.26 MB / 0.4889 GB, free: 17.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.2843, allocations: 1.219 kB / 0.4889 GB, free: 17.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.2843, allocations: 3.984 kB / 0.4889 GB, free: 17.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004295/0.2847, allocations: 0 / 0.4889 GB, free: 17.57 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.02263/0.3073, allocations: 6.865 MB / 0.4956 GB, free: 12.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.299e-05/0.3074, allocations: 13.09 kB / 0.4956 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004469/0.3119, allocations: 0.919 MB / 0.4965 GB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04436/0.3562, allocations: 7.719 MB / 0.5041 GB, free: 6.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009563/0.3658, allocations: 3.758 MB / 0.5077 GB, free: 2.961 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002553/0.3661, allocations: 376.1 kB / 0.5081 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002369/0.3684, allocations: 432.3 kB / 0.5085 GB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0246/0.393, allocations: 13.9 MB / 0.5221 GB, free: 3.371 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001694/0.3932, allocations: 55.53 kB / 0.5221 GB, free: 3.316 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007361/0.3939, allocations: 199.7 kB / 0.5223 GB, free: 3.125 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.3963, allocations: 2.414 MB / 0.5247 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02005/0.4163, allocations: 11.63 MB / 0.536 GB, free: 5.066 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.06178/0.4781, allocations: 49 MB / 0.5839 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008498/0.4866, allocations: 4.231 MB / 0.588 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/0.4901, allocations: 2.586 MB / 0.5905 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/0.5056, allocations: 9.911 MB / 0.6002 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.5057, allocations: 63.8 kB / 0.6003 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 5.911e-06/0.5057, allocations: 0 / 0.6003 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.304/0.8097, allocations: 43.84 MB / 0.6431 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.749e-05/0.8097, allocations: 230.5 kB / 0.6433 GB, free: 151 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005577/0.8153, allocations: 5.39 MB / 0.6486 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005959/0.8159, allocations: 62.83 kB / 0.6486 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.8176, allocations: 4.057 MB / 0.6526 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.8188, allocations: 0.9525 MB / 0.6535 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001519/0.8203, allocations: 1.472 MB / 0.655 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.8203, allocations: 304.3 kB / 0.6553 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003214/0.8235, allocations: 3.273 MB / 0.6585 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/0.828, allocations: 7.607 MB / 0.6659 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/0.8385, allocations: 11.62 MB / 0.6772 GB, free: 127 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001643/0.8387, allocations: 46.88 kB / 0.6773 GB, free: 127 MB / 0.5261 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02382/0.8625, allocations: 13.85 MB / 0.6908 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.8626, allocations: 70.12 kB / 0.6909 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/0.8628, allocations: 153.8 kB / 0.691 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008028/0.8708, allocations: 3.767 MB / 0.6947 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004298/0.8751, allocations: 1.61 MB / 0.6963 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/0.8919, allocations: 18.88 MB / 0.7147 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005967/0.8978, allocations: 0.5105 MB / 0.7152 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/0.8992, allocations: 427.8 kB / 0.7156 GB, free: 107.2 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.004483/0.9037, allocations: 2.659 MB / 0.7182 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009751/0.9047, allocations: 451.5 kB / 0.7186 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009578/0.9143, allocations: 8.102 MB / 0.7265 GB, free: 96.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.26e-05/0.9143, allocations: 27.98 kB / 0.7266 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.9143, allocations: 12 kB / 0.7266 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/0.9143, allocations: 14.55 kB / 0.7266 GB, free: 96.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/0.9364, allocations: 16.73 MB / 0.7429 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.258e-05/0.9364, allocations: 0 / 0.7429 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/0.9378, allocations: 387.4 kB / 0.7433 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00633/0.9442, allocations: 3.831 MB / 0.7471 GB, free: 75.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004134/0.9446, allocations: 40 kB / 0.7471 GB, free: 75.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/0.9583, allocations: 17.27 MB / 0.764 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9583, allocations: 0 / 0.764 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.9727, allocations: 12.52 MB / 0.7762 GB, free: 45.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001775/0.9744, allocations: 463.9 kB / 0.7766 GB, free: 44.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001985/0.9764, allocations: 35.52 kB / 0.7767 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00268/0.9791, allocations: 255.6 kB / 0.7769 GB, free: 44.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007928/0.9799, allocations: 162.1 kB / 0.7771 GB, free: 44.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.98, allocations: 56 kB / 0.7771 GB, free: 44.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005091/0.9851, allocations: 3.264 MB / 0.7803 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9851, allocations: 4.062 kB / 0.7803 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008248/0.9934, allocations: 1.535 MB / 0.7818 GB, free: 39.41 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.01544/1.009, allocations: 13.25 MB / 0.7947 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009139/1.018, allocations: 7.592 MB / 0.8022 GB, free: 18.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.018, allocations: 0 / 0.8022 GB, free: 18.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/1.021, allocations: 2.742 MB / 0.8048 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/1.023, allocations: 0.5441 MB / 0.8054 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2763/1.3, allocations: 66.99 MB / 0.8708 GB, free: 158.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004739/1.304, allocations: 3.584 MB / 0.8743 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004389/1.309, allocations: 2.188 MB / 0.8764 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002998/1.312, allocations: 2.49 MB / 0.8789 GB, free: 155.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/1.312, allocations: 4 kB / 0.8789 GB, free: 155.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1181/1.43, allocations: 107 MB / 0.9834 GB, free: 67.17 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/12.24, allocations: 11.88 kB / 0.9834 GB, free: 67.16 MB / 0.5573 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 14.587511694990098]