Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.0008715/0.0008715, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008638/0.0008638, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9043/0.9043, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2706/0.2706, allocations: 34.25 MB / 294.9 MB, free: 0.7266 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.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.281e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.1981/0.1981, allocations: 10.46 MB / 452.6 MB, free: 38.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006186/0.2043, allocations: 4.194 MB / 456.8 MB, free: 35.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.2057, allocations: 83.16 kB / 456.9 MB, free: 35.87 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.2085, allocations: 2.819 MB / 459.7 MB, free: 34.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.2122, allocations: 2.137 MB / 461.9 MB, free: 33.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.2137, allocations: 1.107 MB / 463 MB, free: 33.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005066/0.2187, allocations: 6.089 MB / 469.1 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003088/0.2218, allocations: 3.378 MB / 472.4 MB, free: 29.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00315/0.225, allocations: 2.691 MB / 475.1 MB, free: 28.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.2276, allocations: 2.744 MB / 477.9 MB, free: 27.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005644/0.2282, allocations: 376.5 kB / 478.2 MB, free: 27.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.2299, allocations: 1.367 MB / 479.6 MB, free: 27.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001928/0.2318, allocations: 2.341 MB / 482 MB, free: 26.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002185/0.234, allocations: 1.509 MB / 483.5 MB, free: 25.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.2453, allocations: 8.338 MB / 491.8 MB, free: 22.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2453, allocations: 0.7031 kB / 491.8 MB, free: 22.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2453, allocations: 0 / 491.8 MB, free: 22.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003248/0.2456, allocations: 0 / 491.8 MB, free: 22.82 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01782/0.2634, allocations: 6.015 MB / 497.8 MB, free: 19.28 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2635, allocations: 9.438 kB / 497.8 MB, free: 19.28 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002006/0.2655, allocations: 0.8007 MB / 498.6 MB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04119/0.3067, allocations: 7.519 MB / 0.4943 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00662/0.3133, allocations: 3.23 MB / 0.4974 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.3134, allocations: 254.8 kB / 0.4977 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001059/0.3145, allocations: 352.3 kB / 0.498 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01471/0.3292, allocations: 12.41 MB / 0.5101 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/0.3293, allocations: 55.53 kB / 0.5102 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004109/0.3297, allocations: 163.8 kB / 0.5103 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/0.3325, allocations: 2.377 MB / 0.5127 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.3505, allocations: 10.69 MB / 0.5231 GB, free: 2.434 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05213/0.4026, allocations: 46.68 MB / 0.5687 GB, free: 2.527 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009514/0.4121, allocations: 5.372 MB / 0.5739 GB, free: 13.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003279/0.4154, allocations: 2.83 MB / 0.5767 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0147/0.4301, allocations: 11.58 MB / 0.588 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.4301, allocations: 55.88 kB / 0.5881 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=193): time 5.089e-06/0.4301, allocations: 0 / 0.5881 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=254): time 0.07693/0.5071, allocations: 39.79 MB / 0.6269 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.5072, allocations: 205.9 kB / 0.6271 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007137/0.5143, allocations: 4.96 MB / 0.632 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007731/0.5151, allocations: 65.7 kB / 0.632 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.2356/0.7507, allocations: 3.531 MB / 0.6355 GB, free: 156 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00159/0.7522, allocations: 0.9728 MB / 0.6364 GB, free: 155.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002131/0.7544, allocations: 1.357 MB / 0.6377 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.381e-05/0.7544, allocations: 306.4 kB / 0.638 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/0.7575, allocations: 3.121 MB / 0.6411 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004739/0.7623, allocations: 7.1 MB / 0.648 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.7724, allocations: 10.97 MB / 0.6587 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/0.7726, allocations: 40.38 kB / 0.6588 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.02214/0.7947, allocations: 12.67 MB / 0.6711 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.7948, allocations: 63.53 kB / 0.6712 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001926/0.795, allocations: 138 kB / 0.6713 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006135/0.8011, allocations: 3.246 MB / 0.6745 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005247/0.8064, allocations: 1.54 MB / 0.676 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02025/0.8266, allocations: 16.37 MB / 0.692 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006129/0.8328, allocations: 0.5123 MB / 0.6925 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/0.8341, allocations: 411.8 kB / 0.6929 GB, free: 127 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (808): * Single equations (assignments): 804 * 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 {(8,47,54.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00475/0.8388, allocations: 2.347 MB / 0.6952 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009173/0.8397, allocations: 422.5 kB / 0.6956 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008703/0.8484, allocations: 7.483 MB / 0.7029 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.471e-05/0.8485, allocations: 28 kB / 0.7029 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.8485, allocations: 12 kB / 0.7029 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.12e-05/0.8485, allocations: 11.34 kB / 0.7029 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/0.8695, allocations: 14.49 MB / 0.7171 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.8695, allocations: 3.172 kB / 0.7171 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.8707, allocations: 379.5 kB / 0.7175 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00454/0.8752, allocations: 2.919 MB / 0.7203 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004799/0.8757, allocations: 51.92 kB / 0.7204 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.8878, allocations: 14.62 MB / 0.7346 GB, free: 89.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.8878, allocations: 3.938 kB / 0.7346 GB, free: 89.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/0.9001, allocations: 11.47 MB / 0.7458 GB, free: 77.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/0.9017, allocations: 449 kB / 0.7463 GB, free: 77.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007709/0.9024, allocations: 41.31 kB / 0.7463 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/0.904, allocations: 263.4 kB / 0.7466 GB, free: 77.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/0.9045, allocations: 157.6 kB / 0.7467 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.9046, allocations: 63.98 kB / 0.7468 GB, free: 76.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004314/0.909, allocations: 3.008 MB / 0.7497 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/0.909, allocations: 0 / 0.7497 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00605/0.915, allocations: 1.461 MB / 0.7511 GB, free: 72.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (189): * Single equations (assignments): 185 * 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 {(6,40,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01217/0.9272, allocations: 12.15 MB / 0.763 GB, free: 60.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01105/0.9382, allocations: 7.538 MB / 0.7704 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.9382, allocations: 3.938 kB / 0.7704 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003369/0.9416, allocations: 2.873 MB / 0.7732 GB, free: 49.81 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/0.9447, allocations: 0.5143 MB / 0.7737 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08564/1.03, allocations: 61.72 MB / 0.834 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004586/1.035, allocations: 3.152 MB / 0.837 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.2045/1.239, allocations: 2.183 MB / 0.8392 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004042/1.243, allocations: 2.232 MB / 0.8413 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.515e-06/1.243, allocations: 0 / 0.8413 GB, free: 176.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/1.365, allocations: 98.74 MB / 0.9378 GB, free: 120.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.8, allocations: 15.27 kB / 0.9378 GB, free: 120.2 MB / 0.5573 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_JointUPS2.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.042415942065418]