Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 212.3 kB / 23.74 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2444/0.2444, allocations: 46.93 MB / 360.9 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 67.89 kB / 0.4967 GB, free: 7.383 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4186, allocations: 66.03 MB / 0.5611 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02294/0.4415, allocations: 18.26 MB / 0.579 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0133/0.4548, allocations: 5.338 MB / 0.5842 GB, free: 12.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003765/0.4586, allocations: 123.4 kB / 0.5843 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007302/0.4659, allocations: 3.11 MB / 0.5873 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008366/0.4742, allocations: 2.619 MB / 0.5899 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.4772, allocations: 1.03 MB / 0.5909 GB, free: 5.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.4906, allocations: 7.668 MB / 0.5984 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007732/0.4983, allocations: 3.608 MB / 0.6019 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007063/0.5054, allocations: 2.293 MB / 0.6041 GB, free: 8.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007291/0.5127, allocations: 3.52 MB / 0.6076 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002342/0.515, allocations: 456 kB / 0.608 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004463/0.5195, allocations: 1.33 MB / 0.6093 GB, free: 2.859 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004899/0.5244, allocations: 2.863 MB / 0.6121 GB, free: 15.99 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006885/0.5313, allocations: 3.176 MB / 0.6152 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01809/0.5494, allocations: 9.989 MB / 0.625 GB, free: 2.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5494, allocations: 4 kB / 0.625 GB, free: 2.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5494, allocations: 0 / 0.625 GB, free: 2.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004284/0.5498, allocations: 0 / 0.625 GB, free: 2.762 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02028/0.5701, allocations: 7.313 MB / 0.6321 GB, free: 11.38 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5701, allocations: 8.031 kB / 0.6321 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/0.5857, allocations: 3.877 MB / 0.6359 GB, free: 7.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.5977, allocations: 3.94 MB / 0.6398 GB, free: 3.488 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005508/0.5983, allocations: 316.4 kB / 0.6401 GB, free: 3.176 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002672/0.601, allocations: 443.7 kB / 0.6405 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03254/0.6335, allocations: 15.58 MB / 0.6557 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/0.6337, allocations: 59.58 kB / 0.6558 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006288/0.6344, allocations: 199.8 kB / 0.656 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006377/0.6407, allocations: 3.372 MB / 0.6592 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03571/0.6764, allocations: 14.82 MB / 0.6737 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1021/0.7786, allocations: 54.91 MB / 0.7273 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02104/0.7996, allocations: 6.965 MB / 0.7341 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3472/1.147, allocations: 4.477 MB / 0.7385 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001421/1.148, allocations: 0.6569 MB / 0.7392 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.85e-05/1.148, allocations: 72.39 kB / 0.7392 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 6.302e-06/1.148, allocations: 0 / 0.7392 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.1031/1.251, allocations: 39.94 MB / 0.7782 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/1.251, allocations: 117.7 kB / 0.7783 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007078/1.259, allocations: 4.298 MB / 0.7825 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001207/1.26, allocations: 85.7 kB / 0.7826 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002519/1.262, allocations: 3.931 MB / 0.7865 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002235/1.265, allocations: 1.564 MB / 0.788 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004544/1.269, allocations: 1.576 MB / 0.7895 GB, free: 114.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.045e-05/1.269, allocations: 305.1 kB / 0.7898 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005651/1.275, allocations: 4.079 MB / 0.7938 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00739/1.282, allocations: 7.846 MB / 0.8015 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.295, allocations: 12.88 MB / 0.814 GB, free: 85.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.974e-05/1.295, allocations: 40 kB / 0.8141 GB, free: 85.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02745/1.323, allocations: 14.72 MB / 0.8284 GB, free: 71.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/1.323, allocations: 63.94 kB / 0.8285 GB, free: 71.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001881/1.323, allocations: 128 kB / 0.8286 GB, free: 70.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007749/1.331, allocations: 2.927 MB / 0.8315 GB, free: 67.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007077/1.338, allocations: 1.809 MB / 0.8333 GB, free: 66.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/1.357, allocations: 15.75 MB / 0.8486 GB, free: 50.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006695/1.364, allocations: 0.5034 MB / 0.8491 GB, free: 49.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002615/1.367, allocations: 431.9 kB / 0.8495 GB, free: 49.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],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 (942): * Single equations (assignments): 934 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007811/1.374, allocations: 2.874 MB / 0.8523 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00168/1.376, allocations: 488.8 kB / 0.8528 GB, free: 45.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02056/1.397, allocations: 10.89 MB / 0.8634 GB, free: 34.96 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.752e-05/1.397, allocations: 61.22 kB / 0.8635 GB, free: 34.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.227e-05/1.397, allocations: 8 kB / 0.8635 GB, free: 34.89 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.747e-05/1.397, allocations: 23.92 kB / 0.8635 GB, free: 34.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0455/1.442, allocations: 21.53 MB / 0.8846 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.631e-05/1.443, allocations: 8.938 kB / 0.8846 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/1.446, allocations: 0.6825 MB / 0.8852 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007544/1.454, allocations: 2.728 MB / 0.8879 GB, free: 9.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/1.455, allocations: 75.98 kB / 0.888 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01922/1.474, allocations: 14.36 MB / 0.902 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/1.474, allocations: 15.94 kB / 0.902 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0339/1.508, allocations: 15.56 MB / 0.9172 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001835/1.51, allocations: 456.6 kB / 0.9176 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002235/1.512, allocations: 83.92 kB / 0.9177 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004336/1.516, allocations: 307.5 kB / 0.918 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00161/1.518, allocations: 277.5 kB / 0.9183 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009163/1.519, allocations: 116 kB / 0.9184 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006018/1.525, allocations: 2.681 MB / 0.921 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.525, allocations: 0 / 0.921 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009262/1.534, allocations: 1.664 MB / 0.9226 GB, free: 5.668 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (6,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/1.535, allocations: 230.4 kB / 0.9228 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01925/1.555, allocations: 9.644 MB / 0.9323 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-05/1.555, allocations: 0 / 0.9323 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008726/1.563, allocations: 4.069 MB / 0.9362 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007204/1.571, allocations: 0.7199 MB / 0.9369 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03707/1.608, allocations: 16.02 MB / 0.9526 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009805/1.618, allocations: 4.547 MB / 0.957 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.008489/1.626, allocations: 2.72 MB / 0.9597 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002158/1.628, allocations: 347.3 kB / 0.96 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/1.628, allocations: 0 / 0.96 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of Templates: time 0.4017/2.03, allocations: 74.97 MB / 1.033 GB, free: 173.2 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.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: 9.473753670929]