Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.2482/0.2482, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 75.86 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4607, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.02096/0.4817, allocations: 13.36 MB / 0.5619 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.4953, allocations: 4.906 MB / 0.5667 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00416/0.4995, allocations: 99.5 kB / 0.5668 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00934/0.5088, allocations: 4.042 MB / 0.5707 GB, free: 8.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0095/0.5183, allocations: 2.288 MB / 0.5729 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003865/0.5222, allocations: 1.174 MB / 0.5741 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01142/0.5336, allocations: 5.748 MB / 0.5797 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006859/0.5404, allocations: 3.753 MB / 0.5834 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005839/0.5463, allocations: 2.204 MB / 0.5855 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006509/0.5528, allocations: 3.197 MB / 0.5886 GB, free: 6.488 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002263/0.5551, allocations: 0.5039 MB / 0.5891 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004881/0.5599, allocations: 1.705 MB / 0.5908 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.5646, allocations: 2.735 MB / 0.5935 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007101/0.5717, allocations: 3.018 MB / 0.5964 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0183/0.59, allocations: 9.993 MB / 0.6062 GB, free: 4.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.59, allocations: 0 / 0.6062 GB, free: 4.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.59, allocations: 0 / 0.6062 GB, free: 4.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004644/0.5905, allocations: 0 / 0.6062 GB, free: 4.469 MB / 446.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.02459/0.6151, allocations: 6.613 MB / 0.6126 GB, free: 13.78 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.6151, allocations: 8.922 kB / 0.6126 GB, free: 13.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01828/0.6334, allocations: 2.751 MB / 0.6153 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01168/0.6451, allocations: 3.626 MB / 0.6189 GB, free: 7.332 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005219/0.6456, allocations: 350.2 kB / 0.6192 GB, free: 6.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00241/0.648, allocations: 427.8 kB / 0.6196 GB, free: 6.562 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/0.6828, allocations: 13.85 MB / 0.6331 GB, free: 7.855 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/0.6831, allocations: 51.53 kB / 0.6332 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001887/0.685, allocations: 203.8 kB / 0.6334 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004361/0.6893, allocations: 2.41 MB / 0.6357 GB, free: 5.191 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0299/0.7192, allocations: 11.75 MB / 0.6472 GB, free: 9.43 MB / 494.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.08826/0.8075, allocations: 51.46 MB / 0.6975 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01351/0.821, allocations: 4.099 MB / 0.7015 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004931/0.8259, allocations: 2.754 MB / 0.7042 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02556/0.8515, allocations: 10.83 MB / 0.7147 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.651e-05/0.8516, allocations: 55.81 kB / 0.7148 GB, free: 2.629 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 6.251e-06/0.8516, allocations: 4 kB / 0.7148 GB, free: 2.625 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.5131/1.365, allocations: 43.4 MB / 0.7572 GB, free: 155 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/1.365, allocations: 234 kB / 0.7574 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005951/1.371, allocations: 4.791 MB / 0.7621 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006356/1.371, allocations: 69.28 kB / 0.7621 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.373, allocations: 3.993 MB / 0.766 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.375, allocations: 0.9743 MB / 0.767 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001814/1.377, allocations: 1.516 MB / 0.7685 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.127e-05/1.377, allocations: 305.1 kB / 0.7688 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003931/1.38, allocations: 3.439 MB / 0.7721 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005569/1.386, allocations: 7.709 MB / 0.7797 GB, free: 130.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.398, allocations: 11.87 MB / 0.7912 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/1.398, allocations: 47.84 kB / 0.7913 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03135/1.429, allocations: 14.46 MB / 0.8054 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/1.429, allocations: 68 kB / 0.8055 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002892/1.43, allocations: 148 kB / 0.8056 GB, free: 102 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0116/1.441, allocations: 4.027 MB / 0.8095 GB, free: 97.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00526/1.447, allocations: 1.63 MB / 0.8111 GB, free: 96.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02538/1.472, allocations: 19.75 MB / 0.8304 GB, free: 76.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00695/1.479, allocations: 467 kB / 0.8309 GB, free: 76.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/1.481, allocations: 436 kB / 0.8313 GB, free: 75.59 MB / 0.5606 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 (884): * Single equations (assignments): 880 * 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.006331/1.487, allocations: 2.653 MB / 0.8339 GB, free: 72.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001578/1.489, allocations: 449 kB / 0.8343 GB, free: 72.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0193/1.508, allocations: 8.597 MB / 0.8427 GB, free: 63.86 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-05/1.508, allocations: 31.94 kB / 0.8427 GB, free: 63.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.663e-05/1.508, allocations: 12 kB / 0.8427 GB, free: 63.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.155e-05/1.508, allocations: 11.95 kB / 0.8428 GB, free: 63.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03694/1.545, allocations: 17.77 MB / 0.8601 GB, free: 46.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.076e-05/1.545, allocations: 4 kB / 0.8601 GB, free: 46.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002069/1.547, allocations: 397.9 kB / 0.8605 GB, free: 45.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01133/1.558, allocations: 4.069 MB / 0.8645 GB, free: 41.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007164/1.559, allocations: 40 kB / 0.8645 GB, free: 41.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02282/1.582, allocations: 18.13 MB / 0.8822 GB, free: 23.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.582, allocations: 7.938 kB / 0.8822 GB, free: 23.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/1.605, allocations: 13.21 MB / 0.8951 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/1.607, allocations: 420.8 kB / 0.8955 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/1.609, allocations: 36 kB / 0.8955 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003363/1.612, allocations: 215.7 kB / 0.8957 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009391/1.613, allocations: 162.1 kB / 0.8959 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004663/1.613, allocations: 63.98 kB / 0.896 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005235/1.619, allocations: 2.981 MB / 0.8989 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.619, allocations: 0 / 0.8989 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007229/1.626, allocations: 1.5 MB / 0.9003 GB, free: 4.68 MB / 0.5606 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.0009275/1.627, allocations: 218.3 kB / 0.9005 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01353/1.64, allocations: 7.906 MB / 0.9083 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.64, allocations: 0 / 0.9083 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007393/1.648, allocations: 2.863 MB / 0.9111 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006868/1.655, allocations: 0.5231 MB / 0.9116 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/1.687, allocations: 13.16 MB / 0.9244 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007999/1.695, allocations: 4.095 MB / 0.9284 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005675/1.701, allocations: 2.206 MB / 0.9306 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.702, allocations: 279.4 kB / 0.9308 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of SimCode: time 1.673e-06/1.702, allocations: 0 / 0.9308 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of Templates: time 0.4302/2.132, allocations: 67.04 MB / 0.9963 GB, free: 197.4 MB / 0.6231 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 9.141322155483067]