Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009951/0.0009951, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9821/0.9821, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2644/0.2644, allocations: 34.87 MB / 296.3 MB, free: 0.5547 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.82e-07/8.82e-07, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.271e-05, allocations: 8.922 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01009/0.01011, allocations: 12.79 MB / 391.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007849/0.01796, allocations: 4.774 MB / 396.4 MB, free: 428 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.01963, allocations: 95.56 kB / 396.4 MB, free: 332 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.02407, allocations: 4.276 MB / 400.7 MB, free: 12.04 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.02867, allocations: 2.317 MB / 403 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.03057, allocations: 1.321 MB / 404.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005949/0.03652, allocations: 6.548 MB / 410.9 MB, free: 1.824 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004505/0.04102, allocations: 4.678 MB / 415.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/0.0456, allocations: 3.922 MB / 419.5 MB, free: 9.145 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003567/0.04916, allocations: 3.25 MB / 422.8 MB, free: 5.887 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.05024, allocations: 0.5 MB / 423.3 MB, free: 5.387 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.05239, allocations: 1.595 MB / 424.9 MB, free: 3.789 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002104/0.05449, allocations: 2.836 MB / 427.7 MB, free: 0.9453 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002045/0.05654, allocations: 1.78 MB / 429.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007047/0.06358, allocations: 6.314 MB / 435.8 MB, free: 8.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.06359, allocations: 4 kB / 435.8 MB, free: 8.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.06359, allocations: 3.938 kB / 435.8 MB, free: 8.816 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002294/0.06382, allocations: 0 / 435.8 MB, free: 8.816 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.009014/0.07284, allocations: 7.057 MB / 442.9 MB, free: 1.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.07288, allocations: 12.03 kB / 442.9 MB, free: 1.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1667/0.2396, allocations: 3.264 MB / 446.1 MB, free: 76.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004699/0.2443, allocations: 3.088 MB / 449.2 MB, free: 76.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.2446, allocations: 373.4 kB / 449.6 MB, free: 76.58 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.2456, allocations: 430.8 kB / 450 MB, free: 76.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01369/0.2593, allocations: 8.513 MB / 458.5 MB, free: 73.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/0.2595, allocations: 54 kB / 458.6 MB, free: 73.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008776/0.2604, allocations: 202.9 kB / 458.8 MB, free: 73.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002078/0.2625, allocations: 2.358 MB / 461.1 MB, free: 73.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.2735, allocations: 4.673 MB / 465.8 MB, free: 73.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0402/0.3137, allocations: 54.77 MB / 0.5084 GB, free: 29.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/0.3205, allocations: 2.51 MB / 0.5108 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.3219, allocations: 0.8122 MB / 0.5116 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008719/0.3306, allocations: 6.191 MB / 0.5177 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.3306, allocations: 65.52 kB / 0.5177 GB, free: 26.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 5.771e-06/0.3306, allocations: 0 / 0.5177 GB, free: 26.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.0352/0.3658, allocations: 17.93 MB / 0.5352 GB, free: 12.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3659, allocations: 230.1 kB / 0.5354 GB, free: 12.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004304/0.3702, allocations: 4.185 MB / 0.5395 GB, free: 8.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002245/0.3704, allocations: 61.7 kB / 0.5396 GB, free: 8.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001814/0.3722, allocations: 4.263 MB / 0.5438 GB, free: 3.859 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/0.3729, allocations: 0.9189 MB / 0.5447 GB, free: 2.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/0.3744, allocations: 1.568 MB / 0.5462 GB, free: 1.375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.3744, allocations: 480.7 kB / 0.5466 GB, free: 0.9023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.376, allocations: 0.8245 MB / 0.5474 GB, free: 80 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005423/0.3814, allocations: 7.381 MB / 0.5547 GB, free: 5.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008292/0.3897, allocations: 8.99 MB / 0.5634 GB, free: 10.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/0.3898, allocations: 44 kB / 0.5635 GB, free: 9.969 MB / 442.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01323/0.4031, allocations: 6.774 MB / 0.5701 GB, free: 3.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/0.4032, allocations: 72 kB / 0.5702 GB, free: 3.117 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002059/0.4034, allocations: 156 kB / 0.5703 GB, free: 2.965 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/0.4058, allocations: 0.8816 MB / 0.5712 GB, free: 2.078 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007474/0.4133, allocations: 1.677 MB / 0.5728 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008254/0.4216, allocations: 4.157 MB / 0.5769 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/0.4252, allocations: 451.5 kB / 0.5773 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007125/0.4259, allocations: 447 kB / 0.5777 GB, free: 11.25 MB / 458.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.001692/0.4276, allocations: 0.7467 MB / 0.5785 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006689/0.4283, allocations: 469.3 kB / 0.5789 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/0.4313, allocations: 2 MB / 0.5809 GB, free: 8.008 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.4313, allocations: 24 kB / 0.5809 GB, free: 7.984 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/0.4313, allocations: 12 kB / 0.5809 GB, free: 7.973 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.4313, allocations: 15.91 kB / 0.5809 GB, free: 7.957 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.4422, allocations: 7.32 MB / 0.5881 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.4423, allocations: 4.094 kB / 0.5881 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/0.4432, allocations: 383.4 kB / 0.5884 GB, free: 136 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/0.4448, allocations: 0.6684 MB / 0.5891 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.4449, allocations: 51.92 kB / 0.5891 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003504/0.4484, allocations: 3.165 MB / 0.5922 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.4484, allocations: 7.938 kB / 0.5922 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.4535, allocations: 3.46 MB / 0.5956 GB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000773/0.4543, allocations: 389.1 kB / 0.596 GB, free: 8.148 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002801/0.4545, allocations: 40 kB / 0.596 GB, free: 8.109 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/0.4554, allocations: 164.9 kB / 0.5962 GB, free: 7.949 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.4557, allocations: 152.9 kB / 0.5963 GB, free: 7.797 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.549e-05/0.4558, allocations: 65.39 kB / 0.5964 GB, free: 7.734 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002306/0.4581, allocations: 1.803 MB / 0.5981 GB, free: 5.926 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4581, allocations: 0 / 0.5981 GB, free: 5.926 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00423/0.4623, allocations: 1.324 MB / 0.5994 GB, free: 4.602 MB / 474.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.0005323/0.4628, allocations: 242.3 kB / 0.5997 GB, free: 4.363 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005242/0.4681, allocations: 3.699 MB / 0.6033 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.4681, allocations: 0 / 0.6033 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.134/0.6021, allocations: 0.9936 MB / 0.6042 GB, free: 138 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.6046, allocations: 0.4885 MB / 0.6047 GB, free: 138 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.6165, allocations: 9.724 MB / 0.6142 GB, free: 134 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.6177, allocations: 1.624 MB / 0.6158 GB, free: 133.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002669/0.6204, allocations: 1.85 MB / 0.6176 GB, free: 133.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/0.6209, allocations: 279.8 kB / 0.6179 GB, free: 133.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.224e-06/0.6209, allocations: 0 / 0.6179 GB, free: 133.8 MB / 474.7 MB Notification: Performance of Templates: time 0.05783/0.6787, allocations: 39.31 MB / 0.6563 GB, free: 123.1 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",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.713825962040573]