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.001233/0.001233, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.001139/0.001139, allocations: 169.2 kB / 24.82 MB, free: 9.273 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.9965/0.9965, allocations: 177 MB / 205.1 MB, free: 5.488 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.2792/0.2792, allocations: 34.87 MB / 296.6 MB, free: 0.5039 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 1.422e-06/1.422e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.985e-05, allocations: 3.297 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.009077/0.009097, allocations: 12.5 MB / 391.7 MB, free: 5.266 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005882/0.01498, allocations: 4.72 MB / 396.5 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007122/0.01569, allocations: 99.56 kB / 396.6 MB, free: 444 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.01921, allocations: 4.201 MB / 400.8 MB, free: 12.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.02199, allocations: 2.329 MB / 403.1 MB, free: 9.879 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.02358, allocations: 1.321 MB / 404.4 MB, free: 8.555 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005096/0.02868, allocations: 6.551 MB / 411 MB, free: 1.996 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003943/0.03262, allocations: 4.678 MB / 415.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004037/0.03666, allocations: 3.938 MB / 419.6 MB, free: 9.301 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002895/0.03956, allocations: 3.25 MB / 422.8 MB, free: 6.043 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005884/0.04014, allocations: 0.5 MB / 423.3 MB, free: 5.543 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.04227, allocations: 1.595 MB / 424.9 MB, free: 3.945 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.0446, allocations: 2.836 MB / 427.8 MB, free: 1.102 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001504/0.04611, allocations: 1.78 MB / 429.5 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005868/0.05197, allocations: 6.318 MB / 435.9 MB, free: 8.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.05198, allocations: 0 / 435.9 MB, free: 8.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.05198, allocations: 0 / 435.9 MB, free: 8.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.631e-05/0.05206, allocations: 0 / 435.9 MB, free: 8.977 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.007232/0.05929, allocations: 6.701 MB / 442.6 MB, free: 2.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.05933, allocations: 12.02 kB / 442.6 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1961/0.2554, allocations: 2.339 MB / 444.9 MB, free: 92.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005781/0.2612, allocations: 2.78 MB / 447.7 MB, free: 91.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.2615, allocations: 372.4 kB / 448 MB, free: 91.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009392/0.2624, allocations: 431.8 kB / 448.5 MB, free: 91.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.273, allocations: 7.419 MB / 455.9 MB, free: 88.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.2731, allocations: 54.45 kB / 455.9 MB, free: 88.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/0.2735, allocations: 197.2 kB / 456.1 MB, free: 88.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.2753, allocations: 2.171 MB / 458.3 MB, free: 88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006761/0.282, allocations: 3.46 MB / 461.8 MB, free: 87.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03187/0.3139, allocations: 54.13 MB / 0.5038 GB, free: 43.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005088/0.319, allocations: 2.275 MB / 0.506 GB, free: 43.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008019/0.3198, allocations: 0.6887 MB / 0.5067 GB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007747/0.3275, allocations: 5.786 MB / 0.5124 GB, free: 40.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3276, allocations: 58.42 kB / 0.5124 GB, free: 40.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 3.817e-06/0.3276, allocations: 0 / 0.5124 GB, free: 40.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.02899/0.3566, allocations: 12.17 MB / 0.5243 GB, free: 32.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.3566, allocations: 231.7 kB / 0.5245 GB, free: 32.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/0.36, allocations: 4.163 MB / 0.5286 GB, free: 28.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.662e-05/0.3601, allocations: 61.69 kB / 0.5286 GB, free: 28.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001489/0.3616, allocations: 4.294 MB / 0.5328 GB, free: 24.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004896/0.3621, allocations: 0.9266 MB / 0.5337 GB, free: 23.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/0.3632, allocations: 1.595 MB / 0.5353 GB, free: 21.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.812e-05/0.3633, allocations: 484.7 kB / 0.5358 GB, free: 21.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.3643, allocations: 0.7287 MB / 0.5365 GB, free: 20.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/0.3671, allocations: 7.334 MB / 0.5436 GB, free: 10.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005138/0.3722, allocations: 8.769 MB / 0.5522 GB, free: 14.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.413e-05/0.3723, allocations: 44 kB / 0.5522 GB, free: 14.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.007645/0.3799, allocations: 6.123 MB / 0.5582 GB, free: 8.465 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.709e-05/0.38, allocations: 68 kB / 0.5583 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/0.3802, allocations: 156 kB / 0.5584 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.3816, allocations: 0.6831 MB / 0.5591 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/0.3842, allocations: 1.626 MB / 0.5607 GB, free: 5.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.3881, allocations: 3.878 MB / 0.5645 GB, free: 1.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.3912, allocations: 315.7 kB / 0.5648 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003864/0.3916, allocations: 380 kB / 0.5651 GB, free: 1.258 MB / 426.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.001587/0.3932, allocations: 0.7622 MB / 0.5659 GB, free: 496 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005135/0.3937, allocations: 469.3 kB / 0.5663 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.3961, allocations: 1.668 MB / 0.568 GB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.3961, allocations: 24 kB / 0.568 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.3961, allocations: 8 kB / 0.568 GB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.3961, allocations: 7.969 kB / 0.568 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009766/0.4059, allocations: 6.743 MB / 0.5746 GB, free: 7.375 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.4059, allocations: 8 kB / 0.5746 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007126/0.4066, allocations: 311.5 kB / 0.5749 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/0.4081, allocations: 487.5 kB / 0.5753 GB, free: 6.582 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.4082, allocations: 44 kB / 0.5754 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.4111, allocations: 2.934 MB / 0.5783 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.4111, allocations: 11.94 kB / 0.5783 GB, free: 3.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.4144, allocations: 3.02 MB / 0.5812 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/0.4149, allocations: 381.3 kB / 0.5816 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000264/0.4152, allocations: 47.98 kB / 0.5816 GB, free: 15.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006921/0.4159, allocations: 40 kB / 0.5817 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.4161, allocations: 156.6 kB / 0.5818 GB, free: 15.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.519e-05/0.4162, allocations: 55.98 kB / 0.5819 GB, free: 15.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001845/0.418, allocations: 1.677 MB / 0.5835 GB, free: 13.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/0.418, allocations: 0 / 0.5835 GB, free: 13.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00394/0.422, allocations: 1.32 MB / 0.5848 GB, free: 12.66 MB / 458.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.0004005/0.4224, allocations: 238.7 kB / 0.585 GB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00368/0.426, allocations: 3.449 MB / 0.5884 GB, free: 8.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.426, allocations: 10 kB / 0.5884 GB, free: 8.973 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008667/0.4269, allocations: 0.907 MB / 0.5893 GB, free: 8.047 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.4284, allocations: 496.5 kB / 0.5898 GB, free: 7.562 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.4412, allocations: 9.681 MB / 0.5992 GB, free: 13.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/0.4425, allocations: 1.628 MB / 0.6008 GB, free: 12.04 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001423/0.4439, allocations: 0.5923 MB / 0.6014 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009024/0.4448, allocations: 0.6855 MB / 0.602 GB, free: 10.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.203e-06/0.4448, allocations: 4 kB / 0.6021 GB, free: 10.75 MB / 474.7 MB Notification: Performance of Templates: time 0.2136/0.6584, allocations: 41.56 MB / 0.6426 GB, free: 131.2 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.807267721742392]