Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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.001171/0.001171, allocations: 91.33 kB / 20.43 MB, free: 4.137 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.001371/0.001371, allocations: 169.3 kB / 23.8 MB, free: 0.7695 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.038/1.038, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1448/0.1448, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.815e-06/2.815e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.565e-05, allocations: 12.22 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01074/0.01078, allocations: 12.88 MB / 360.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01175/0.02252, allocations: 4.76 MB / 365.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003068/0.02559, allocations: 95.56 kB / 365.4 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005824/0.03142, allocations: 4.291 MB / 369.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006091/0.03751, allocations: 2.356 MB / 372.1 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002553/0.04006, allocations: 1.329 MB / 373.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007791/0.04785, allocations: 6.252 MB / 379.6 MB, free: 9.355 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006825/0.05468, allocations: 4.678 MB / 384.3 MB, free: 4.605 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01043/0.06511, allocations: 3.774 MB / 388.1 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00569/0.0708, allocations: 3.258 MB / 391.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001884/0.07268, allocations: 0.5039 MB / 391.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.07687, allocations: 1.611 MB / 393.5 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004226/0.0811, allocations: 2.868 MB / 396.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004147/0.08525, allocations: 1.796 MB / 398.1 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.09671, allocations: 6.38 MB / 404.5 MB, free: 372 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.09671, allocations: 4 kB / 404.5 MB, free: 368 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.09672, allocations: 0 / 404.5 MB, free: 368 kB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004794/0.0972, allocations: 0 / 404.5 MB, free: 368 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01408/0.1113, allocations: 7.095 MB / 411.6 MB, free: 9.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.1113, allocations: 12.03 kB / 411.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01035/0.1217, allocations: 3.27 MB / 414.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006514/0.1282, allocations: 3.14 MB / 418 MB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.1286, allocations: 376.1 kB / 418.4 MB, free: 2.316 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.1301, allocations: 428.3 kB / 418.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02042/0.1505, allocations: 8.508 MB / 427.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001792/0.1507, allocations: 55.5 kB / 427.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006084/0.1513, allocations: 203.8 kB / 427.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002191/0.1535, allocations: 2.347 MB / 429.9 MB, free: 5.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01226/0.1658, allocations: 4.678 MB / 434.6 MB, free: 0.9141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2344/0.4002, allocations: 54.79 MB / 489.4 MB, free: 52.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006675/0.4069, allocations: 2.507 MB / 491.9 MB, free: 51.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001446/0.4083, allocations: 0.8126 MB / 492.7 MB, free: 51.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009328/0.4177, allocations: 6.217 MB / 498.9 MB, free: 50.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.4177, allocations: 52.39 kB / 499 MB, free: 50.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=178): time 5.56e-06/0.4177, allocations: 0 / 499 MB, free: 50.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=226): time 0.04271/0.4604, allocations: 18 MB / 0.5049 GB, free: 37.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.4605, allocations: 230.7 kB / 0.5051 GB, free: 37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/0.4659, allocations: 4.231 MB / 0.5092 GB, free: 32.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004697/0.4664, allocations: 57.7 kB / 0.5093 GB, free: 32.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002617/0.469, allocations: 4.262 MB / 0.5134 GB, free: 28.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001045/0.47, allocations: 0.9231 MB / 0.5143 GB, free: 27.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001904/0.4719, allocations: 1.572 MB / 0.5159 GB, free: 26.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.472, allocations: 480.8 kB / 0.5163 GB, free: 25.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.4737, allocations: 0.8147 MB / 0.5171 GB, free: 25.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/0.4778, allocations: 7.38 MB / 0.5243 GB, free: 14.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007386/0.4852, allocations: 8.996 MB / 0.5331 GB, free: 3.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001815/0.4854, allocations: 44 kB / 0.5332 GB, free: 3.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01382/0.4992, allocations: 6.769 MB / 0.5398 GB, free: 12.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.4993, allocations: 73 kB / 0.5399 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002062/0.4995, allocations: 156 kB / 0.54 GB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.5021, allocations: 0.8919 MB / 0.5409 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/0.5073, allocations: 1.673 MB / 0.5425 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006301/0.5136, allocations: 4.168 MB / 0.5466 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005794/0.5194, allocations: 463.4 kB / 0.547 GB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/0.5206, allocations: 442.7 kB / 0.5474 GB, free: 4.383 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (905): * Single equations (assignments): 901 * 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 {(1,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002472/0.523, allocations: 0.7509 MB / 0.5482 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008751/0.5239, allocations: 477.2 kB / 0.5486 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/0.5271, allocations: 2.004 MB / 0.5506 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/0.5271, allocations: 24 kB / 0.5506 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.5271, allocations: 9.75 kB / 0.5506 GB, free: 1.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.5271, allocations: 7.969 kB / 0.5506 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01348/0.5406, allocations: 7.346 MB / 0.5578 GB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.5406, allocations: 4 kB / 0.5578 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.542, allocations: 380.1 kB / 0.5582 GB, free: 9.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001895/0.5439, allocations: 0.6773 MB / 0.5588 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.5441, allocations: 43.61 kB / 0.5589 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003642/0.5478, allocations: 3.177 MB / 0.562 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.5478, allocations: 4 kB / 0.562 GB, free: 5.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004988/0.5528, allocations: 3.458 MB / 0.5654 GB, free: 1.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/0.5544, allocations: 0.6337 MB / 0.566 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004099/0.5548, allocations: 43.98 kB / 0.566 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/0.5557, allocations: 163.8 kB / 0.5662 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.556, allocations: 152.9 kB / 0.5663 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.62e-05/0.5561, allocations: 67.66 kB / 0.5664 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002693/0.5588, allocations: 1.831 MB / 0.5682 GB, free: 14.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5588, allocations: 4.031 kB / 0.5682 GB, free: 14.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007173/0.566, allocations: 1.355 MB / 0.5695 GB, free: 13.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (revolute.phi,revolute.w) * 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 (179): * Single equations (assignments): 175 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006751/0.5667, allocations: 262.9 kB / 0.5697 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005899/0.5726, allocations: 3.694 MB / 0.5734 GB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.5726, allocations: 0.75 kB / 0.5734 GB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.5739, allocations: 0.9778 MB / 0.5743 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.5764, allocations: 0.5008 MB / 0.5748 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.5927, allocations: 9.772 MB / 0.5843 GB, free: 14.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.5944, allocations: 1.641 MB / 0.5859 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003292/0.5976, allocations: 1.856 MB / 0.5878 GB, free: 10.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/0.5982, allocations: 276.5 kB / 0.588 GB, free: 10.23 MB / 442.7 MB Notification: Performance of SimCode: time 2.063e-06/0.5982, allocations: 0 / 0.588 GB, free: 10.23 MB / 442.7 MB Notification: Performance of Templates: time 0.2108/0.8091, allocations: 40.02 MB / 0.6271 GB, free: 157 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.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.91242932388559]