Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.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.001835/0.001835, allocations: 82.09 kB / 21.25 MB, free: 0.5469 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.00187/0.00187, allocations: 160.2 kB / 24.5 MB, free: 3.719 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.494/1.494, allocations: 177.1 MB / 204.7 MB, free: 8.941 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.2151/0.2151, allocations: 34.26 MB / 295.4 MB, free: 14.46 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.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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 87.86 kB / 443.2 MB, free: 6.461 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3322, allocations: 66.05 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01364/0.3459, allocations: 15.71 MB / 0.5126 GB, free: 19.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01223/0.3581, allocations: 5.084 MB / 0.5176 GB, free: 16.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004546/0.3627, allocations: 129.6 kB / 0.5177 GB, free: 16.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006948/0.3696, allocations: 2.992 MB / 0.5206 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008289/0.3779, allocations: 2.631 MB / 0.5232 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.3809, allocations: 1.03 MB / 0.5242 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01201/0.3929, allocations: 7.666 MB / 0.5317 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005866/0.3987, allocations: 3.595 MB / 0.5352 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005233/0.404, allocations: 2.292 MB / 0.5374 GB, free: 8.012 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006144/0.4101, allocations: 3.35 MB / 0.5407 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002049/0.4122, allocations: 452.2 kB / 0.5411 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00488/0.4171, allocations: 1.198 MB / 0.5423 GB, free: 5.664 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004577/0.4216, allocations: 2.873 MB / 0.5451 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004375/0.426, allocations: 2.364 MB / 0.5474 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.44, allocations: 10.05 MB / 0.5572 GB, free: 7.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.44, allocations: 0 / 0.5572 GB, free: 7.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.44, allocations: 0 / 0.5572 GB, free: 7.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003336/0.4403, allocations: 0 / 0.5572 GB, free: 7.98 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.02002/0.4604, allocations: 7.312 MB / 0.5644 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.4604, allocations: 8.031 kB / 0.5644 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01705/0.4775, allocations: 3.99 MB / 0.5683 GB, free: 12.59 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.4882, allocations: 3.967 MB / 0.5722 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.4886, allocations: 316.4 kB / 0.5725 GB, free: 8.262 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002003/0.4906, allocations: 439.8 kB / 0.5729 GB, free: 7.832 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03409/0.5247, allocations: 15.67 MB / 0.5882 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/0.5251, allocations: 63.52 kB / 0.5882 GB, free: 7.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001739/0.5268, allocations: 199.8 kB / 0.5884 GB, free: 7.152 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007387/0.5342, allocations: 3.376 MB / 0.5917 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03576/0.57, allocations: 14.77 MB / 0.6062 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1004/0.6703, allocations: 51.46 MB / 0.6564 GB, free: 356 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/0.6907, allocations: 7.176 MB / 0.6634 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007197/0.6979, allocations: 4.48 MB / 0.6678 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/0.6996, allocations: 0.6574 MB / 0.6684 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.353e-05/0.6996, allocations: 65.08 kB / 0.6685 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 8.677e-06/0.6997, allocations: 0 / 0.6685 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.4112/1.111, allocations: 41.01 MB / 0.7085 GB, free: 141.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001543/1.111, allocations: 116.4 kB / 0.7087 GB, free: 141.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009978/1.121, allocations: 4.163 MB / 0.7127 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001286/1.122, allocations: 87.02 kB / 0.7128 GB, free: 139.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003561/1.126, allocations: 3.97 MB / 0.7167 GB, free: 136.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002725/1.129, allocations: 1.557 MB / 0.7182 GB, free: 135.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002926/1.131, allocations: 1.581 MB / 0.7197 GB, free: 135 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.012e-05/1.132, allocations: 302.3 kB / 0.72 GB, free: 134.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007559/1.139, allocations: 4.076 MB / 0.724 GB, free: 133.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01285/1.152, allocations: 7.87 MB / 0.7317 GB, free: 127.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01862/1.171, allocations: 12.88 MB / 0.7443 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002497/1.171, allocations: 37.19 kB / 0.7443 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.03213/1.203, allocations: 14.69 MB / 0.7587 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003289/1.203, allocations: 60.97 kB / 0.7587 GB, free: 111.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003915/1.204, allocations: 128 kB / 0.7588 GB, free: 111.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008332/1.212, allocations: 2.928 MB / 0.7617 GB, free: 109.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007052/1.219, allocations: 1.81 MB / 0.7635 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/1.238, allocations: 15.55 MB / 0.7787 GB, free: 92.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008072/1.246, allocations: 0.4957 MB / 0.7791 GB, free: 91.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002168/1.249, allocations: 427.9 kB / 0.7795 GB, free: 91.39 MB / 0.5762 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.007668/1.256, allocations: 2.885 MB / 0.7824 GB, free: 88.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001892/1.258, allocations: 449 kB / 0.7828 GB, free: 88.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02057/1.279, allocations: 10.88 MB / 0.7934 GB, free: 77.12 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.391e-05/1.279, allocations: 65.95 kB / 0.7935 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-05/1.279, allocations: 8 kB / 0.7935 GB, free: 77.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.224e-05/1.279, allocations: 19.92 kB / 0.7935 GB, free: 77.03 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03921/1.318, allocations: 19.49 MB / 0.8125 GB, free: 57.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.915e-05/1.318, allocations: 12 kB / 0.8126 GB, free: 57.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003549/1.322, allocations: 0.6826 MB / 0.8132 GB, free: 56.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008058/1.33, allocations: 2.724 MB / 0.8159 GB, free: 53.97 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001053/1.331, allocations: 83.83 kB / 0.816 GB, free: 53.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/1.347, allocations: 14.16 MB / 0.8298 GB, free: 39.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.347, allocations: 19.88 kB / 0.8298 GB, free: 39.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02499/1.372, allocations: 15.52 MB / 0.845 GB, free: 23.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.374, allocations: 420.3 kB / 0.8454 GB, free: 23.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001697/1.376, allocations: 71.98 kB / 0.8454 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003789/1.379, allocations: 319.5 kB / 0.8457 GB, free: 22.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/1.381, allocations: 277.5 kB / 0.846 GB, free: 22.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000617/1.381, allocations: 116 kB / 0.8461 GB, free: 22.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00421/1.385, allocations: 2.425 MB / 0.8485 GB, free: 20.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.385, allocations: 0 / 0.8485 GB, free: 20.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008468/1.394, allocations: 1.644 MB / 0.8501 GB, free: 18.45 MB / 0.5762 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.001054/1.395, allocations: 238.2 kB / 0.8503 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01417/1.409, allocations: 9.654 MB / 0.8597 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/1.409, allocations: 6 kB / 0.8597 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005851/1.415, allocations: 4.072 MB / 0.8637 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005805/1.421, allocations: 0.6016 MB / 0.8643 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03404/1.455, allocations: 15.99 MB / 0.8799 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00966/1.464, allocations: 4.042 MB / 0.8839 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008023/1.472, allocations: 2.682 MB / 0.8865 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00203/1.475, allocations: 332.4 kB / 0.8868 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of SimCode: time 1.153e-06/1.475, allocations: 0 / 0.8868 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.3883/1.863, allocations: 63.86 MB / 0.9492 GB, free: 190 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.911043572006747]