Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.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.001214/0.001214, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003462/0.003462, allocations: 158.8 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8678/0.8678, allocations: 177 MB / 204.8 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 179] 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.2465/0.2465, allocations: 34.25 MB / 295.6 MB, free: 0.6719 MB / 266.7 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.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.266e-05/4.517e-05, allocations: 5.094 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.2254/0.2255, allocations: 13.5 MB / 456.9 MB, free: 36.44 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.009542/0.235, allocations: 4.745 MB / 461.7 MB, free: 33.41 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/0.2383, allocations: 125.3 kB / 461.8 MB, free: 33.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005761/0.244, allocations: 5.111 MB / 466.9 MB, free: 31.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006502/0.2505, allocations: 2.641 MB / 469.6 MB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002452/0.253, allocations: 1.162 MB / 470.7 MB, free: 29.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008106/0.2611, allocations: 7.622 MB / 478.3 MB, free: 26.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006073/0.2672, allocations: 4.967 MB / 483.3 MB, free: 24.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008131/0.2753, allocations: 3.625 MB / 486.9 MB, free: 22.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006568/0.2819, allocations: 3.414 MB / 490.3 MB, free: 21.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0027/0.2846, allocations: 0.5107 MB / 490.9 MB, free: 21.72 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004951/0.2895, allocations: 1.366 MB / 492.2 MB, free: 21.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005323/0.2948, allocations: 3.187 MB / 495.4 MB, free: 20.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006241/0.3011, allocations: 1.963 MB / 497.4 MB, free: 19.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0149/0.316, allocations: 10.43 MB / 0.4959 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.637e-06/0.316, allocations: 1.219 kB / 0.4959 GB, free: 13.55 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.316, allocations: 0 / 0.4959 GB, free: 13.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005145/0.3165, allocations: 3.938 kB / 0.4959 GB, free: 13.55 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02073/0.3372, allocations: 7.545 MB / 0.5033 GB, free: 8.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3373, allocations: 9.625 kB / 0.5033 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008416/0.3457, allocations: 2.843 MB / 0.5061 GB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008452/0.3541, allocations: 4.183 MB / 0.5101 GB, free: 1.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.3543, allocations: 357.5 kB / 0.5105 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002012/0.3563, allocations: 488 kB / 0.5109 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02735/0.3837, allocations: 14.32 MB / 0.5249 GB, free: 1.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/0.384, allocations: 71.45 kB / 0.525 GB, free: 1.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00168/0.3857, allocations: 223.8 kB / 0.5252 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003678/0.3893, allocations: 2.707 MB / 0.5279 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02132/0.4107, allocations: 12.01 MB / 0.5396 GB, free: 2.125 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06411/0.4748, allocations: 54.12 MB / 0.5924 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009898/0.4847, allocations: 5.793 MB / 0.5981 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/0.4884, allocations: 3.43 MB / 0.6014 GB, free: 1.289 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.5002, allocations: 7.555 MB / 0.6088 GB, free: 9.695 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.5003, allocations: 60.14 kB / 0.6089 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 5.851e-06/0.5003, allocations: 0 / 0.6089 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of matching and sorting (n=278): time 0.2493/0.7496, allocations: 31.21 MB / 0.6394 GB, free: 150.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.7497, allocations: 244.4 kB / 0.6396 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/0.7565, allocations: 5.77 MB / 0.6452 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008047/0.7573, allocations: 67.27 kB / 0.6453 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.7591, allocations: 4.581 MB / 0.6498 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/0.7604, allocations: 1.098 MB / 0.6508 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/0.7623, allocations: 1.779 MB / 0.6526 GB, free: 142.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.601e-05/0.7623, allocations: 304.6 kB / 0.6529 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003524/0.7659, allocations: 3.575 MB / 0.6564 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005801/0.7717, allocations: 8.687 MB / 0.6648 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/0.7829, allocations: 13.14 MB / 0.6777 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001996/0.7831, allocations: 53.81 kB / 0.6777 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1140) (initialization): time 0.02375/0.8069, allocations: 13.91 MB / 0.6913 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.8071, allocations: 79.86 kB / 0.6914 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002718/0.8073, allocations: 177.5 kB / 0.6916 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004346/0.8117, allocations: 2.288 MB / 0.6938 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00489/0.8166, allocations: 2 MB / 0.6957 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.8282, allocations: 14.02 MB / 0.7094 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005897/0.8341, allocations: 0.5662 MB / 0.71 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/0.8356, allocations: 0.512 MB / 0.7105 GB, free: 107.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1051 * Array equations: 5 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005017/0.8406, allocations: 2.987 MB / 0.7134 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009574/0.8415, allocations: 0.4928 MB / 0.7139 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006919/0.8485, allocations: 6.954 MB / 0.7207 GB, free: 99.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/0.8485, allocations: 28 kB / 0.7207 GB, free: 99.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.377e-05/0.8485, allocations: 12 kB / 0.7207 GB, free: 99.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.8485, allocations: 15.34 kB / 0.7207 GB, free: 99.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/0.8665, allocations: 13.19 MB / 0.7336 GB, free: 87.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/0.8665, allocations: 8 kB / 0.7336 GB, free: 87.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.8679, allocations: 459.3 kB / 0.734 GB, free: 86.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003057/0.871, allocations: 2.036 MB / 0.736 GB, free: 84.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004369/0.8714, allocations: 51.94 kB / 0.7361 GB, free: 84.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009729/0.8812, allocations: 13.43 MB / 0.7492 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.8812, allocations: 10.14 kB / 0.7492 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.892, allocations: 11.12 MB / 0.7601 GB, free: 59.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.8934, allocations: 0.4926 MB / 0.7606 GB, free: 59.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/0.8945, allocations: 55.94 kB / 0.7606 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/0.8965, allocations: 251.6 kB / 0.7608 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005124/0.897, allocations: 181.5 kB / 0.761 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.8972, allocations: 75.67 kB / 0.7611 GB, free: 58.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004299/0.9015, allocations: 3.398 MB / 0.7644 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9015, allocations: 0 / 0.7644 GB, free: 55.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007529/0.909, allocations: 1.734 MB / 0.7661 GB, free: 53.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (220): * Single equations (assignments): 215 * Array equations: 3 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009767/0.91, allocations: 210.4 kB / 0.7663 GB, free: 53.57 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009377/0.9193, allocations: 8.33 MB / 0.7744 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.9194, allocations: 0 / 0.7744 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/0.9225, allocations: 3.197 MB / 0.7776 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.9259, allocations: 0.6164 MB / 0.7782 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.9447, allocations: 15.35 MB / 0.7931 GB, free: 26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003365/0.948, allocations: 4.024 MB / 0.7971 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/0.9496, allocations: 400.4 kB / 0.7975 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/0.9496, allocations: 0 / 0.7975 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.3226/1.272, allocations: 142 MB / 0.9362 GB, free: 108.6 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque.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: 10.966709024272859]