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.001418/0.001418, allocations: 111.8 kB / 19.13 MB, free: 3.922 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.001507/0.001507, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.473/1.473, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 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.238/0.238, allocations: 46.16 MB / 351.8 MB, free: 14.3 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.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 0.002235/0.002235, allocations: 81.75 kB / 490.9 MB, free: 27.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1204, allocations: 62.46 MB / 0.5404 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.0181/0.1386, allocations: 15.52 MB / 0.5555 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.15, allocations: 4.917 MB / 0.5603 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.1531, allocations: 107.7 kB / 0.5604 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.1632, allocations: 4.988 MB / 0.5653 GB, free: 10.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007076/0.1703, allocations: 2.478 MB / 0.5677 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.1732, allocations: 1.072 MB / 0.5688 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.1848, allocations: 6.841 MB / 0.5754 GB, free: 192 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008423/0.1933, allocations: 5.758 MB / 0.5811 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/0.1984, allocations: 2.379 MB / 0.5834 GB, free: 7.965 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005465/0.2039, allocations: 3.197 MB / 0.5865 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001856/0.2058, allocations: 0.5 MB / 0.587 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/0.2098, allocations: 1.393 MB / 0.5884 GB, free: 2.863 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004388/0.2142, allocations: 2.961 MB / 0.5913 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00576/0.22, allocations: 3.348 MB / 0.5945 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.2353, allocations: 10.37 MB / 0.6047 GB, free: 2.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.2354, allocations: 4 kB / 0.6047 GB, free: 2.109 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.2354, allocations: 0 / 0.6047 GB, free: 2.109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003701/0.2358, allocations: 0 / 0.6047 GB, free: 2.109 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.2943/0.5301, allocations: 7.582 MB / 0.6121 GB, free: 55.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5302, allocations: 11.25 kB / 0.6121 GB, free: 55.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01472/0.5449, allocations: 2.752 MB / 0.6148 GB, free: 54.99 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.5555, allocations: 4.28 MB / 0.6189 GB, free: 53.43 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.5559, allocations: 360.2 kB / 0.6193 GB, free: 53.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001748/0.5576, allocations: 484.3 kB / 0.6197 GB, free: 53.19 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02764/0.5853, allocations: 14.26 MB / 0.6337 GB, free: 44.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002403/0.5856, allocations: 67.03 kB / 0.6337 GB, free: 44.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001223/0.5868, allocations: 234.6 kB / 0.634 GB, free: 44.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004088/0.5909, allocations: 2.703 MB / 0.6366 GB, free: 42.96 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.6112, allocations: 12.04 MB / 0.6484 GB, free: 30.9 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06739/0.6786, allocations: 57.42 MB / 0.7044 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/0.6952, allocations: 6.284 MB / 0.7106 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005598/0.7009, allocations: 3.708 MB / 0.7142 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01602/0.7169, allocations: 8.533 MB / 0.7225 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.262e-05/0.717, allocations: 64.16 kB / 0.7226 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 6.943e-06/0.7171, allocations: 0 / 0.7226 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=278): time 0.08461/0.8017, allocations: 30.74 MB / 0.7526 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001744/0.8019, allocations: 243.5 kB / 0.7528 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/0.8128, allocations: 6.703 MB / 0.7594 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006633/0.8135, allocations: 73.69 kB / 0.7594 GB, free: 11.15 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003997/0.8175, allocations: 4.57 MB / 0.7639 GB, free: 6.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/0.819, allocations: 1.12 MB / 0.765 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002785/0.8218, allocations: 1.799 MB / 0.7668 GB, free: 3.598 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.822, allocations: 305.1 kB / 0.767 GB, free: 3.297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00565/0.8276, allocations: 3.577 MB / 0.7705 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0105/0.8382, allocations: 8.633 MB / 0.779 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01831/0.8565, allocations: 13.13 MB / 0.7918 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001752/0.8567, allocations: 52 kB / 0.7918 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1140) (initialization): time 0.02962/0.8863, allocations: 14.04 MB / 0.8056 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.8865, allocations: 80 kB / 0.8056 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/0.8867, allocations: 176 kB / 0.8058 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006398/0.8931, allocations: 2.285 MB / 0.808 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007401/0.9006, allocations: 2 MB / 0.81 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02151/0.9221, allocations: 14.35 MB / 0.824 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007351/0.9295, allocations: 0.5033 MB / 0.8245 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/0.9313, allocations: 0.5195 MB / 0.825 GB, free: 2.652 MB / 0.6075 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.006484/0.9378, allocations: 2.984 MB / 0.8279 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/0.9393, allocations: 0.5863 MB / 0.8285 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01492/0.9542, allocations: 7.075 MB / 0.8354 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.108e-05/0.9543, allocations: 28 kB / 0.8354 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.962e-05/0.9543, allocations: 8 kB / 0.8354 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.886e-05/0.9544, allocations: 15.95 kB / 0.8354 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2871/1.241, allocations: 14.71 MB / 0.8498 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/1.242, allocations: 3.562 kB / 0.8498 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002519/1.244, allocations: 464.7 kB / 0.8503 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005781/1.25, allocations: 2.036 MB / 0.8522 GB, free: 203.1 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005827/1.251, allocations: 51.06 kB / 0.8523 GB, free: 203.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/1.267, allocations: 13.72 MB / 0.8657 GB, free: 196.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/1.267, allocations: 13.59 kB / 0.8657 GB, free: 196.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/1.283, allocations: 11.27 MB / 0.8767 GB, free: 192.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.285, allocations: 0.6597 MB / 0.8773 GB, free: 191.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001899/1.287, allocations: 47.36 kB / 0.8774 GB, free: 191.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003327/1.29, allocations: 194.3 kB / 0.8776 GB, free: 191.9 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007481/1.291, allocations: 180.4 kB / 0.8778 GB, free: 191.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002773/1.292, allocations: 79.09 kB / 0.8778 GB, free: 191.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.007139/1.299, allocations: 4.283 MB / 0.882 GB, free: 190.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.91e-07/1.299, allocations: 0 / 0.882 GB, free: 190.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.009036/1.308, allocations: 1.577 MB / 0.8835 GB, free: 190.2 MB / 0.6231 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.00104/1.309, allocations: 194 kB / 0.8837 GB, free: 190.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01282/1.322, allocations: 8.706 MB / 0.8922 GB, free: 185 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/1.322, allocations: 4 kB / 0.8922 GB, free: 185 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00563/1.327, allocations: 3.426 MB / 0.8956 GB, free: 181.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007318/1.335, allocations: 0.7245 MB / 0.8963 GB, free: 180.9 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/1.363, allocations: 15.59 MB / 0.9115 GB, free: 165.3 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007296/1.37, allocations: 4.514 MB / 0.9159 GB, free: 160.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00217/1.373, allocations: 435.4 kB / 0.9163 GB, free: 160.4 MB / 0.6231 GB Notification: Performance of SimCode: time 2.796e-06/1.373, allocations: 0 / 0.9163 GB, free: 160.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.1508/1.523, allocations: 143.4 MB / 1.056 GB, free: 16.93 MB / 0.6231 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.8167820610106]