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.0008763/0.0008763, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0009673/0.0009673, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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 0.9332/0.9332, allocations: 158.6 MB / 185.7 MB, free: 3.031 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.1377/0.1377, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.064e-06/2.064e-06, allocations: 0 / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.771e-05, allocations: 2.281 kB / 408.1 MB, free: 1.715 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.00969/0.009718, allocations: 11.66 MB / 419.8 MB, free: 6 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008695/0.01841, allocations: 4.623 MB / 424.4 MB, free: 1.367 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.02091, allocations: 99.5 kB / 424.5 MB, free: 1.27 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005249/0.02616, allocations: 4.08 MB / 428.6 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005139/0.0313, allocations: 2.356 MB / 430.9 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002537/0.03383, allocations: 1.302 MB / 432.2 MB, free: 9.504 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009943/0.04378, allocations: 6.234 MB / 438.5 MB, free: 3.254 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005825/0.0496, allocations: 4.563 MB / 443 MB, free: 14.62 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.05371, allocations: 3.341 MB / 446.4 MB, free: 11.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/0.05711, allocations: 3.227 MB / 449.6 MB, free: 8.039 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006631/0.05778, allocations: 0.5078 MB / 450.1 MB, free: 7.531 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001965/0.05974, allocations: 1.611 MB / 451.7 MB, free: 5.918 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.06148, allocations: 2.864 MB / 454.6 MB, free: 3.047 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001926/0.06341, allocations: 1.811 MB / 456.4 MB, free: 1.23 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007899/0.0713, allocations: 10.15 MB / 466.5 MB, free: 7.047 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.07131, allocations: 0 / 466.5 MB, free: 7.047 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.07131, allocations: 0 / 466.5 MB, free: 7.047 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001615/0.07147, allocations: 0 / 466.5 MB, free: 7.047 MB / 442.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.009009/0.08048, allocations: 6.664 MB / 473.2 MB, free: 316 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.08052, allocations: 8.031 kB / 473.2 MB, free: 308 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2014/0.2819, allocations: 2.816 MB / 476 MB, free: 95.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005615/0.2876, allocations: 3.678 MB / 479.7 MB, free: 94.22 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.2877, allocations: 379.6 kB / 480.1 MB, free: 94.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005224/0.2882, allocations: 426.2 kB / 480.5 MB, free: 93.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01302/0.3013, allocations: 13.97 MB / 494.5 MB, free: 87.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.47e-05/0.3014, allocations: 53.27 kB / 494.5 MB, free: 87.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.3017, allocations: 205.1 kB / 494.7 MB, free: 87.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001928/0.3036, allocations: 2.409 MB / 497.1 MB, free: 87.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01517/0.3188, allocations: 11.74 MB / 0.4969 GB, free: 83.54 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.03442/0.3532, allocations: 48.26 MB / 0.5441 GB, free: 39.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006435/0.3597, allocations: 4.305 MB / 0.5483 GB, free: 34.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.3617, allocations: 2.757 MB / 0.551 GB, free: 31.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009592/0.3713, allocations: 10.32 MB / 0.561 GB, free: 21.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.3714, allocations: 63.78 kB / 0.5611 GB, free: 21.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=197): time 4.759e-06/0.3714, allocations: 4 kB / 0.5611 GB, free: 21.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=248): time 0.08019/0.4516, allocations: 45.04 MB / 0.6051 GB, free: 8.551 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.4517, allocations: 235.6 kB / 0.6053 GB, free: 8.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004869/0.4565, allocations: 4.756 MB / 0.61 GB, free: 3.492 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003197/0.4569, allocations: 65.7 kB / 0.61 GB, free: 3.422 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001775/0.4586, allocations: 3.988 MB / 0.6139 GB, free: 15.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007209/0.4594, allocations: 0.9573 MB / 0.6148 GB, free: 14.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.4608, allocations: 1.489 MB / 0.6163 GB, free: 12.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.4608, allocations: 301.1 kB / 0.6166 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003278/0.4641, allocations: 3.438 MB / 0.6199 GB, free: 9.191 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005501/0.4696, allocations: 7.741 MB / 0.6275 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009683/0.4793, allocations: 11.86 MB / 0.6391 GB, free: 1.402 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.581e-05/0.4794, allocations: 51.94 kB / 0.6391 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01766/0.497, allocations: 14.39 MB / 0.6532 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.972e-05/0.4971, allocations: 72 kB / 0.6533 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.4972, allocations: 148 kB / 0.6534 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1978/0.695, allocations: 4.02 MB / 0.6573 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/0.6988, allocations: 1.622 MB / 0.6589 GB, free: 152.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01848/0.7173, allocations: 19.51 MB / 0.678 GB, free: 145.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004875/0.7221, allocations: 0.4939 MB / 0.6784 GB, free: 145.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001088/0.7232, allocations: 432.5 kB / 0.6789 GB, free: 145.1 MB / 0.5105 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.003851/0.7271, allocations: 2.658 MB / 0.6815 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007777/0.7279, allocations: 414.2 kB / 0.6819 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.7401, allocations: 8.565 MB / 0.6902 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.045e-05/0.7402, allocations: 25.91 kB / 0.6902 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.186e-05/0.7402, allocations: 13.92 kB / 0.6903 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.662e-05/0.7402, allocations: 12.42 kB / 0.6903 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02416/0.7644, allocations: 16.23 MB / 0.7061 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/0.7644, allocations: 7.031 kB / 0.7061 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/0.7656, allocations: 399.4 kB / 0.7065 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006601/0.7722, allocations: 4.071 MB / 0.7105 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005276/0.7728, allocations: 43.02 kB / 0.7105 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/0.788, allocations: 17.91 MB / 0.728 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.788, allocations: 0 / 0.728 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01443/0.8024, allocations: 13.16 MB / 0.7409 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002789/0.8052, allocations: 0.8984 MB / 0.7417 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001153/0.8064, allocations: 39.98 kB / 0.7418 GB, free: 106 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/0.8084, allocations: 267.3 kB / 0.742 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00051/0.8089, allocations: 166.1 kB / 0.7422 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.809, allocations: 60 kB / 0.7423 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003349/0.8124, allocations: 2.808 MB / 0.745 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.8124, allocations: 0 / 0.745 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005382/0.8178, allocations: 1.603 MB / 0.7466 GB, free: 101.2 MB / 0.5105 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.0006343/0.8184, allocations: 247.2 kB / 0.7468 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008174/0.8266, allocations: 7.894 MB / 0.7545 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.8266, allocations: 64 / 0.7545 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/0.8293, allocations: 2.864 MB / 0.7573 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.8317, allocations: 465 kB / 0.7577 GB, free: 89.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01634/0.848, allocations: 13.65 MB / 0.7711 GB, free: 76.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003971/0.852, allocations: 3.57 MB / 0.7746 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/0.8532, allocations: 320.5 kB / 0.7749 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/0.8532, allocations: 8 kB / 0.7749 GB, free: 72.18 MB / 0.5105 GB Notification: Performance of Templates: time 0.2883/1.141, allocations: 103.3 MB / 0.8758 GB, free: 160.7 MB / 0.5261 GB " [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=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: 11.019436873495579]