Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.000942/0.000942, 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.001146/0.001146, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.9286/0.9286, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_JointUSP2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.745e-05, allocations: 4.109 kB / 439.6 MB, free: 4.254 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.1965/0.1965, allocations: 11.59 MB / 451.2 MB, free: 40.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005696/0.2022, allocations: 4.637 MB / 455.8 MB, free: 37.37 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001162/0.2034, allocations: 97.5 kB / 455.9 MB, free: 37.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.2065, allocations: 4.067 MB / 460 MB, free: 35.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.2094, allocations: 2.317 MB / 462.3 MB, free: 34.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.2109, allocations: 1.292 MB / 463.6 MB, free: 33.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00368/0.2145, allocations: 6.545 MB / 470.1 MB, free: 31.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/0.2178, allocations: 4.528 MB / 474.7 MB, free: 29.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0028/0.2206, allocations: 3.316 MB / 478 MB, free: 28.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00248/0.2231, allocations: 3.212 MB / 481.2 MB, free: 27.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000664/0.2237, allocations: 0.5092 MB / 481.7 MB, free: 27.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.2257, allocations: 1.601 MB / 483.3 MB, free: 26.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.2276, allocations: 2.837 MB / 486.1 MB, free: 25.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001732/0.2294, allocations: 1.857 MB / 488 MB, free: 24.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008893/0.2382, allocations: 10.27 MB / 498.3 MB, free: 20.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2383, allocations: 1.344 kB / 498.3 MB, free: 20.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2383, allocations: 0 / 498.3 MB, free: 20.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002368/0.2385, allocations: 0 / 498.3 MB, free: 20.21 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.01459/0.2531, allocations: 6.785 MB / 0.4932 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.2531, allocations: 13.61 kB / 0.4932 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001206/0.2543, allocations: 0.9191 MB / 0.4941 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03857/0.2929, allocations: 7.719 MB / 0.5017 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007073/0.3, allocations: 3.763 MB / 0.5053 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002194/0.3002, allocations: 380.1 kB / 0.5057 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/0.3018, allocations: 429.4 kB / 0.5061 GB, free: 5.945 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/0.3229, allocations: 13.9 MB / 0.5197 GB, free: 7.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000175/0.323, allocations: 55.53 kB / 0.5197 GB, free: 7.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000536/0.3236, allocations: 199.8 kB / 0.5199 GB, free: 6.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002362/0.3259, allocations: 2.413 MB / 0.5223 GB, free: 4.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/0.3448, allocations: 11.63 MB / 0.5336 GB, free: 8.859 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.05614/0.4009, allocations: 49 MB / 0.5815 GB, free: 6.598 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009448/0.4104, allocations: 4.24 MB / 0.5856 GB, free: 2.312 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/0.4135, allocations: 2.589 MB / 0.5882 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01478/0.4283, allocations: 9.91 MB / 0.5978 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.067e-05/0.4283, allocations: 51.88 kB / 0.5979 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=191): time 5.581e-06/0.4283, allocations: 0 / 0.5979 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=242): time 0.2968/0.7251, allocations: 43.84 MB / 0.6407 GB, free: 156.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.7252, allocations: 242.3 kB / 0.6409 GB, free: 156 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00584/0.731, allocations: 5.39 MB / 0.6462 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006533/0.7317, allocations: 63.27 kB / 0.6463 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.7331, allocations: 4.014 MB / 0.6502 GB, free: 151 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008793/0.734, allocations: 0.939 MB / 0.6511 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00136/0.7354, allocations: 1.45 MB / 0.6525 GB, free: 149.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.978e-05/0.7354, allocations: 301.1 kB / 0.6528 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003063/0.7385, allocations: 3.268 MB / 0.656 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004358/0.7428, allocations: 7.614 MB / 0.6634 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.753, allocations: 11.62 MB / 0.6748 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/0.7531, allocations: 43.53 kB / 0.6748 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=940) (initialization): time 0.02185/0.775, allocations: 13.85 MB / 0.6883 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-05/0.7751, allocations: 76.25 kB / 0.6884 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/0.7752, allocations: 149.3 kB / 0.6886 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007025/0.7822, allocations: 3.766 MB / 0.6922 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/0.7858, allocations: 1.615 MB / 0.6938 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01593/0.8018, allocations: 18.89 MB / 0.7123 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006113/0.8079, allocations: 0.5037 MB / 0.7127 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/0.8092, allocations: 428 kB / 0.7132 GB, free: 113.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.004437/0.8136, allocations: 2.66 MB / 0.7158 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/0.8148, allocations: 449 kB / 0.7162 GB, free: 110.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009571/0.8244, allocations: 8.102 MB / 0.7241 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/0.8244, allocations: 34.17 kB / 0.7241 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.8244, allocations: 8 kB / 0.7241 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-05/0.8245, allocations: 15.95 kB / 0.7241 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/0.8454, allocations: 16.72 MB / 0.7405 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/0.8454, allocations: 0 / 0.7405 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.8466, allocations: 396.3 kB / 0.7409 GB, free: 84.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006359/0.853, allocations: 3.828 MB / 0.7446 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000545/0.8535, allocations: 47.52 kB / 0.7446 GB, free: 81.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01431/0.8678, allocations: 17.27 MB / 0.7615 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.8678, allocations: 3.938 kB / 0.7615 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/0.8813, allocations: 12.52 MB / 0.7737 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/0.8829, allocations: 452.8 kB / 0.7742 GB, free: 50.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000751/0.8836, allocations: 35.83 kB / 0.7742 GB, free: 50.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.8852, allocations: 255.7 kB / 0.7744 GB, free: 50.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004454/0.8857, allocations: 158.1 kB / 0.7746 GB, free: 50.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/0.8858, allocations: 59.98 kB / 0.7747 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003807/0.8896, allocations: 3.264 MB / 0.7778 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8896, allocations: 3.828 kB / 0.7778 GB, free: 46.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007574/0.8972, allocations: 1.535 MB / 0.7793 GB, free: 45.36 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.01489/0.9121, allocations: 13.25 MB / 0.7923 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009535/0.9216, allocations: 7.594 MB / 0.7997 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.9216, allocations: 4 kB / 0.7997 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00268/0.9243, allocations: 2.744 MB / 0.8024 GB, free: 21.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.927, allocations: 0.5407 MB / 0.8029 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2766/1.204, allocations: 66.98 MB / 0.8683 GB, free: 144.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006036/1.21, allocations: 3.58 MB / 0.8718 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004559/1.214, allocations: 2.188 MB / 0.874 GB, free: 143.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003345/1.218, allocations: 2.491 MB / 0.8764 GB, free: 141.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.313e-06/1.218, allocations: 0 / 0.8764 GB, free: 141.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.331, allocations: 106.8 MB / 0.9807 GB, free: 55.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.19, allocations: 0 / 0.9807 GB, free: 55.07 MB / 0.5417 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_MultiBody_Joints_JointUSP2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.476401127874851]