Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008664/0.0008664, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004578/0.004578, allocations: 162.4 kB / 24.7 MB, free: 8.91 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 0.912/0.912, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2503/0.2503, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.304e-05, allocations: 4.812 kB / 443.5 MB, free: 1.184 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2087/0.2087, allocations: 11.58 MB / 455 MB, free: 37.79 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008273/0.217, allocations: 4.638 MB / 459.7 MB, free: 34.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.2197, allocations: 97.19 kB / 459.8 MB, free: 34.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004248/0.2239, allocations: 4.068 MB / 463.8 MB, free: 33.1 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.2286, allocations: 2.305 MB / 466.1 MB, free: 31.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.2309, allocations: 1.306 MB / 467.5 MB, free: 31.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006453/0.2373, allocations: 6.537 MB / 474 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005404/0.2427, allocations: 4.544 MB / 478.5 MB, free: 26.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005816/0.2485, allocations: 3.317 MB / 481.8 MB, free: 25.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.2537, allocations: 3.2 MB / 485 MB, free: 24.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001892/0.2556, allocations: 0.5094 MB / 485.6 MB, free: 24.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.2593, allocations: 1.608 MB / 487.2 MB, free: 24.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003642/0.2629, allocations: 2.829 MB / 490 MB, free: 23.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004977/0.2679, allocations: 1.79 MB / 491.8 MB, free: 22.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.2816, allocations: 10.09 MB / 0.4901 GB, free: 17.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2817, allocations: 0 / 0.4901 GB, free: 17.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2817, allocations: 0 / 0.4901 GB, free: 17.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005209/0.2822, allocations: 0 / 0.4901 GB, free: 17.55 MB / 410.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.01852/0.3007, allocations: 6.629 MB / 0.4966 GB, free: 13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.3008, allocations: 9.906 kB / 0.4966 GB, free: 13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/0.3115, allocations: 2.82 MB / 0.4993 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007447/0.319, allocations: 3.569 MB / 0.5028 GB, free: 9.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.3192, allocations: 376.1 kB / 0.5032 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001928/0.3212, allocations: 432.5 kB / 0.5036 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02271/0.3439, allocations: 13.97 MB / 0.5172 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/0.344, allocations: 55.52 kB / 0.5173 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/0.3451, allocations: 199.8 kB / 0.5175 GB, free: 9.176 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002461/0.3475, allocations: 2.414 MB / 0.5198 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01933/0.3669, allocations: 11.75 MB / 0.5313 GB, free: 11 MB / 442.7 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.05282/0.4197, allocations: 48.22 MB / 0.5784 GB, free: 9.535 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008311/0.428, allocations: 4.307 MB / 0.5826 GB, free: 5.188 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002955/0.4309, allocations: 2.753 MB / 0.5853 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01382/0.4448, allocations: 10.3 MB / 0.5954 GB, free: 8.074 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.081e-05/0.4448, allocations: 59.81 kB / 0.5954 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=197): time 6.963e-06/0.4448, allocations: 3.938 kB / 0.5954 GB, free: 8.004 MB / 0.4948 GB Notification: Performance of matching and sorting (n=248): time 0.2981/0.743, allocations: 44.75 MB / 0.6391 GB, free: 154.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.145e-05/0.743, allocations: 234.6 kB / 0.6394 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005267/0.7483, allocations: 4.659 MB / 0.6439 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006531/0.7489, allocations: 67.14 kB / 0.644 GB, free: 152.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001342/0.7503, allocations: 3.985 MB / 0.6479 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009259/0.7512, allocations: 0.9693 MB / 0.6488 GB, free: 149.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/0.7527, allocations: 1.488 MB / 0.6503 GB, free: 148.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.762e-05/0.7528, allocations: 305.1 kB / 0.6506 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003124/0.7559, allocations: 3.439 MB / 0.6539 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004175/0.7601, allocations: 7.744 MB / 0.6615 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008962/0.769, allocations: 11.86 MB / 0.6731 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/0.7691, allocations: 42.34 kB / 0.6731 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.0224/0.7915, allocations: 14.39 MB / 0.6872 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.744e-05/0.7916, allocations: 79.31 kB / 0.6872 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/0.7918, allocations: 146.3 kB / 0.6874 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007616/0.7994, allocations: 4.015 MB / 0.6913 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.8031, allocations: 1.635 MB / 0.6929 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.8188, allocations: 19.52 MB / 0.7119 GB, free: 112 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005708/0.8245, allocations: 495.4 kB / 0.7124 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/0.8264, allocations: 432 kB / 0.7128 GB, free: 111.1 MB / 0.5261 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.00541/0.8319, allocations: 2.658 MB / 0.7154 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000895/0.8328, allocations: 410.3 kB / 0.7158 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009669/0.8424, allocations: 8.569 MB / 0.7242 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-05/0.8425, allocations: 24 kB / 0.7242 GB, free: 99.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.978e-05/0.8425, allocations: 12 kB / 0.7242 GB, free: 99.42 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/0.8425, allocations: 15.97 kB / 0.7242 GB, free: 99.41 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02046/0.863, allocations: 16.23 MB / 0.7401 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.193e-05/0.863, allocations: 0 / 0.7401 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.8642, allocations: 403.3 kB / 0.7405 GB, free: 82.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006066/0.8702, allocations: 4.074 MB / 0.7444 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004539/0.8707, allocations: 43.98 kB / 0.7445 GB, free: 78.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/0.8849, allocations: 17.9 MB / 0.762 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.8849, allocations: 5.438 kB / 0.762 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.8989, allocations: 13.18 MB / 0.7748 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.9001, allocations: 397.1 kB / 0.7752 GB, free: 47.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007009/0.9008, allocations: 36 kB / 0.7753 GB, free: 47.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.9022, allocations: 255.6 kB / 0.7755 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004816/0.9027, allocations: 166.1 kB / 0.7757 GB, free: 46.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.9028, allocations: 67.66 kB / 0.7757 GB, free: 46.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003574/0.9064, allocations: 2.734 MB / 0.7784 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.9064, allocations: 0 / 0.7784 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006174/0.9126, allocations: 1.57 MB / 0.7799 GB, free: 42.31 MB / 0.5261 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.0007081/0.9133, allocations: 231.6 kB / 0.7801 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008425/0.9217, allocations: 7.903 MB / 0.7879 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.9217, allocations: 0 / 0.7879 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002617/0.9243, allocations: 2.862 MB / 0.7907 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.9266, allocations: 468.1 kB / 0.7911 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.9428, allocations: 13.63 MB / 0.8044 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003595/0.9464, allocations: 3.569 MB / 0.8079 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001487/0.9479, allocations: 324.5 kB / 0.8082 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of SimCode: time 3.156e-06/0.9479, allocations: 0 / 0.8082 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.2913/1.239, allocations: 102.6 MB / 0.9084 GB, free: 126.8 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 10.442063089460135]