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.001759/0.001759, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002232/0.002232, allocations: 165.3 kB / 24.5 MB, free: 3.453 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.523/1.523, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 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.2031/0.2031, allocations: 34.27 MB / 295.4 MB, free: 14.5 MB / 286.1 MB " [Timeout remaining time 179] 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.002605/0.002605, allocations: 83.88 kB / 443.1 MB, free: 6.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3542, allocations: 66.05 MB / 0.4973 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.009503/0.3637, allocations: 10.74 MB / 0.5077 GB, free: 22.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.3717, allocations: 3.752 MB / 0.5114 GB, free: 20.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/0.3741, allocations: 68.38 kB / 0.5115 GB, free: 20.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.3767, allocations: 1.306 MB / 0.5127 GB, free: 19.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004693/0.3814, allocations: 1.772 MB / 0.5145 GB, free: 19.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3828, allocations: 0.4892 MB / 0.515 GB, free: 18.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005054/0.3879, allocations: 3.608 MB / 0.5185 GB, free: 17.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002687/0.3906, allocations: 1.825 MB / 0.5203 GB, free: 16.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.3928, allocations: 1.212 MB / 0.5214 GB, free: 16.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.396, allocations: 1.818 MB / 0.5232 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008417/0.3969, allocations: 235.2 kB / 0.5234 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.3991, allocations: 0.8416 MB / 0.5243 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.4011, allocations: 1.612 MB / 0.5258 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002027/0.4031, allocations: 1.334 MB / 0.5271 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009483/0.4126, allocations: 6.232 MB / 0.5332 GB, free: 11.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.4126, allocations: 1.781 kB / 0.5332 GB, free: 11.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4126, allocations: 4 kB / 0.5332 GB, free: 11.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002588/0.4129, allocations: 0 / 0.5332 GB, free: 11.34 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.01088/0.4237, allocations: 4.164 MB / 0.5373 GB, free: 8.383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.4238, allocations: 9.188 kB / 0.5373 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.4348, allocations: 3.15 MB / 0.5404 GB, free: 6.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/0.441, allocations: 1.82 MB / 0.5422 GB, free: 5.641 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.4413, allocations: 189.1 kB / 0.5423 GB, free: 5.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.443, allocations: 252.7 kB / 0.5426 GB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01872/0.4617, allocations: 10.49 MB / 0.5528 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.4619, allocations: 31.7 kB / 0.5529 GB, free: 12.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001182/0.463, allocations: 123.8 kB / 0.553 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004899/0.4679, allocations: 2.549 MB / 0.5555 GB, free: 9.402 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0215/0.4894, allocations: 9.899 MB / 0.5651 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06132/0.5508, allocations: 31.81 MB / 0.5962 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/0.5609, allocations: 4.171 MB / 0.6003 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/0.5646, allocations: 2.12 MB / 0.6024 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.5659, allocations: 0.5556 MB / 0.6029 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/0.566, allocations: 48.56 kB / 0.6029 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 6.953e-06/0.566, allocations: 0 / 0.6029 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.04125/0.6073, allocations: 14.24 MB / 0.6168 GB, free: 9.684 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.6073, allocations: 73.41 kB / 0.6169 GB, free: 9.602 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005179/0.6125, allocations: 2.628 MB / 0.6195 GB, free: 6.941 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0004511/0.613, allocations: 49.7 kB / 0.6195 GB, free: 6.887 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002553/0.6155, allocations: 2.757 MB / 0.6222 GB, free: 4.102 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001497/0.617, allocations: 0.8951 MB / 0.6231 GB, free: 3.199 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/0.6195, allocations: 1.045 MB / 0.6241 GB, free: 2.145 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0002997/0.6198, allocations: 357.9 kB / 0.6245 GB, free: 1.789 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004259/0.6241, allocations: 2.208 MB / 0.6266 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007518/0.6316, allocations: 5.067 MB / 0.6316 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/0.6446, allocations: 7.977 MB / 0.6394 GB, free: 15.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/0.6448, allocations: 31.94 kB / 0.6394 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01854/0.6633, allocations: 7.878 MB / 0.6471 GB, free: 7.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.6635, allocations: 48 kB / 0.6471 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/0.6637, allocations: 100 kB / 0.6472 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002698/0.6664, allocations: 0.7889 MB / 0.648 GB, free: 6.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/0.6712, allocations: 1.185 MB / 0.6491 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.6781, allocations: 4.354 MB / 0.6534 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/0.6821, allocations: 291.8 kB / 0.6537 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/0.6833, allocations: 300 kB / 0.654 GB, free: 0.6406 MB / 0.545 GB 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.005223/0.6885, allocations: 2.028 MB / 0.6559 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007631/0.6893, allocations: 254.3 kB / 0.6562 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009576/0.6988, allocations: 4.703 MB / 0.6608 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.818e-05/0.6989, allocations: 51.97 kB / 0.6608 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.6989, allocations: 4 kB / 0.6608 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.6989, allocations: 7.969 kB / 0.6608 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0199/0.7188, allocations: 9.231 MB / 0.6699 GB, free: 192 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-05/0.7189, allocations: 8.906 kB / 0.6699 GB, free: 184 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001781/0.7206, allocations: 363.4 kB / 0.6702 GB, free: 15.82 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.7229, allocations: 0.6561 MB / 0.6709 GB, free: 15.16 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002778/0.7232, allocations: 47.98 kB / 0.6709 GB, free: 15.12 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005713/0.7289, allocations: 3.757 MB / 0.6746 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.7289, allocations: 8 kB / 0.6746 GB, free: 11.25 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/0.7414, allocations: 7.123 MB / 0.6815 GB, free: 4.012 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.7425, allocations: 222.2 kB / 0.6817 GB, free: 3.793 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008158/0.7433, allocations: 44.12 kB / 0.6818 GB, free: 3.75 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/0.7451, allocations: 147.7 kB / 0.6819 GB, free: 3.605 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004748/0.7456, allocations: 140.9 kB / 0.6821 GB, free: 3.469 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002642/0.7458, allocations: 63.98 kB / 0.6821 GB, free: 3.406 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003555/0.7494, allocations: 1.473 MB / 0.6836 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.7494, allocations: 0 / 0.6836 GB, free: 1.918 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.005934/0.7553, allocations: 0.91 MB / 0.6844 GB, free: 1.008 MB / 0.5763 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.0007735/0.7561, allocations: 180.3 kB / 0.6846 GB, free: 0.8242 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.009696/0.7658, allocations: 5.147 MB / 0.6896 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/0.7658, allocations: 4.125 kB / 0.6896 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/0.7689, allocations: 1.874 MB / 0.6915 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.7711, allocations: 280.8 kB / 0.6917 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2958/1.067, allocations: 9.541 MB / 0.7011 GB, free: 168.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006355/1.073, allocations: 2.625 MB / 0.7036 GB, free: 168.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004466/1.078, allocations: 1.936 MB / 0.7055 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007665/1.078, allocations: 195.2 kB / 0.7057 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of SimCode: time 1.012e-06/1.078, allocations: 0 / 0.7057 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.05282/1.131, allocations: 23.88 MB / 0.729 GB, free: 163.4 MB / 0.5919 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/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: 7.020161275053397]