Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009679/0.0009679, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001077/0.001077, allocations: 170.9 kB / 24.91 MB, free: 9.152 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.008/1.008, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2739/0.2739, allocations: 32.8 MB / 294.6 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.129e-05, allocations: 5.156 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009735/0.009756, allocations: 11.32 MB / 334.6 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007577/0.01733, allocations: 4.452 MB / 339.1 MB, free: 9.809 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.01849, allocations: 83.62 kB / 339.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.02142, allocations: 2.904 MB / 342 MB, free: 6.812 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.02475, allocations: 2.146 MB / 344.2 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.02643, allocations: 1.119 MB / 345.3 MB, free: 3.535 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005193/0.03162, allocations: 6.096 MB / 351.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004651/0.03627, allocations: 3.366 MB / 354.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.04067, allocations: 3.212 MB / 358 MB, free: 6.777 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003204/0.04387, allocations: 2.611 MB / 360.6 MB, free: 4.16 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004562/0.04433, allocations: 372 kB / 361 MB, free: 3.797 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.04625, allocations: 1.377 MB / 362.3 MB, free: 2.418 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001457/0.04771, allocations: 2.345 MB / 364.7 MB, free: 68 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.04902, allocations: 1.425 MB / 366.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.05326, allocations: 5.352 MB / 371.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.05326, allocations: 0 / 371.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.05327, allocations: 0 / 371.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.292e-05/0.05333, allocations: 0 / 371.5 MB, free: 9.266 MB / 346.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.006159/0.05949, allocations: 5.211 MB / 376.7 MB, free: 4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.05953, allocations: 8.031 kB / 376.7 MB, free: 3.992 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003301/0.06283, allocations: 1.234 MB / 377.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002618/0.06545, allocations: 2.217 MB / 380.1 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.06557, allocations: 254.8 kB / 380.4 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004293/0.066, allocations: 345.3 kB / 380.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006837/0.07284, allocations: 5.942 MB / 386.6 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.175e-05/0.07293, allocations: 55.52 kB / 386.7 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/0.0732, allocations: 159.8 kB / 386.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002038/0.07524, allocations: 2.092 MB / 389 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004691/0.07993, allocations: 3.079 MB / 392 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.1073, allocations: 36.96 MB / 429 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005371/0.1127, allocations: 2.431 MB / 431.4 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/0.1133, allocations: 0.5455 MB / 432 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006159/0.1195, allocations: 5.537 MB / 437.5 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1195, allocations: 47.56 kB / 437.5 MB, free: 4.703 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.056e-06/0.1195, allocations: 3.938 kB / 437.6 MB, free: 4.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.03885/0.1583, allocations: 15.88 MB / 453.4 MB, free: 4.773 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.436e-05/0.1584, allocations: 201.2 kB / 453.6 MB, free: 4.531 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002975/0.1614, allocations: 3.455 MB / 457.1 MB, free: 1.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.1615, allocations: 53.7 kB / 457.1 MB, free: 1.031 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.16/0.3216, allocations: 3.409 MB / 460.5 MB, free: 114.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.3226, allocations: 0.8117 MB / 461.4 MB, free: 114.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.3237, allocations: 1.282 MB / 462.6 MB, free: 113.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.892e-05/0.3238, allocations: 305.1 kB / 462.9 MB, free: 113.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.3252, allocations: 0.9632 MB / 463.9 MB, free: 113.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.3275, allocations: 4.971 MB / 468.9 MB, free: 108.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.3314, allocations: 6.496 MB / 475.4 MB, free: 103 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-05/0.3315, allocations: 40.47 kB / 475.4 MB, free: 103 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.008032/0.3395, allocations: 5.725 MB / 481.1 MB, free: 102.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.3396, allocations: 66.47 kB / 481.2 MB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.3397, allocations: 144.9 kB / 481.3 MB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004294/0.344, allocations: 1.753 MB / 483.1 MB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002375/0.3464, allocations: 1.54 MB / 484.6 MB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006292/0.3527, allocations: 4.732 MB / 489.4 MB, free: 98.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/0.3552, allocations: 289.6 kB / 489.6 MB, free: 98.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003018/0.3555, allocations: 353.9 kB / 490 MB, free: 98.5 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.001182/0.3567, allocations: 0.6633 MB / 490.7 MB, free: 98.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003668/0.3571, allocations: 254.4 kB / 490.9 MB, free: 97.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004225/0.3613, allocations: 2.338 MB / 493.2 MB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/0.3613, allocations: 25.64 kB / 493.3 MB, free: 96.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.3613, allocations: 11.94 kB / 493.3 MB, free: 96.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3613, allocations: 11.53 kB / 493.3 MB, free: 96.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009063/0.3704, allocations: 6.553 MB / 499.8 MB, free: 90.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3704, allocations: 0 / 499.8 MB, free: 90.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.3711, allocations: 267.6 kB / 0.4884 GB, free: 90.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004151/0.3752, allocations: 1.699 MB / 0.49 GB, free: 88.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.3753, allocations: 35.98 kB / 0.4901 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005536/0.3809, allocations: 3.736 MB / 0.4937 GB, free: 85.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3809, allocations: 4 kB / 0.4937 GB, free: 85.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.386, allocations: 3.2 MB / 0.4969 GB, free: 81.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.3866, allocations: 345.8 kB / 0.4972 GB, free: 81.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.3869, allocations: 33.88 kB / 0.4972 GB, free: 81.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.3877, allocations: 39.94 kB / 0.4973 GB, free: 81.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.388, allocations: 133 kB / 0.4974 GB, free: 81.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.456e-05/0.3881, allocations: 42.08 kB / 0.4974 GB, free: 81.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.3891, allocations: 1.273 MB / 0.4987 GB, free: 80.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3891, allocations: 0 / 0.4987 GB, free: 80.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003647/0.3928, allocations: 1.4 MB / 0.5 GB, free: 78.91 MB / 426.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.0003415/0.3931, allocations: 159.7 kB / 0.5002 GB, free: 78.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003299/0.3964, allocations: 3.175 MB / 0.5033 GB, free: 75.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001391/0.3966, allocations: 104.1 kB / 0.5034 GB, free: 75.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009564/0.3975, allocations: 0.8936 MB / 0.5043 GB, free: 74.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.3992, allocations: 0.669 MB / 0.5049 GB, free: 74.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008175/0.4074, allocations: 8.496 MB / 0.5132 GB, free: 65.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009871/0.4084, allocations: 1.397 MB / 0.5146 GB, free: 64.05 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001133/0.4095, allocations: 0.5235 MB / 0.5151 GB, free: 63.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007839/0.4103, allocations: 0.5909 MB / 0.5157 GB, free: 62.94 MB / 426.7 MB Notification: Performance of SimCode: time 1.193e-06/0.4103, allocations: 2.188 kB / 0.5157 GB, free: 62.94 MB / 426.7 MB Notification: Performance of Templates: time 0.05945/0.4698, allocations: 53.36 MB / 0.5678 GB, free: 10.02 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.249528836924583]