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.0009884/0.0009884, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.00109/0.00109, allocations: 166.1 kB / 25.61 MB, free: 8.855 MB / 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.9595/0.9595, allocations: 177 MB / 205.9 MB, free: 4.457 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.2127/0.2127, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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 2.044e-06/2.044e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.839e-05, allocations: 2.844 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.0116/0.01163, allocations: 12.48 MB / 392.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008995/0.02063, allocations: 4.733 MB / 397.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003553/0.02418, allocations: 95.56 kB / 397.3 MB, free: 5.348 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005112/0.02929, allocations: 4.209 MB / 401.5 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0078/0.03709, allocations: 2.321 MB / 403.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003426/0.04052, allocations: 1.318 MB / 405.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0103/0.05082, allocations: 6.553 MB / 411.7 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006002/0.05682, allocations: 4.681 MB / 416.4 MB, free: 2.156 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.06321, allocations: 3.942 MB / 420.4 MB, free: 14.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004583/0.06779, allocations: 3.254 MB / 423.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.06906, allocations: 0.5 MB / 424.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002886/0.07194, allocations: 1.591 MB / 425.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002769/0.07471, allocations: 2.84 MB / 428.5 MB, free: 6.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002933/0.07765, allocations: 1.784 MB / 430.3 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.08783, allocations: 6.314 MB / 436.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.08784, allocations: 0 / 436.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08784, allocations: 4 kB / 436.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003298/0.08817, allocations: 4 kB / 436.6 MB, free: 13.87 MB / 362.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.01191/0.1001, allocations: 6.689 MB / 443.3 MB, free: 7.098 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1001, allocations: 8.031 kB / 443.3 MB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/0.1108, allocations: 2.346 MB / 445.7 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005475/0.1163, allocations: 2.777 MB / 448.5 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.1166, allocations: 380.1 kB / 448.8 MB, free: 1.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009731/0.1176, allocations: 432.3 kB / 449.3 MB, free: 1.098 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01271/0.1303, allocations: 7.422 MB / 456.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001289/0.1304, allocations: 47.58 kB / 456.7 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004529/0.1309, allocations: 203.8 kB / 456.9 MB, free: 8.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/0.1333, allocations: 2.172 MB / 459.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009313/0.1426, allocations: 3.457 MB / 462.6 MB, free: 2.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2037/0.3463, allocations: 54.11 MB / 0.5046 GB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00542/0.3518, allocations: 2.266 MB / 0.5068 GB, free: 52.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008763/0.3526, allocations: 0.694 MB / 0.5074 GB, free: 52.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008073/0.3607, allocations: 5.785 MB / 0.5131 GB, free: 51.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3607, allocations: 57.42 kB / 0.5132 GB, free: 50.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 3.817e-06/0.3607, allocations: 1.281 kB / 0.5132 GB, free: 50.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.03084/0.3916, allocations: 12.17 MB / 0.525 GB, free: 49.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.3917, allocations: 231.5 kB / 0.5253 GB, free: 48.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003641/0.3953, allocations: 4.16 MB / 0.5293 GB, free: 46.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.3954, allocations: 56.7 kB / 0.5294 GB, free: 46.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001469/0.3969, allocations: 4.295 MB / 0.5336 GB, free: 43.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/0.3974, allocations: 0.9329 MB / 0.5345 GB, free: 42.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00117/0.3986, allocations: 1.602 MB / 0.536 GB, free: 41.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.3986, allocations: 476.8 kB / 0.5365 GB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.3997, allocations: 0.7287 MB / 0.5372 GB, free: 40.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/0.4022, allocations: 7.33 MB / 0.5444 GB, free: 29.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/0.4067, allocations: 8.768 MB / 0.5529 GB, free: 19.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.577e-05/0.4067, allocations: 44 kB / 0.553 GB, free: 19.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.006748/0.4135, allocations: 6.118 MB / 0.559 GB, free: 13.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.4135, allocations: 72.19 kB / 0.559 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/0.4136, allocations: 159.9 kB / 0.5592 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001603/0.4152, allocations: 0.6983 MB / 0.5599 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.4178, allocations: 1.618 MB / 0.5614 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.4211, allocations: 3.867 MB / 0.5652 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00302/0.4242, allocations: 327.6 kB / 0.5655 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003021/0.4245, allocations: 376 kB / 0.5659 GB, free: 6.531 MB / 410.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.00136/0.4258, allocations: 0.7517 MB / 0.5666 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005548/0.4264, allocations: 471.9 kB / 0.5671 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/0.4286, allocations: 1.674 MB / 0.5687 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.4286, allocations: 24 kB / 0.5687 GB, free: 3.598 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.4286, allocations: 4 kB / 0.5687 GB, free: 3.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.4286, allocations: 11.97 kB / 0.5687 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009079/0.4377, allocations: 6.745 MB / 0.5753 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.4377, allocations: 4.719 kB / 0.5753 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008447/0.4385, allocations: 319.5 kB / 0.5756 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.4399, allocations: 478.5 kB / 0.5761 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.44, allocations: 43.05 kB / 0.5761 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/0.4434, allocations: 2.933 MB / 0.579 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.4435, allocations: 9.688 kB / 0.579 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.4476, allocations: 3.022 MB / 0.582 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008007/0.4484, allocations: 389 kB / 0.5823 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003251/0.4488, allocations: 40 kB / 0.5824 GB, free: 6.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000802/0.4496, allocations: 43.98 kB / 0.5824 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.4498, allocations: 153.9 kB / 0.5826 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.116e-05/0.4499, allocations: 52.03 kB / 0.5826 GB, free: 5.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001965/0.4519, allocations: 1.673 MB / 0.5842 GB, free: 4.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.4519, allocations: 0 / 0.5842 GB, free: 4.312 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004666/0.4566, allocations: 1.324 MB / 0.5855 GB, free: 2.988 MB / 426.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.0004955/0.4571, allocations: 246 kB / 0.5858 GB, free: 2.746 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004552/0.4616, allocations: 3.449 MB / 0.5891 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.4616, allocations: 4 kB / 0.5891 GB, free: 15.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.4626, allocations: 0.9014 MB / 0.59 GB, free: 14.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.4644, allocations: 0.4993 MB / 0.5905 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/0.4776, allocations: 9.678 MB / 0.6 GB, free: 4.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00167/0.4792, allocations: 1.632 MB / 0.6016 GB, free: 2.523 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001671/0.4809, allocations: 0.5871 MB / 0.6021 GB, free: 1.934 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/0.4822, allocations: 0.6894 MB / 0.6028 GB, free: 1.242 MB / 442.7 MB Notification: Performance of SimCode: time 1.183e-06/0.4822, allocations: 3.938 kB / 0.6028 GB, free: 1.238 MB / 442.7 MB Notification: Performance of Templates: time 0.06428/0.5465, allocations: 42.47 MB / 0.6443 GB, free: 7.434 MB / 490.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.937112093903124]