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.001426/0.001426, allocations: 77.16 kB / 19.93 MB, free: 1.781 MB / 14.72 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.00215/0.00215, allocations: 162.4 kB / 23.21 MB, free: 4.906 MB / 14.72 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.673/1.673, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] 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.2484/0.2484, allocations: 32.38 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] 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.174e-06/2.174e-06, allocations: 0 / 407.4 MB, free: 3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.631e-05/3.848e-05, allocations: 2.281 kB / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01703/0.01707, allocations: 11.66 MB / 419 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01333/0.0304, allocations: 4.616 MB / 423.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003739/0.03414, allocations: 99.56 kB / 423.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009224/0.04336, allocations: 4.088 MB / 427.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008916/0.05228, allocations: 2.359 MB / 430.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004367/0.05665, allocations: 1.29 MB / 431.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0132/0.06985, allocations: 6.241 MB / 437.7 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008789/0.07864, allocations: 4.551 MB / 442.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006974/0.08561, allocations: 3.348 MB / 445.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006435/0.09205, allocations: 3.219 MB / 448.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001715/0.09376, allocations: 0.5156 MB / 449.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003954/0.09772, allocations: 1.607 MB / 451 MB, free: 7.211 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004506/0.1022, allocations: 2.871 MB / 453.8 MB, free: 4.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00551/0.1077, allocations: 1.803 MB / 455.6 MB, free: 2.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02024/0.128, allocations: 10.16 MB / 465.8 MB, free: 8.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.128, allocations: 0 / 465.8 MB, free: 8.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.128, allocations: 4 kB / 465.8 MB, free: 8.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000714/0.1287, allocations: 0 / 465.8 MB, free: 8.332 MB / 398.1 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.03098/0.1597, allocations: 6.667 MB / 472.5 MB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.074e-05/0.1598, allocations: 8.031 kB / 472.5 MB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3514/0.5112, allocations: 2.853 MB / 475.3 MB, free: 65.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01113/0.5223, allocations: 3.682 MB / 479 MB, free: 64.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/0.5227, allocations: 371 kB / 479.4 MB, free: 64.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00172/0.5244, allocations: 433 kB / 479.8 MB, free: 64.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02857/0.553, allocations: 13.97 MB / 493.8 MB, free: 57.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.5531, allocations: 56.12 kB / 493.8 MB, free: 57.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005416/0.5537, allocations: 203.1 kB / 494 MB, free: 57.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003297/0.557, allocations: 2.405 MB / 496.4 MB, free: 56.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01968/0.5767, allocations: 11.77 MB / 0.4963 GB, free: 44.64 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06243/0.6391, allocations: 48.27 MB / 0.5434 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/0.6538, allocations: 4.302 MB / 0.5476 GB, free: 7.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005784/0.6596, allocations: 2.754 MB / 0.5503 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02466/0.6843, allocations: 10.32 MB / 0.5604 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.523e-05/0.6844, allocations: 59.81 kB / 0.5604 GB, free: 10.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=197): time 6.933e-06/0.6844, allocations: 0 / 0.5604 GB, free: 10.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=248): time 0.1808/0.8652, allocations: 45.03 MB / 0.6044 GB, free: 13.08 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/0.8654, allocations: 235.6 kB / 0.6046 GB, free: 12.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008571/0.8739, allocations: 4.764 MB / 0.6093 GB, free: 8.016 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007579/0.8747, allocations: 61.73 kB / 0.6094 GB, free: 7.949 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003901/0.8786, allocations: 3.992 MB / 0.6133 GB, free: 3.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001841/0.8804, allocations: 0.9651 MB / 0.6142 GB, free: 2.945 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002673/0.8831, allocations: 1.485 MB / 0.6156 GB, free: 1.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.8832, allocations: 301.1 kB / 0.6159 GB, free: 1.152 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006122/0.8894, allocations: 3.442 MB / 0.6193 GB, free: 13.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01319/0.9026, allocations: 7.753 MB / 0.6269 GB, free: 3.852 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02015/0.9227, allocations: 11.87 MB / 0.6385 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002361/0.9229, allocations: 48 kB / 0.6385 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.0411/0.964, allocations: 14.41 MB / 0.6526 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004143/0.9645, allocations: 72.06 kB / 0.6526 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005299/0.965, allocations: 152 kB / 0.6528 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02116/0.9861, allocations: 4.012 MB / 0.6567 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/0.9962, allocations: 1.638 MB / 0.6583 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3515/1.348, allocations: 19.51 MB / 0.6774 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008287/1.356, allocations: 0.5126 MB / 0.6779 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001869/1.358, allocations: 435.6 kB / 0.6783 GB, free: 161.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * 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 (880): * Single equations (assignments): 876 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006366/1.364, allocations: 2.66 MB / 0.6809 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001507/1.366, allocations: 413.8 kB / 0.6813 GB, free: 160.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01803/1.384, allocations: 8.559 MB / 0.6896 GB, free: 158 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/1.384, allocations: 29.22 kB / 0.6897 GB, free: 158 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/1.384, allocations: 15.69 kB / 0.6897 GB, free: 158 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.236e-05/1.384, allocations: 12 kB / 0.6897 GB, free: 158 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03192/1.416, allocations: 16.24 MB / 0.7055 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-05/1.416, allocations: 4 kB / 0.7055 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/1.418, allocations: 398 kB / 0.7059 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/1.43, allocations: 4.068 MB / 0.7099 GB, free: 144.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005742/1.43, allocations: 46.47 kB / 0.7099 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/1.452, allocations: 17.91 MB / 0.7274 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.452, allocations: 0 / 0.7274 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02288/1.475, allocations: 13.17 MB / 0.7403 GB, free: 113.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002752/1.477, allocations: 0.8966 MB / 0.7412 GB, free: 113.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000926/1.478, allocations: 40 kB / 0.7412 GB, free: 113.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003086/1.481, allocations: 271.3 kB / 0.7415 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007198/1.482, allocations: 162.1 kB / 0.7416 GB, free: 112.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/1.482, allocations: 60 kB / 0.7417 GB, free: 112.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004313/1.487, allocations: 2.804 MB / 0.7444 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/1.487, allocations: 3.938 kB / 0.7444 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009385/1.496, allocations: 1.61 MB / 0.746 GB, free: 108.2 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (173): * Single equations (assignments): 169 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/1.497, allocations: 243.7 kB / 0.7462 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01154/1.509, allocations: 7.898 MB / 0.7539 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.509, allocations: 0 / 0.7539 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003966/1.513, allocations: 2.863 MB / 0.7567 GB, free: 97.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003832/1.516, allocations: 469.5 kB / 0.7572 GB, free: 96.85 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/1.539, allocations: 13.1 MB / 0.77 GB, free: 83.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005138/1.544, allocations: 3.587 MB / 0.7735 GB, free: 80.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004247/1.548, allocations: 2.147 MB / 0.7756 GB, free: 77.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009726/1.549, allocations: 272.5 kB / 0.7758 GB, free: 77.71 MB / 0.5137 GB Notification: Performance of SimCode: time 1.383e-06/1.549, allocations: 0 / 0.7758 GB, free: 77.71 MB / 0.5137 GB Notification: Performance of Templates: time 0.09152/1.64, allocations: 59.81 MB / 0.8342 GB, free: 17.79 MB / 0.5137 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.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: 8.86641564592719]