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.001459/0.001459, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00153/0.00153, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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.018/1.018, allocations: 177.1 MB / 205 MB, free: 5.273 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.2671/0.2671, allocations: 34.26 MB / 295.7 MB, free: 0.6328 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.903e-06/1.903e-06, allocations: 0 / 378 MB, free: 2.621 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.273e-05/3.463e-05, allocations: 2.312 kB / 378 MB, free: 2.617 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009687/0.009722, allocations: 11.56 MB / 389.6 MB, free: 7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007533/0.01726, allocations: 4.301 MB / 393.9 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.01903, allocations: 91.56 kB / 394 MB, free: 2.594 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003722/0.02275, allocations: 2.959 MB / 397 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005493/0.02824, allocations: 2.142 MB / 399.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.03052, allocations: 1.123 MB / 400.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00835/0.03887, allocations: 6.112 MB / 406.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004979/0.04385, allocations: 3.49 MB / 409.8 MB, free: 2.688 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004719/0.04857, allocations: 2.701 MB / 412.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005361/0.05393, allocations: 2.786 MB / 415.3 MB, free: 13.19 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001005/0.05493, allocations: 376 kB / 415.7 MB, free: 12.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.05728, allocations: 1.361 MB / 417 MB, free: 11.46 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004341/0.06162, allocations: 2.357 MB / 419.4 MB, free: 9.094 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005825/0.06744, allocations: 1.445 MB / 420.8 MB, free: 7.645 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01697/0.08441, allocations: 5.379 MB / 426.2 MB, free: 2.246 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.08442, allocations: 4 kB / 426.2 MB, free: 2.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.08442, allocations: 0 / 426.2 MB, free: 2.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002444/0.08466, allocations: 4 kB / 426.2 MB, free: 2.238 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.01049/0.09515, allocations: 6.246 MB / 432.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.09519, allocations: 8.031 kB / 432.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009308/0.1045, allocations: 3.153 MB / 435.6 MB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.1098, allocations: 2.832 MB / 438.5 MB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.11, allocations: 258.8 kB / 438.7 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007512/0.1107, allocations: 352.3 kB / 439.1 MB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1798/0.2905, allocations: 7.636 MB / 446.7 MB, free: 87.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002195/0.2908, allocations: 50.42 kB / 446.8 MB, free: 87.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005735/0.2913, allocations: 166.1 kB / 446.9 MB, free: 87.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002271/0.2936, allocations: 2.382 MB / 449.3 MB, free: 87.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.3041, allocations: 4.432 MB / 453.7 MB, free: 87.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0347/0.3388, allocations: 51.24 MB / 0.4931 GB, free: 47.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008137/0.3469, allocations: 3.428 MB / 0.4965 GB, free: 46.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.3487, allocations: 1.012 MB / 0.4975 GB, free: 46.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/0.3607, allocations: 7.849 MB / 0.5051 GB, free: 42.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.3607, allocations: 63.39 kB / 0.5052 GB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 5.56e-06/0.3607, allocations: 0 / 0.5052 GB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.05533/0.4161, allocations: 25.96 MB / 0.5305 GB, free: 25.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/0.4161, allocations: 209.9 kB / 0.5307 GB, free: 25.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.4198, allocations: 3.697 MB / 0.5344 GB, free: 21.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006126/0.4204, allocations: 65.7 kB / 0.5344 GB, free: 21.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.4219, allocations: 3.68 MB / 0.538 GB, free: 17.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001102/0.423, allocations: 1.063 MB / 0.539 GB, free: 16.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.4246, allocations: 1.499 MB / 0.5405 GB, free: 15.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.922e-05/0.4246, allocations: 476.8 kB / 0.541 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.4263, allocations: 1.048 MB / 0.542 GB, free: 13.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003178/0.4295, allocations: 6.877 MB / 0.5487 GB, free: 4.355 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007536/0.4371, allocations: 8.736 MB / 0.5572 GB, free: 9.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/0.4372, allocations: 40 kB / 0.5573 GB, free: 9.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.016/0.4532, allocations: 8.277 MB / 0.5654 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.078e-05/0.4533, allocations: 64 kB / 0.5654 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.4534, allocations: 136 kB / 0.5655 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00617/0.4596, allocations: 2.667 MB / 0.5682 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/0.4635, allocations: 1.575 MB / 0.5697 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.4738, allocations: 6.722 MB / 0.5763 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/0.4781, allocations: 495.3 kB / 0.5767 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000838/0.479, allocations: 412 kB / 0.5771 GB, free: 4.559 MB / 442.7 MB 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.001939/0.4809, allocations: 0.7041 MB / 0.5778 GB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008109/0.4817, allocations: 465.4 kB / 0.5783 GB, free: 3.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/0.4917, allocations: 4.28 MB / 0.5824 GB, free: 15.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.735e-05/0.4917, allocations: 35.67 kB / 0.5825 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.4918, allocations: 8 kB / 0.5825 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.4918, allocations: 18.47 kB / 0.5825 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02048/0.5123, allocations: 9.283 MB / 0.5916 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.5123, allocations: 0 / 0.5916 GB, free: 5.762 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/0.5138, allocations: 387.4 kB / 0.5919 GB, free: 5.383 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007509/0.5213, allocations: 2.438 MB / 0.5943 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003391/0.5217, allocations: 51.89 kB / 0.5944 GB, free: 2.891 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.5329, allocations: 5.794 MB / 0.6 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5329, allocations: 3.938 kB / 0.6 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.5431, allocations: 5.545 MB / 0.6054 GB, free: 7.359 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/0.5442, allocations: 377.3 kB / 0.6058 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/0.5446, allocations: 47.98 kB / 0.6058 GB, free: 6.941 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.5461, allocations: 251.6 kB / 0.6061 GB, free: 6.695 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000449/0.5465, allocations: 158.2 kB / 0.6062 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.5467, allocations: 67.98 kB / 0.6063 GB, free: 6.469 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002127/0.5488, allocations: 1.603 MB / 0.6079 GB, free: 4.883 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5488, allocations: 0 / 0.6079 GB, free: 4.883 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004621/0.5534, allocations: 1.482 MB / 0.6093 GB, free: 3.402 MB / 474.7 MB 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.0004799/0.5539, allocations: 200.6 kB / 0.6095 GB, free: 3.203 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1503/0.7042, allocations: 4.402 MB / 0.6138 GB, free: 139.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.7042, allocations: 3.812 kB / 0.6138 GB, free: 139.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002492/0.7067, allocations: 1.749 MB / 0.6155 GB, free: 138.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002144/0.7089, allocations: 452 kB / 0.6159 GB, free: 138.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.7212, allocations: 9.346 MB / 0.6251 GB, free: 135.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.7225, allocations: 1.449 MB / 0.6265 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003017/0.7255, allocations: 1.786 MB / 0.6282 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008043/0.7263, allocations: 271.8 kB / 0.6285 GB, free: 135.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/0.7263, allocations: 0 / 0.6285 GB, free: 135.3 MB / 474.7 MB Notification: Performance of Templates: time 0.07264/0.799, allocations: 56.87 MB / 0.684 GB, free: 107 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.068814650177956]