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.001323/0.001323, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001563/0.001563, allocations: 215.3 kB / 23 MB, free: 5.609 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.484/1.484, allocations: 230.2 MB / 256.2 MB, free: 8.531 MB / 206.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.2322/0.2322, allocations: 46.91 MB / 359.4 MB, free: 4.859 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.002246/0.002246, allocations: 71.88 kB / 0.4946 GB, free: 8.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3137, allocations: 65.99 MB / 0.5591 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01448/0.3282, allocations: 12.35 MB / 0.5711 GB, free: 8.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007936/0.3361, allocations: 3.991 MB / 0.575 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.3383, allocations: 59.88 kB / 0.5751 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.3417, allocations: 1.346 MB / 0.5764 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004774/0.3464, allocations: 1.762 MB / 0.5781 GB, free: 1.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3477, allocations: 491 kB / 0.5786 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004664/0.3524, allocations: 3.609 MB / 0.5821 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.3544, allocations: 1.614 MB / 0.5837 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.3559, allocations: 1.191 MB / 0.5849 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00227/0.3581, allocations: 1.888 MB / 0.5867 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004224/0.3585, allocations: 236 kB / 0.5869 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.3602, allocations: 0.9711 MB / 0.5879 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001466/0.3617, allocations: 1.608 MB / 0.5895 GB, free: 5.824 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00176/0.3634, allocations: 1.871 MB / 0.5913 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006751/0.3702, allocations: 6.211 MB / 0.5974 GB, free: 13.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.3702, allocations: 4 kB / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3702, allocations: 0 / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001208/0.3703, allocations: 4 kB / 0.5974 GB, free: 13.7 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.007221/0.3775, allocations: 4.23 MB / 0.6015 GB, free: 9.395 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.3776, allocations: 12.03 kB / 0.6015 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009921/0.3875, allocations: 3.102 MB / 0.6045 GB, free: 6.273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004162/0.3917, allocations: 1.877 MB / 0.6064 GB, free: 4.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.3918, allocations: 189 kB / 0.6065 GB, free: 4.164 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008876/0.3927, allocations: 252 kB / 0.6068 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.4096, allocations: 10.48 MB / 0.617 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-05/0.4097, allocations: 35.7 kB / 0.6171 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003561/0.4101, allocations: 119.8 kB / 0.6172 GB, free: 8.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004244/0.4143, allocations: 2.545 MB / 0.6197 GB, free: 6.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01874/0.4331, allocations: 9.915 MB / 0.6293 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05194/0.485, allocations: 34.35 MB / 0.6629 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009983/0.495, allocations: 4.966 MB / 0.6677 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003187/0.4982, allocations: 2.115 MB / 0.6698 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001924/0.5001, allocations: 1.88 MB / 0.6716 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.042e-05/0.5001, allocations: 56.56 kB / 0.6717 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=229): time 5.13e-06/0.5001, allocations: 0 / 0.6717 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=235): time 0.03198/0.5321, allocations: 14.05 MB / 0.6854 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.5322, allocations: 77.34 kB / 0.6855 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003781/0.536, allocations: 2.635 MB / 0.688 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003214/0.5363, allocations: 49.7 kB / 0.6881 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.5385, allocations: 2.745 MB / 0.6908 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00114/0.5396, allocations: 0.8835 MB / 0.6916 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001468/0.5411, allocations: 1.049 MB / 0.6927 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5412, allocations: 305.1 kB / 0.6929 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003264/0.5445, allocations: 2.208 MB / 0.6951 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005691/0.5502, allocations: 5.063 MB / 0.7001 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.5603, allocations: 7.977 MB / 0.7078 GB, free: 7.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.677e-05/0.5603, allocations: 32 kB / 0.7079 GB, free: 7.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=695) (initialization): time 0.01431/0.5746, allocations: 7.888 MB / 0.7156 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/0.5747, allocations: 50.34 kB / 0.7156 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.5749, allocations: 100 kB / 0.7157 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002251/0.5771, allocations: 0.7934 MB / 0.7165 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/0.581, allocations: 1.189 MB / 0.7177 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006246/0.5872, allocations: 4.523 MB / 0.7221 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/0.5906, allocations: 295.8 kB / 0.7224 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008704/0.5914, allocations: 304 kB / 0.7226 GB, free: 8.316 MB / 0.5606 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.003385/0.5948, allocations: 2.02 MB / 0.7246 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.5953, allocations: 270.2 kB / 0.7249 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00828/0.6036, allocations: 4.713 MB / 0.7295 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.818e-05/0.6036, allocations: 47.97 kB / 0.7295 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.6037, allocations: 7.938 kB / 0.7295 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-05/0.6037, allocations: 7.969 kB / 0.7295 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2797/0.8834, allocations: 10.49 MB / 0.7398 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/0.8834, allocations: 3.812 kB / 0.7398 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.8847, allocations: 364.5 kB / 0.7401 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/0.8863, allocations: 0.656 MB / 0.7408 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/0.8865, allocations: 44.38 kB / 0.7408 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/0.8902, allocations: 3.913 MB / 0.7446 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.8902, allocations: 11.84 kB / 0.7446 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007862/0.898, allocations: 7.138 MB / 0.7516 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/0.8986, allocations: 321.8 kB / 0.7519 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.8989, allocations: 46.52 kB / 0.752 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.8999, allocations: 144.9 kB / 0.7521 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.9002, allocations: 130.5 kB / 0.7522 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/0.9004, allocations: 67.45 kB / 0.7523 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001801/0.9022, allocations: 1.62 MB / 0.7539 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.9022, allocations: 0 / 0.7539 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003096/0.9052, allocations: 0.9074 MB / 0.7548 GB, free: 143.3 MB / 0.5606 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.0003708/0.9056, allocations: 181.4 kB / 0.7549 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005567/0.9112, allocations: 5.162 MB / 0.76 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.9112, allocations: 0 / 0.76 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.913, allocations: 1.878 MB / 0.7618 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.9147, allocations: 357.1 kB / 0.7622 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/0.9261, allocations: 9.57 MB / 0.7715 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/0.9285, allocations: 3.159 MB / 0.7746 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003255/0.9317, allocations: 1.961 MB / 0.7765 GB, free: 121.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005561/0.9323, allocations: 199.4 kB / 0.7767 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.522e-06/0.9323, allocations: 4 kB / 0.7767 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.04419/0.9765, allocations: 30.31 MB / 0.8063 GB, free: 91.18 MB / 0.5606 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.793596246279776]