Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.001915/0.001915, allocations: 122.7 kB / 18.46 MB, free: 4.59 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.001924/0.001924, allocations: 211.3 kB / 21.4 MB, free: 1.645 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.49/1.49, allocations: 227.4 MB / 251.7 MB, free: 52 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.225/0.225, allocations: 46.17 MB / 351.1 MB, free: 14.27 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.Force,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.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,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.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002171/0.002171, allocations: 82.33 kB / 490.2 MB, free: 27.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1183, allocations: 62.45 MB / 0.5397 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01934/0.1377, allocations: 15.52 MB / 0.5549 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1488, allocations: 4.929 MB / 0.5597 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.1518, allocations: 103.8 kB / 0.5598 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009536/0.1614, allocations: 5.004 MB / 0.5646 GB, free: 10.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007508/0.169, allocations: 2.466 MB / 0.5671 GB, free: 8.094 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003031/0.172, allocations: 1.104 MB / 0.5681 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01154/0.1836, allocations: 6.877 MB / 0.5749 GB, free: 100 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007802/0.1914, allocations: 5.782 MB / 0.5805 GB, free: 10.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004706/0.1962, allocations: 2.391 MB / 0.5828 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005574/0.2018, allocations: 3.213 MB / 0.586 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001535/0.2033, allocations: 0.5039 MB / 0.5865 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.2066, allocations: 1.405 MB / 0.5878 GB, free: 2.707 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003558/0.2102, allocations: 2.973 MB / 0.5907 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00496/0.2151, allocations: 3.348 MB / 0.594 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.2277, allocations: 10.4 MB / 0.6042 GB, free: 1.914 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2277, allocations: 0 / 0.6042 GB, free: 1.914 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2278, allocations: 0 / 0.6042 GB, free: 1.914 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002522/0.228, allocations: 0 / 0.6042 GB, free: 1.914 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.2787/0.5067, allocations: 7.602 MB / 0.6116 GB, free: 55.76 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.5068, allocations: 9.828 kB / 0.6116 GB, free: 55.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/0.5204, allocations: 2.747 MB / 0.6143 GB, free: 55.2 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.5343, allocations: 4.292 MB / 0.6185 GB, free: 53.48 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005574/0.5349, allocations: 356 kB / 0.6188 GB, free: 53.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002426/0.5374, allocations: 479.3 kB / 0.6193 GB, free: 53.25 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0288/0.5662, allocations: 14.69 MB / 0.6336 GB, free: 44.71 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.5664, allocations: 74.89 kB / 0.6337 GB, free: 44.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006343/0.5671, allocations: 222.6 kB / 0.6339 GB, free: 44.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003713/0.5708, allocations: 2.747 MB / 0.6366 GB, free: 42.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0184/0.5892, allocations: 12.5 MB / 0.6488 GB, free: 30.08 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06578/0.655, allocations: 58.1 MB / 0.7055 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01926/0.6743, allocations: 7.282 MB / 0.7126 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005839/0.6802, allocations: 3.883 MB / 0.7164 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01599/0.6962, allocations: 9.018 MB / 0.7252 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.6963, allocations: 56.56 kB / 0.7253 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=246): time 7.254e-06/0.6963, allocations: 0 / 0.7253 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=288): time 0.08902/0.7853, allocations: 33.15 MB / 0.7577 GB, free: 12.66 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/0.7856, allocations: 235.6 kB / 0.7579 GB, free: 12.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/0.797, allocations: 6.662 MB / 0.7644 GB, free: 5.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008977/0.798, allocations: 66.45 kB / 0.7645 GB, free: 5.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003953/0.8019, allocations: 4.543 MB / 0.7689 GB, free: 1.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001644/0.8036, allocations: 1.151 MB / 0.77 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002662/0.8063, allocations: 1.793 MB / 0.7718 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8064, allocations: 305.1 kB / 0.7721 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005461/0.8119, allocations: 3.62 MB / 0.7756 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/0.8221, allocations: 8.611 MB / 0.784 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01781/0.8399, allocations: 13.15 MB / 0.7969 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/0.8401, allocations: 48 kB / 0.7969 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02937/0.8694, allocations: 14.06 MB / 0.8106 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001313/0.8696, allocations: 83.94 kB / 0.8107 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002483/0.8698, allocations: 176.8 kB / 0.8109 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/0.876, allocations: 2.265 MB / 0.8131 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007348/0.8833, allocations: 2.02 MB / 0.8151 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/0.9035, allocations: 14.22 MB / 0.8289 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007282/0.9109, allocations: 0.5033 MB / 0.8294 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002121/0.913, allocations: 0.5084 MB / 0.8299 GB, free: 13.29 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[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,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007185/0.9202, allocations: 2.992 MB / 0.8329 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/0.9219, allocations: 0.582 MB / 0.8334 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0157/0.9376, allocations: 7.224 MB / 0.8405 GB, free: 2.457 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.504e-05/0.9377, allocations: 35.91 kB / 0.8405 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.832e-05/0.9377, allocations: 11.98 kB / 0.8405 GB, free: 2.414 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.868e-05/0.9378, allocations: 11.95 kB / 0.8405 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3231/1.261, allocations: 14.95 MB / 0.8551 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-05/1.261, allocations: 7.281 kB / 0.8551 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/1.264, allocations: 495.3 kB / 0.8556 GB, free: 203.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005379/1.269, allocations: 2.025 MB / 0.8576 GB, free: 202.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008373/1.27, allocations: 57.47 kB / 0.8577 GB, free: 202.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/1.288, allocations: 13.59 MB / 0.8709 GB, free: 196 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.288, allocations: 4.672 kB / 0.8709 GB, free: 196 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/1.305, allocations: 11.52 MB / 0.8822 GB, free: 191.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/1.307, allocations: 0.6624 MB / 0.8828 GB, free: 191.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.308, allocations: 51.14 kB / 0.8829 GB, free: 191.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002748/1.311, allocations: 204 kB / 0.8831 GB, free: 191.5 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/1.311, allocations: 181.1 kB / 0.8832 GB, free: 191.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000204/1.312, allocations: 75.72 kB / 0.8833 GB, free: 191.5 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006418/1.318, allocations: 4.265 MB / 0.8875 GB, free: 189.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/1.318, allocations: 0 / 0.8875 GB, free: 189.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.008112/1.326, allocations: 1.59 MB / 0.889 GB, free: 189.3 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 (232): * Single equations (assignments): 227 * 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,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007224/1.327, allocations: 195 kB / 0.8892 GB, free: 189.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.338, allocations: 8.778 MB / 0.8978 GB, free: 180.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.338, allocations: 4 kB / 0.8978 GB, free: 180.4 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/1.343, allocations: 3.497 MB / 0.9012 GB, free: 176.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004499/1.347, allocations: 0.7228 MB / 0.9019 GB, free: 176.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02021/1.367, allocations: 15.11 MB / 0.9167 GB, free: 161.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004093/1.372, allocations: 4.541 MB / 0.9211 GB, free: 156.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.005124/1.377, allocations: 2.786 MB / 0.9238 GB, free: 153.8 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.378, allocations: 391.3 kB / 0.9242 GB, free: 153.4 MB / 0.6231 GB Notification: Performance of SimCode: time 8.71e-07/1.378, allocations: 0 / 0.9242 GB, free: 153.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.0927/1.471, allocations: 62.62 MB / 0.9853 GB, free: 91.06 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.201084933243692]