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.001501/0.001501, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001202/0.001202, allocations: 169 kB / 24.82 MB, free: 9.266 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 1.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.3484/0.3484, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] 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: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.399e-05/4.7e-05, allocations: 2.312 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01209/0.01214, allocations: 11.29 MB / 389.8 MB, free: 7.051 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.02288, allocations: 4.266 MB / 394.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002998/0.02588, allocations: 91.5 kB / 394.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005303/0.03118, allocations: 2.916 MB / 397.1 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007457/0.03864, allocations: 2.142 MB / 399.2 MB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003604/0.04224, allocations: 1.127 MB / 400.3 MB, free: 12.47 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009492/0.05173, allocations: 6.115 MB / 406.4 MB, free: 6.348 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006128/0.05786, allocations: 3.49 MB / 409.9 MB, free: 2.809 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008408/0.06627, allocations: 3.302 MB / 413.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005801/0.07207, allocations: 2.736 MB / 416 MB, free: 12.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001956/0.07403, allocations: 368 kB / 416.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.0785, allocations: 1.342 MB / 417.7 MB, free: 11.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004443/0.08294, allocations: 2.338 MB / 420 MB, free: 8.711 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004761/0.0877, allocations: 1.437 MB / 421.4 MB, free: 7.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.09816, allocations: 5.344 MB / 426.8 MB, free: 1.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.09817, allocations: 0 / 426.8 MB, free: 1.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.09817, allocations: 0 / 426.8 MB, free: 1.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003328/0.0985, allocations: 11.92 kB / 426.8 MB, free: 1.895 MB / 394.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.01328/0.1118, allocations: 5.852 MB / 432.7 MB, free: 11.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.1118, allocations: 8.031 kB / 432.7 MB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008973/0.1208, allocations: 2.187 MB / 434.9 MB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006205/0.127, allocations: 2.399 MB / 437.3 MB, free: 7.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.1273, allocations: 250.8 kB / 437.5 MB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001302/0.1286, allocations: 356.2 kB / 437.8 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2611/0.3897, allocations: 6.66 MB / 444.5 MB, free: 88.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002686/0.3899, allocations: 54.22 kB / 444.6 MB, free: 88.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004945/0.3904, allocations: 161.1 kB / 444.7 MB, free: 88.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00187/0.3923, allocations: 2.085 MB / 446.8 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008656/0.401, allocations: 3.149 MB / 449.9 MB, free: 88.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04062/0.4416, allocations: 50.96 MB / 0.4892 GB, free: 48.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006568/0.4481, allocations: 2.622 MB / 0.4917 GB, free: 48.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.4495, allocations: 0.6644 MB / 0.4924 GB, free: 47.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.4602, allocations: 6.311 MB / 0.4985 GB, free: 44.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.86e-05/0.4603, allocations: 56.33 kB / 0.4986 GB, free: 44.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 6.933e-06/0.4603, allocations: 0 / 0.4986 GB, free: 44.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.05504/0.5153, allocations: 18.08 MB / 0.5163 GB, free: 38.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.5154, allocations: 197.2 kB / 0.5164 GB, free: 38.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004637/0.52, allocations: 3.842 MB / 0.5202 GB, free: 34.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005565/0.5206, allocations: 49.7 kB / 0.5202 GB, free: 34.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.5225, allocations: 3.843 MB / 0.524 GB, free: 31.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001245/0.5237, allocations: 0.8491 MB / 0.5248 GB, free: 30.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001357/0.5251, allocations: 1.487 MB / 0.5263 GB, free: 28.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.5252, allocations: 480.8 kB / 0.5267 GB, free: 28.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.5265, allocations: 0.7941 MB / 0.5275 GB, free: 27.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/0.53, allocations: 6.968 MB / 0.5343 GB, free: 17.67 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006912/0.5369, allocations: 8.422 MB / 0.5425 GB, free: 6.508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002272/0.5371, allocations: 44 kB / 0.5426 GB, free: 6.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01546/0.5526, allocations: 6.634 MB / 0.5491 GB, free: 15.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.5527, allocations: 68 kB / 0.5491 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/0.553, allocations: 144 kB / 0.5493 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004963/0.5579, allocations: 1.774 MB / 0.551 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003632/0.5616, allocations: 1.478 MB / 0.5524 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008705/0.5703, allocations: 5.47 MB / 0.5578 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004225/0.5745, allocations: 295.7 kB / 0.5581 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007758/0.5753, allocations: 348 kB / 0.5584 GB, free: 6.141 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (825): * Single equations (assignments): 821 * 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,41,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001953/0.5772, allocations: 0.7234 MB / 0.5591 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008416/0.5781, allocations: 425.5 kB / 0.5595 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005129/0.5832, allocations: 2.588 MB / 0.562 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/0.5832, allocations: 28 kB / 0.5621 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.871e-05/0.5832, allocations: 11.94 kB / 0.5621 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.5833, allocations: 11.95 kB / 0.5621 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.5984, allocations: 7.576 MB / 0.5695 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.5984, allocations: 4 kB / 0.5695 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.5992, allocations: 235.7 kB / 0.5697 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004939/0.6042, allocations: 1.54 MB / 0.5712 GB, free: 8.887 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003166/0.6045, allocations: 36 kB / 0.5712 GB, free: 8.852 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007168/0.6117, allocations: 4.462 MB / 0.5756 GB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6117, allocations: 0 / 0.5756 GB, free: 4.273 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007379/0.619, allocations: 3.671 MB / 0.5792 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.6203, allocations: 349.4 kB / 0.5795 GB, free: 208 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.6207, allocations: 36 kB / 0.5796 GB, free: 172 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/0.6217, allocations: 47.91 kB / 0.5796 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003389/0.622, allocations: 129 kB / 0.5797 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.6221, allocations: 40 kB / 0.5798 GB, free: 15.95 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003079/0.6252, allocations: 1.543 MB / 0.5813 GB, free: 14.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.6252, allocations: 0 / 0.5813 GB, free: 14.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007875/0.6331, allocations: 1.398 MB / 0.5826 GB, free: 13.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (147): * Single equations (assignments): 143 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006804/0.6337, allocations: 172.8 kB / 0.5828 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006291/0.64, allocations: 3.541 MB / 0.5863 GB, free: 9.324 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.64, allocations: 4 kB / 0.5863 GB, free: 9.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.6415, allocations: 1.064 MB / 0.5873 GB, free: 8.238 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.644, allocations: 454.4 kB / 0.5877 GB, free: 7.805 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/0.6585, allocations: 8.616 MB / 0.5962 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.6602, allocations: 1.412 MB / 0.5975 GB, free: 13.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00166/0.6618, allocations: 0.5268 MB / 0.598 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.6629, allocations: 0.6231 MB / 0.5987 GB, free: 12.47 MB / 474.7 MB Notification: Performance of SimCode: time 1.924e-06/0.6629, allocations: 0 / 0.5987 GB, free: 12.47 MB / 474.7 MB Notification: Performance of Templates: time 0.2421/0.9049, allocations: 53.53 MB / 0.6509 GB, free: 128.9 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.33381186099723]