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.0009554/0.0009554, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0008341/0.0008341, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.9458/0.9458, allocations: 177 MB / 204.1 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.2591/0.2591, allocations: 34.24 MB / 294.8 MB, free: 0.6836 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.734e-06/1.734e-06, allocations: 7.875 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.882e-05, allocations: 2.281 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2352/0.2352, allocations: 11.57 MB / 453.8 MB, free: 37.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006588/0.2418, allocations: 4.641 MB / 458.4 MB, free: 34.73 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.2435, allocations: 97.09 kB / 458.5 MB, free: 34.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003622/0.2472, allocations: 4.061 MB / 462.5 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.251, allocations: 2.322 MB / 464.9 MB, free: 31.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.2531, allocations: 1.29 MB / 466.2 MB, free: 31.31 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005855/0.2589, allocations: 6.551 MB / 472.7 MB, free: 28.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003829/0.2628, allocations: 4.534 MB / 477.2 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.2665, allocations: 3.319 MB / 480.6 MB, free: 25.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.2702, allocations: 3.199 MB / 483.8 MB, free: 24.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.2714, allocations: 0.5082 MB / 484.3 MB, free: 24.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.2743, allocations: 1.606 MB / 485.9 MB, free: 24.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002469/0.2767, allocations: 2.844 MB / 488.7 MB, free: 22.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003975/0.2807, allocations: 1.853 MB / 490.6 MB, free: 22.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.2933, allocations: 10.27 MB / 0.4891 GB, free: 17.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2933, allocations: 1.125 kB / 0.4891 GB, free: 17.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2933, allocations: 0 / 0.4891 GB, free: 17.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003869/0.2937, allocations: 0 / 0.4891 GB, free: 17.27 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.01531/0.309, allocations: 6.793 MB / 0.4957 GB, free: 12.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3091, allocations: 9.562 kB / 0.4957 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009184/0.31, allocations: 0.9239 MB / 0.4967 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03854/0.3485, allocations: 7.715 MB / 0.5042 GB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009075/0.3576, allocations: 3.759 MB / 0.5079 GB, free: 2.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.358, allocations: 376.1 kB / 0.5082 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00251/0.3605, allocations: 432.3 kB / 0.5086 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02355/0.384, allocations: 13.9 MB / 0.5222 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.3842, allocations: 55.53 kB / 0.5223 GB, free: 3.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009134/0.3852, allocations: 201.5 kB / 0.5224 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002448/0.3876, allocations: 2.41 MB / 0.5248 GB, free: 496 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.4079, allocations: 11.63 MB / 0.5362 GB, free: 4.844 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.06066/0.4686, allocations: 48.99 MB / 0.584 GB, free: 2.586 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008347/0.4769, allocations: 4.241 MB / 0.5881 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002721/0.4796, allocations: 2.581 MB / 0.5907 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01317/0.4928, allocations: 9.918 MB / 0.6004 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.4929, allocations: 55.81 kB / 0.6004 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 6.031e-06/0.4929, allocations: 0 / 0.6004 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.3025/0.7954, allocations: 43.83 MB / 0.6432 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.887e-05/0.7955, allocations: 239.8 kB / 0.6434 GB, free: 151 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006756/0.8023, allocations: 5.394 MB / 0.6487 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009151/0.8032, allocations: 60.02 kB / 0.6488 GB, free: 148.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.8047, allocations: 4.015 MB / 0.6527 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009663/0.8057, allocations: 0.946 MB / 0.6536 GB, free: 145 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/0.8073, allocations: 1.446 MB / 0.655 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.54e-05/0.8073, allocations: 301.1 kB / 0.6553 GB, free: 144 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/0.8106, allocations: 3.271 MB / 0.6585 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/0.815, allocations: 7.612 MB / 0.6659 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/0.8251, allocations: 11.62 MB / 0.6773 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001539/0.8253, allocations: 43.41 kB / 0.6773 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02798/0.8532, allocations: 13.85 MB / 0.6908 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.961e-05/0.8533, allocations: 70.31 kB / 0.6909 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001819/0.8535, allocations: 158.8 kB / 0.6911 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007382/0.8609, allocations: 3.773 MB / 0.6947 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004031/0.8649, allocations: 1.601 MB / 0.6963 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.8832, allocations: 18.89 MB / 0.7148 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005856/0.8891, allocations: 0.4989 MB / 0.7152 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001414/0.8905, allocations: 433 kB / 0.7157 GB, free: 107.1 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.006397/0.8969, allocations: 2.662 MB / 0.7183 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/0.8983, allocations: 453 kB / 0.7187 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.9085, allocations: 8.098 MB / 0.7266 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.162e-05/0.9086, allocations: 32 kB / 0.7266 GB, free: 96.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-05/0.9086, allocations: 12 kB / 0.7266 GB, free: 96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/0.9086, allocations: 7.969 kB / 0.7266 GB, free: 95.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/0.9345, allocations: 16.73 MB / 0.743 GB, free: 79.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/0.9345, allocations: 0 / 0.743 GB, free: 79.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.9361, allocations: 399.4 kB / 0.7434 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006343/0.9424, allocations: 3.824 MB / 0.7471 GB, free: 75.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005385/0.9429, allocations: 43.94 kB / 0.7471 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/0.9584, allocations: 17.27 MB / 0.764 GB, free: 57.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9584, allocations: 0 / 0.764 GB, free: 57.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.9723, allocations: 12.52 MB / 0.7762 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/0.9739, allocations: 452.8 kB / 0.7767 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007146/0.9746, allocations: 40 kB / 0.7767 GB, free: 44.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.976, allocations: 258.9 kB / 0.777 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000466/0.9765, allocations: 154.1 kB / 0.7771 GB, free: 44.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/0.9766, allocations: 60 kB / 0.7772 GB, free: 44.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004589/0.9812, allocations: 3.268 MB / 0.7803 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9812, allocations: 0 / 0.7803 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008986/0.9902, allocations: 1.542 MB / 0.7819 GB, free: 39.38 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.01397/1.004, allocations: 13.26 MB / 0.7948 GB, free: 26.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009653/1.014, allocations: 7.592 MB / 0.8022 GB, free: 18.51 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/1.014, allocations: 0 / 0.8022 GB, free: 18.51 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003007/1.017, allocations: 2.735 MB / 0.8049 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002993/1.02, allocations: 0.5369 MB / 0.8054 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2994/1.319, allocations: 67 MB / 0.8708 GB, free: 158.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005019/1.324, allocations: 3.58 MB / 0.8743 GB, free: 157.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004308/1.329, allocations: 2.188 MB / 0.8765 GB, free: 157.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002171/1.331, allocations: 2.491 MB / 0.8789 GB, free: 155.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/1.331, allocations: 0 / 0.8789 GB, free: 155.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/1.435, allocations: 106.8 MB / 0.9832 GB, free: 67.36 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/13.37, allocations: 3.938 kB / 0.9832 GB, free: 67.35 MB / 0.5573 GB " [Timeout remaining time 646] (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: 15.65350859798491]