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.001358/0.001358, allocations: 123 kB / 17.79 MB, free: 5.246 MB / 14.72 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.002464/0.002464, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.507/1.507, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.2299/0.2299, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 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 0.001975/0.001975, allocations: 63.91 kB / 0.4909 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1401, allocations: 65.99 MB / 0.5554 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01436/0.1544, allocations: 12 MB / 0.5671 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.1652, allocations: 4.402 MB / 0.5714 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.1677, allocations: 83.62 kB / 0.5715 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005911/0.1736, allocations: 2.784 MB / 0.5742 GB, free: 2.484 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006262/0.1799, allocations: 2.054 MB / 0.5762 GB, free: 432 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.1825, allocations: 1.01 MB / 0.5772 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009435/0.192, allocations: 5.367 MB / 0.5824 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004269/0.1963, allocations: 2.956 MB / 0.5853 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003201/0.1995, allocations: 1.776 MB / 0.5871 GB, free: 5.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.2035, allocations: 2.64 MB / 0.5896 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008986/0.2044, allocations: 368 kB / 0.59 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.2071, allocations: 1.455 MB / 0.5914 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3095/0.5166, allocations: 2.233 MB / 0.5936 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006757/0.5234, allocations: 2.557 MB / 0.5961 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01814/0.5415, allocations: 8.222 MB / 0.6041 GB, free: 9.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.5415, allocations: 1.406 kB / 0.6041 GB, free: 9.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.307e-06/0.5415, allocations: 0 / 0.6041 GB, free: 9.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005819/0.5421, allocations: 0 / 0.6041 GB, free: 9.207 MB / 446.1 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.02406/0.5662, allocations: 6.025 MB / 0.61 GB, free: 6.902 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.307e-05/0.5662, allocations: 8.656 kB / 0.61 GB, free: 6.902 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00529/0.5715, allocations: 0.7946 MB / 0.6108 GB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0928/0.6643, allocations: 7.246 MB / 0.6179 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.6752, allocations: 3.613 MB / 0.6214 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004079/0.6756, allocations: 257.9 kB / 0.6216 GB, free: 4.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002724/0.6783, allocations: 352.5 kB / 0.622 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/0.7101, allocations: 12.29 MB / 0.634 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003695/0.7105, allocations: 53.05 kB / 0.634 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001979/0.7125, allocations: 164.9 kB / 0.6342 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004516/0.717, allocations: 2.381 MB / 0.6365 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/0.7441, allocations: 10.7 MB / 0.6469 GB, free: 1.477 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08145/0.8256, allocations: 48.66 MB / 0.6945 GB, free: 80 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/0.843, allocations: 5.623 MB / 0.7 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004592/0.8476, allocations: 2.828 MB / 0.7027 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02477/0.8724, allocations: 13.02 MB / 0.7154 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.8725, allocations: 54.5 kB / 0.7155 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=193): time 4.979e-06/0.8725, allocations: 0 / 0.7155 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=254): time 0.1335/1.006, allocations: 38.92 MB / 0.7535 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.006, allocations: 209.6 kB / 0.7537 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009669/1.016, allocations: 4.389 MB / 0.758 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008196/1.017, allocations: 69.64 kB / 0.758 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003516/1.02, allocations: 3.566 MB / 0.7615 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001884/1.022, allocations: 0.9856 MB / 0.7625 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004982/1.027, allocations: 1.381 MB / 0.7638 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.027, allocations: 304.9 kB / 0.7641 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006362/1.033, allocations: 3.117 MB / 0.7672 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/1.044, allocations: 7.046 MB / 0.7741 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01991/1.064, allocations: 10.96 MB / 0.7848 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000168/1.064, allocations: 44 kB / 0.7848 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=886) (initialization): time 0.03293/1.097, allocations: 12.64 MB / 0.7971 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002031/1.097, allocations: 64 kB / 0.7972 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002623/1.097, allocations: 136.8 kB / 0.7973 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01091/1.108, allocations: 3.248 MB / 0.8005 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006283/1.115, allocations: 1.54 MB / 0.802 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02977/1.144, allocations: 16.61 MB / 0.8182 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006777/1.151, allocations: 431.4 kB / 0.8186 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001832/1.153, allocations: 404 kB / 0.819 GB, free: 12.73 MB / 0.6387 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.00725/1.16, allocations: 2.354 MB / 0.8213 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00156/1.162, allocations: 421.2 kB / 0.8217 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/1.182, allocations: 7.487 MB / 0.829 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.508e-05/1.182, allocations: 24 kB / 0.8291 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.879e-05/1.182, allocations: 12 kB / 0.8291 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.159e-05/1.182, allocations: 11.95 kB / 0.8291 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3288/1.511, allocations: 15 MB / 0.8437 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/1.511, allocations: 1.125 kB / 0.8437 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/1.513, allocations: 377.2 kB / 0.8441 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009084/1.522, allocations: 2.927 MB / 0.8469 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006165/1.523, allocations: 42.91 kB / 0.847 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01864/1.541, allocations: 14.82 MB / 0.8615 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.541, allocations: 3.844 kB / 0.8615 GB, free: 210.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01878/1.56, allocations: 11.48 MB / 0.8727 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.561, allocations: 472.2 kB / 0.8731 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009397/1.562, allocations: 40 kB / 0.8732 GB, free: 205 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.565, allocations: 189.3 kB / 0.8733 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005967/1.565, allocations: 149.7 kB / 0.8735 GB, free: 204.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002128/1.565, allocations: 63.98 kB / 0.8735 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004251/1.57, allocations: 2.75 MB / 0.8762 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.57, allocations: 0 / 0.8762 GB, free: 201.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006392/1.576, allocations: 1.292 MB / 0.8775 GB, free: 200.6 MB / 0.6387 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.01738/1.593, allocations: 12.14 MB / 0.8893 GB, free: 188.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01184/1.605, allocations: 7.524 MB / 0.8967 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.605, allocations: 3.875 kB / 0.8967 GB, free: 181.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004648/1.61, allocations: 2.892 MB / 0.8995 GB, free: 178.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/1.615, allocations: 0.5146 MB / 0.9 GB, free: 177.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/1.72, allocations: 60.66 MB / 0.9593 GB, free: 111 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006093/1.726, allocations: 3.661 MB / 0.9628 GB, free: 107.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005223/1.731, allocations: 2.172 MB / 0.965 GB, free: 105.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003667/1.735, allocations: 2.218 MB / 0.9671 GB, free: 102.9 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/1.735, allocations: 0 / 0.9671 GB, free: 102.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1387/1.874, allocations: 94.95 MB / 1.06 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.35/31.23, allocations: 4 kB / 1.06 GB, free: 8.344 MB / 0.6387 GB " [Timeout remaining time 629] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/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: 34.83130074599467]