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.0008344/0.0008344, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004119/0.004119, allocations: 160.7 kB / 24.7 MB, free: 9.41 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.8941/0.8941, allocations: 177.1 MB / 205 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.2552/0.2552, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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: 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 1.483e-06/1.483e-06, allocations: 0 / 443.4 MB, free: 1.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.511e-05/1.659e-05, allocations: 2.844 kB / 443.4 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.1871/0.1872, allocations: 10.46 MB / 453.9 MB, free: 38.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006482/0.1936, allocations: 4.184 MB / 458.1 MB, free: 35.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.1954, allocations: 83.06 kB / 458.2 MB, free: 35.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002754/0.1981, allocations: 2.82 MB / 461 MB, free: 34.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.2019, allocations: 2.132 MB / 463.1 MB, free: 33.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.2036, allocations: 1.114 MB / 464.2 MB, free: 33.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004906/0.2085, allocations: 6.093 MB / 470.3 MB, free: 30.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003301/0.2118, allocations: 3.372 MB / 473.7 MB, free: 29.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003608/0.2154, allocations: 2.688 MB / 476.4 MB, free: 28.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.2182, allocations: 2.743 MB / 479.1 MB, free: 27.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007186/0.2189, allocations: 378.8 kB / 479.5 MB, free: 27.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.2207, allocations: 1.362 MB / 480.9 MB, free: 27.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001884/0.2226, allocations: 2.335 MB / 483.2 MB, free: 26.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002343/0.225, allocations: 1.442 MB / 484.6 MB, free: 25.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.2363, allocations: 8.168 MB / 492.8 MB, free: 22.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.2363, allocations: 0 / 492.8 MB, free: 22.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.726e-06/0.2363, allocations: 1.375 kB / 492.8 MB, free: 22.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003223/0.2366, allocations: 0 / 492.8 MB, free: 22.83 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.01641/0.253, allocations: 5.85 MB / 498.7 MB, free: 19.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.2531, allocations: 9.375 kB / 498.7 MB, free: 19.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009378/0.2625, allocations: 2.697 MB / 0.4896 GB, free: 18.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007404/0.2699, allocations: 3.086 MB / 0.4926 GB, free: 16.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.2701, allocations: 253.6 kB / 0.4929 GB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/0.2719, allocations: 348.8 kB / 0.4932 GB, free: 16.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01884/0.2907, allocations: 12.48 MB / 0.5054 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001463/0.2909, allocations: 47.58 kB / 0.5054 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003702/0.2912, allocations: 175.8 kB / 0.5056 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001998/0.2932, allocations: 2.377 MB / 0.5079 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/0.3101, allocations: 10.82 MB / 0.5185 GB, free: 8.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05062/0.3607, allocations: 45.64 MB / 0.5631 GB, free: 9.344 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009553/0.3702, allocations: 5.533 MB / 0.5685 GB, free: 3.77 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003269/0.3735, allocations: 3.004 MB / 0.5714 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01446/0.388, allocations: 11.95 MB / 0.5831 GB, free: 4.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.388, allocations: 67.75 kB / 0.5831 GB, free: 4.695 MB / 490.7 MB Notification: Performance of pre-optimization done (n=204): time 4.329e-06/0.388, allocations: 4 kB / 0.5831 GB, free: 4.691 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.06466/0.4527, allocations: 37.24 MB / 0.6195 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/0.4528, allocations: 205.9 kB / 0.6197 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004869/0.4576, allocations: 4.208 MB / 0.6238 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007212/0.4584, allocations: 61.7 kB / 0.6239 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001812/0.4602, allocations: 3.509 MB / 0.6273 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/0.4614, allocations: 1.015 MB / 0.6283 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001557/0.463, allocations: 1.402 MB / 0.6297 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.4631, allocations: 313 kB / 0.63 GB, free: 4.602 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/0.4667, allocations: 3.281 MB / 0.6332 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2098/0.6766, allocations: 7.246 MB / 0.6402 GB, free: 149.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009922/0.6865, allocations: 11.23 MB / 0.6512 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/0.6866, allocations: 43.16 kB / 0.6512 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01919/0.7058, allocations: 13.19 MB / 0.6641 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.04e-05/0.7059, allocations: 64 kB / 0.6642 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/0.706, allocations: 138.4 kB / 0.6643 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005599/0.7116, allocations: 3.392 MB / 0.6676 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/0.7157, allocations: 1.569 MB / 0.6692 GB, free: 136.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0176/0.7333, allocations: 16.92 MB / 0.6857 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005128/0.7384, allocations: 490.3 kB / 0.6862 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001084/0.7395, allocations: 415.2 kB / 0.6866 GB, free: 129.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 (839): * Single equations (assignments): 835 * 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 {(4,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004214/0.7437, allocations: 2.333 MB / 0.6888 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000758/0.7445, allocations: 383.9 kB / 0.6892 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009415/0.7539, allocations: 7.933 MB / 0.6969 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/0.7539, allocations: 25.41 kB / 0.697 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.7539, allocations: 17.2 kB / 0.697 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.94e-05/0.7539, allocations: 18.36 kB / 0.697 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.7708, allocations: 13.96 MB / 0.7106 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.7708, allocations: 2.734 kB / 0.7106 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.772, allocations: 387.4 kB / 0.711 GB, free: 114 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004619/0.7766, allocations: 3.163 MB / 0.7141 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004594/0.7771, allocations: 49.75 kB / 0.7141 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/0.7893, allocations: 15.52 MB / 0.7293 GB, free: 95.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7893, allocations: 0 / 0.7293 GB, free: 95.24 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01214/0.8014, allocations: 12.09 MB / 0.7411 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.8025, allocations: 388.8 kB / 0.7415 GB, free: 82.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006006/0.8032, allocations: 44 kB / 0.7415 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.8045, allocations: 250.7 kB / 0.7418 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/0.8049, allocations: 166.1 kB / 0.7419 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.805, allocations: 67.44 kB / 0.742 GB, free: 82.37 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002783/0.8078, allocations: 2.47 MB / 0.7444 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.8078, allocations: 0 / 0.7444 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006278/0.8141, allocations: 1.478 MB / 0.7458 GB, free: 78.44 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005953/0.8147, allocations: 196.4 kB / 0.746 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009183/0.8239, allocations: 7.683 MB / 0.7535 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.667e-06/0.8239, allocations: 0 / 0.7535 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0032/0.8271, allocations: 3.052 MB / 0.7565 GB, free: 67.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.8296, allocations: 448 kB / 0.7569 GB, free: 67.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.845, allocations: 12.48 MB / 0.7691 GB, free: 54.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002731/0.8477, allocations: 3.125 MB / 0.7722 GB, free: 51.45 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001449/0.8492, allocations: 324.4 kB / 0.7725 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/0.8492, allocations: 4 kB / 0.7725 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of Templates: time 0.2728/1.122, allocations: 93.79 MB / 0.8641 GB, free: 156.5 MB / 0.5417 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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","/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: 9.007944042794406]