Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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.001516/0.001516, allocations: 123.9 kB / 18.46 MB, free: 4.461 MB / 14.72 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.00164/0.001641, allocations: 205.8 kB / 21.41 MB, free: 1.516 MB / 14.72 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 1.431/1.431, allocations: 227.4 MB / 251.6 MB, free: 276 kB / 190.1 MB " [Timeout remaining time 178] 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.2508/0.2508, allocations: 46.17 MB / 351.1 MB, free: 14.3 MB / 286.1 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003087/0.003087, allocations: 85.69 kB / 490.2 MB, free: 28.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1294, allocations: 62.45 MB / 0.5397 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.0135/0.1429, allocations: 12.27 MB / 0.5517 GB, free: 7.785 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007585/0.1505, allocations: 3.938 MB / 0.5555 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.1516, allocations: 63.88 kB / 0.5556 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002501/0.1541, allocations: 1.315 MB / 0.5569 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.1578, allocations: 1.72 MB / 0.5585 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.159, allocations: 491 kB / 0.559 GB, free: 248 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004636/0.1636, allocations: 3.613 MB / 0.5625 GB, free: 12.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.1665, allocations: 2.009 MB / 0.5645 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002085/0.1686, allocations: 1.187 MB / 0.5657 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002878/0.1715, allocations: 1.709 MB / 0.5673 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005039/0.172, allocations: 236 kB / 0.5676 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.1741, allocations: 0.9399 MB / 0.5685 GB, free: 6.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001698/0.1758, allocations: 1.57 MB / 0.57 GB, free: 4.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.178, allocations: 1.875 MB / 0.5718 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008159/0.1861, allocations: 6.204 MB / 0.5779 GB, free: 12.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1862, allocations: 3.938 kB / 0.5779 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1862, allocations: 4 kB / 0.5779 GB, free: 12.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00016/0.1864, allocations: 0 / 0.5779 GB, free: 12.8 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.009122/0.1955, allocations: 4.245 MB / 0.5821 GB, free: 8.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.1956, allocations: 8.031 kB / 0.5821 GB, free: 8.473 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.2065, allocations: 3.094 MB / 0.5851 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/0.2104, allocations: 1.885 MB / 0.5869 GB, free: 3.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/0.2106, allocations: 185 kB / 0.5871 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005519/0.2112, allocations: 251.9 kB / 0.5873 GB, free: 3.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01694/0.2281, allocations: 10.48 MB / 0.5976 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-05/0.2282, allocations: 31.7 kB / 0.5976 GB, free: 8.062 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/0.2286, allocations: 115.8 kB / 0.5977 GB, free: 7.949 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004541/0.2332, allocations: 2.553 MB / 0.6002 GB, free: 5.391 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2945/0.5277, allocations: 9.911 MB / 0.6099 GB, free: 52.62 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04424/0.572, allocations: 34.34 MB / 0.6434 GB, free: 31.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007283/0.5793, allocations: 5.171 MB / 0.6485 GB, free: 28.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002279/0.5816, allocations: 2.3 MB / 0.6507 GB, free: 26.96 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.5828, allocations: 1.882 MB / 0.6525 GB, free: 25.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5829, allocations: 51.53 kB / 0.6526 GB, free: 25.04 MB / 462.1 MB Notification: Performance of pre-optimization done (n=229): time 5.029e-06/0.5829, allocations: 4 kB / 0.6526 GB, free: 25.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=235): time 0.02775/0.6106, allocations: 14.06 MB / 0.6663 GB, free: 11.62 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.6107, allocations: 69.41 kB / 0.6664 GB, free: 11.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.6138, allocations: 2.636 MB / 0.669 GB, free: 8.949 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002335/0.6141, allocations: 53.7 kB / 0.669 GB, free: 8.891 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.6154, allocations: 2.743 MB / 0.6717 GB, free: 6.203 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006643/0.6161, allocations: 0.8882 MB / 0.6726 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.6173, allocations: 1.045 MB / 0.6736 GB, free: 4.273 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.6174, allocations: 309.1 kB / 0.6739 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/0.6199, allocations: 2.208 MB / 0.676 GB, free: 1.754 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005798/0.6257, allocations: 5.067 MB / 0.681 GB, free: 11.28 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.6367, allocations: 7.973 MB / 0.6888 GB, free: 1.902 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.317e-05/0.6368, allocations: 28 kB / 0.6888 GB, free: 1.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01419/0.651, allocations: 7.896 MB / 0.6965 GB, free: 9.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.662e-05/0.6511, allocations: 51.94 kB / 0.6966 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.6513, allocations: 100 kB / 0.6967 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002322/0.6536, allocations: 0.7951 MB / 0.6974 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003974/0.6576, allocations: 1.178 MB / 0.6986 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/0.664, allocations: 4.531 MB / 0.703 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003531/0.6676, allocations: 291.8 kB / 0.7033 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006207/0.6682, allocations: 296 kB / 0.7036 GB, free: 2.613 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003414/0.6716, allocations: 2.022 MB / 0.7055 GB, free: 0.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005259/0.6721, allocations: 270.2 kB / 0.7058 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008624/0.6808, allocations: 4.749 MB / 0.7104 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.972e-05/0.6809, allocations: 45.11 kB / 0.7105 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.6809, allocations: 4 kB / 0.7105 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.081e-05/0.6809, allocations: 7.969 kB / 0.7105 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/0.6986, allocations: 10.5 MB / 0.7208 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.6987, allocations: 8 kB / 0.7208 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.7002, allocations: 359.4 kB / 0.7211 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002089/0.7023, allocations: 0.6567 MB / 0.7217 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/0.7025, allocations: 40.88 kB / 0.7218 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.7079, allocations: 3.912 MB / 0.7256 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/0.7079, allocations: 15.92 kB / 0.7256 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01111/0.719, allocations: 7.141 MB / 0.7326 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008186/0.7199, allocations: 327.2 kB / 0.7329 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003535/0.7202, allocations: 47.91 kB / 0.733 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.7215, allocations: 139.8 kB / 0.7331 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003632/0.7218, allocations: 133 kB / 0.7332 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/0.722, allocations: 67.98 kB / 0.7333 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0026/0.7246, allocations: 1.615 MB / 0.7349 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7246, allocations: 0 / 0.7349 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004305/0.7289, allocations: 0.9104 MB / 0.7357 GB, free: 1.234 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004728/0.7294, allocations: 171.8 kB / 0.7359 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008877/0.7383, allocations: 5.392 MB / 0.7412 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/0.7384, allocations: 3.938 kB / 0.7412 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.7415, allocations: 2.043 MB / 0.7432 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/0.7437, allocations: 365 kB / 0.7435 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/0.7615, allocations: 9.444 MB / 0.7527 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004202/0.7658, allocations: 3.167 MB / 0.7558 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004374/0.7702, allocations: 1.953 MB / 0.7577 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006827/0.7709, allocations: 203.4 kB / 0.7579 GB, free: 10.33 MB / 0.545 GB Notification: Performance of SimCode: time 8.82e-07/0.7709, allocations: 0 / 0.7579 GB, free: 10.33 MB / 0.545 GB Notification: Performance of Templates: time 0.06014/0.8311, allocations: 28.65 MB / 0.7859 GB, free: 13.75 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.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: 6.5863630175590515]