Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001068/0.001068, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001251/0.001251, allocations: 165.6 kB / 24.84 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.034/1.034, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1532/0.1532, allocations: 32.37 MB / 271.5 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.354e-06/2.354e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.773e-05, allocations: 4.281 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01212/0.01216, allocations: 11.35 MB / 360.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009205/0.02136, allocations: 4.271 MB / 364.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.02308, allocations: 87.62 kB / 364.6 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.02644, allocations: 2.916 MB / 367.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003795/0.03023, allocations: 2.201 MB / 369.7 MB, free: 4.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.03175, allocations: 1.123 MB / 370.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005221/0.03697, allocations: 5.816 MB / 376.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003067/0.04004, allocations: 3.505 MB / 380.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.04577, allocations: 3.158 MB / 383.3 MB, free: 6.582 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004451/0.05022, allocations: 2.74 MB / 386.1 MB, free: 3.836 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008657/0.05108, allocations: 372 kB / 386.5 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.05346, allocations: 1.357 MB / 387.8 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002147/0.05561, allocations: 2.376 MB / 390.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.05729, allocations: 1.456 MB / 391.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005458/0.06275, allocations: 5.414 MB / 397.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.158e-06/0.06276, allocations: 4 kB / 397.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.06276, allocations: 0 / 397.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001204/0.06288, allocations: 0 / 397.1 MB, free: 8.832 MB / 330.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.007022/0.0699, allocations: 5.874 MB / 402.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.06994, allocations: 16.03 kB / 402.9 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007691/0.07763, allocations: 2.191 MB / 405.1 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004256/0.08189, allocations: 2.427 MB / 407.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.08207, allocations: 254.8 kB / 407.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007616/0.08283, allocations: 364.2 kB / 408.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.09287, allocations: 6.657 MB / 414.8 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001271/0.093, allocations: 51.56 kB / 414.9 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003524/0.09335, allocations: 167.8 kB / 415 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/0.09517, allocations: 2.085 MB / 417.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007473/0.1026, allocations: 3.158 MB / 420.3 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2385/0.3411, allocations: 50.98 MB / 471.3 MB, free: 58.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00873/0.3498, allocations: 2.626 MB / 473.9 MB, free: 57.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.351, allocations: 0.6763 MB / 474.6 MB, free: 57.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.3617, allocations: 6.311 MB / 480.9 MB, free: 56.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.3618, allocations: 55.08 kB / 480.9 MB, free: 56.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=165): time 7.203e-06/0.3618, allocations: 0 / 480.9 MB, free: 56.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=203): time 0.05116/0.413, allocations: 18.09 MB / 499 MB, free: 45.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.413, allocations: 201.2 kB / 499.2 MB, free: 44.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003218/0.4162, allocations: 3.877 MB / 0.4913 GB, free: 41.78 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.4165, allocations: 53.7 kB / 0.4914 GB, free: 41.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001271/0.4177, allocations: 3.851 MB / 0.4951 GB, free: 38.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.4183, allocations: 0.8452 MB / 0.4959 GB, free: 37.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.4194, allocations: 1.487 MB / 0.4974 GB, free: 35.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.92e-05/0.4194, allocations: 484.7 kB / 0.4979 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.4206, allocations: 0.7939 MB / 0.4986 GB, free: 34.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002678/0.4232, allocations: 6.964 MB / 0.5054 GB, free: 24.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/0.4281, allocations: 8.435 MB / 0.5137 GB, free: 14.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/0.4282, allocations: 40 kB / 0.5137 GB, free: 14.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01131/0.4395, allocations: 6.648 MB / 0.5202 GB, free: 7.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.4396, allocations: 68 kB / 0.5203 GB, free: 7.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001138/0.4397, allocations: 147.9 kB / 0.5204 GB, free: 7.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004543/0.4442, allocations: 1.758 MB / 0.5221 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002712/0.447, allocations: 1.478 MB / 0.5236 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007449/0.4544, allocations: 5.493 MB / 0.5289 GB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/0.4597, allocations: 287.7 kB / 0.5292 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009484/0.4606, allocations: 356 kB / 0.5295 GB, free: 13.68 MB / 394.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.001921/0.4625, allocations: 0.7046 MB / 0.5302 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/0.4636, allocations: 433.5 kB / 0.5306 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005438/0.469, allocations: 2.584 MB / 0.5332 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.38e-05/0.469, allocations: 24 kB / 0.5332 GB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.4691, allocations: 9.969 kB / 0.5332 GB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.748e-05/0.4691, allocations: 7.969 kB / 0.5332 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.4835, allocations: 7.609 MB / 0.5406 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.4836, allocations: 4 kB / 0.5406 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.4843, allocations: 239.6 kB / 0.5409 GB, free: 1.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004517/0.4888, allocations: 1.543 MB / 0.5424 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/0.489, allocations: 40 kB / 0.5424 GB, free: 392 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006914/0.496, allocations: 4.439 MB / 0.5468 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.496, allocations: 7.938 kB / 0.5468 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007594/0.5036, allocations: 3.68 MB / 0.5504 GB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/0.5053, allocations: 0.5909 MB / 0.5509 GB, free: 7.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004705/0.5058, allocations: 36 kB / 0.551 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000992/0.5068, allocations: 39.98 kB / 0.551 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/0.5071, allocations: 129 kB / 0.5511 GB, free: 7.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-05/0.5072, allocations: 44 kB / 0.5512 GB, free: 7.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001791/0.509, allocations: 1.571 MB / 0.5527 GB, free: 5.707 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.509, allocations: 0 / 0.5527 GB, free: 5.707 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006499/0.5155, allocations: 1.426 MB / 0.5541 GB, free: 4.281 MB / 410.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.0005193/0.5161, allocations: 186.8 kB / 0.5543 GB, free: 4.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005125/0.5212, allocations: 3.535 MB / 0.5577 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5212, allocations: 0 / 0.5577 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.5227, allocations: 1.069 MB / 0.5588 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/0.525, allocations: 446.5 kB / 0.5592 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.5405, allocations: 8.636 MB / 0.5676 GB, free: 6.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/0.5423, allocations: 1.409 MB / 0.569 GB, free: 4.875 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002014/0.5444, allocations: 0.541 MB / 0.5695 GB, free: 4.336 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/0.5454, allocations: 0.6309 MB / 0.5701 GB, free: 3.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.284e-06/0.5454, allocations: 3.609 kB / 0.5702 GB, free: 3.703 MB / 426.7 MB Notification: Performance of Templates: time 0.2238/0.7692, allocations: 55.3 MB / 0.6242 GB, free: 175.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.223224875982851]