Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.00269/0.00269, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002571/0.002571, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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 1.645/1.645, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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.3472/0.3472, allocations: 34.26 MB / 295.2 MB, free: 0.6641 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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 377.2 MB, free: 2.895 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/2.839e-05, allocations: 2.312 kB / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.02065/0.02067, allocations: 14.34 MB / 391.6 MB, free: 4.488 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.0331, allocations: 4.933 MB / 396.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.03575, allocations: 123.4 kB / 396.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009398/0.04515, allocations: 4.291 MB / 400.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007155/0.05231, allocations: 2.48 MB / 403.4 MB, free: 8.625 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.05538, allocations: 1.31 MB / 404.7 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.06823, allocations: 7.343 MB / 412 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007554/0.07578, allocations: 4.431 MB / 416.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007267/0.08305, allocations: 3.325 MB / 419.8 MB, free: 8.121 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006399/0.08945, allocations: 3.344 MB / 423.1 MB, free: 4.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.09074, allocations: 468 kB / 423.6 MB, free: 4.312 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.09436, allocations: 1.502 MB / 425.1 MB, free: 2.809 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004026/0.09838, allocations: 2.922 MB / 428 MB, free: 15.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004199/0.1026, allocations: 1.784 MB / 429.8 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.1187, allocations: 9.591 MB / 439.4 MB, free: 4.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1187, allocations: 4 kB / 439.4 MB, free: 4.465 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1187, allocations: 0 / 439.4 MB, free: 4.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003042/0.119, allocations: 0 / 439.4 MB, free: 4.465 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.1699/0.2888, allocations: 7.864 MB / 447.3 MB, free: 96.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.2889, allocations: 8.781 kB / 447.3 MB, free: 96.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02896/0.3179, allocations: 3.936 MB / 451.2 MB, free: 96.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/0.3282, allocations: 3.821 MB / 455 MB, free: 94.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.3284, allocations: 311.1 kB / 455.3 MB, free: 94.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001263/0.3297, allocations: 427.6 kB / 455.8 MB, free: 94.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01767/0.3474, allocations: 9.253 MB / 465 MB, free: 89.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.3475, allocations: 61.09 kB / 465.1 MB, free: 89.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004931/0.348, allocations: 207.6 kB / 465.3 MB, free: 89.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003393/0.3514, allocations: 2.526 MB / 467.8 MB, free: 89.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01789/0.3693, allocations: 5.328 MB / 473.1 MB, free: 88.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06427/0.4335, allocations: 60.74 MB / 0.5214 GB, free: 34.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.4466, allocations: 3.604 MB / 0.5249 GB, free: 31.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/0.449, allocations: 1.245 MB / 0.5261 GB, free: 29.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01762/0.4666, allocations: 8.976 MB / 0.5349 GB, free: 20.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.4667, allocations: 63.39 kB / 0.5349 GB, free: 20.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=230): time 5.11e-06/0.4667, allocations: 0 / 0.5349 GB, free: 20.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.06776/0.5344, allocations: 20.75 MB / 0.5552 GB, free: 60 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002129/0.5347, allocations: 257.3 kB / 0.5554 GB, free: 15.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008991/0.5436, allocations: 5.439 MB / 0.5607 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005556/0.5442, allocations: 69.7 kB / 0.5608 GB, free: 10.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004769/0.549, allocations: 4.471 MB / 0.5652 GB, free: 5.695 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001974/0.5509, allocations: 1.148 MB / 0.5663 GB, free: 4.539 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003206/0.5541, allocations: 1.909 MB / 0.5682 GB, free: 2.617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.5544, allocations: 476.8 kB / 0.5686 GB, free: 2.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002837/0.5572, allocations: 1.085 MB / 0.5697 GB, free: 1.062 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01014/0.5674, allocations: 7.814 MB / 0.5773 GB, free: 6.316 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/0.5837, allocations: 9.715 MB / 0.5868 GB, free: 9.703 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003114/0.584, allocations: 44 kB / 0.5868 GB, free: 9.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02208/0.6061, allocations: 7.441 MB / 0.5941 GB, free: 2.203 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.6062, allocations: 72 kB / 0.5942 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002354/0.6065, allocations: 148 kB / 0.5943 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003634/0.6101, allocations: 0.8337 MB / 0.5951 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007116/0.6172, allocations: 1.829 MB / 0.5969 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009256/0.6265, allocations: 5.977 MB / 0.6027 GB, free: 9.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006464/0.6329, allocations: 495.3 kB / 0.6032 GB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/0.6345, allocations: 448 kB / 0.6036 GB, free: 8.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (951): * Single equations (assignments): 946 * 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 {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003094/0.6376, allocations: 0.8884 MB / 0.6045 GB, free: 7.277 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/0.639, allocations: 0.5102 MB / 0.605 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007691/0.6466, allocations: 2.737 MB / 0.6077 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/0.6467, allocations: 28 kB / 0.6077 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.6467, allocations: 4 kB / 0.6077 GB, free: 3.977 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-05/0.6467, allocations: 11.95 kB / 0.6077 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1949/0.8416, allocations: 8.734 MB / 0.6162 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.8416, allocations: 3.406 kB / 0.6163 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002508/0.8441, allocations: 0.4941 MB / 0.6167 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.8467, allocations: 0.6036 MB / 0.6173 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/0.8469, allocations: 46.28 kB / 0.6174 GB, free: 135.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005459/0.8524, allocations: 5.48 MB / 0.6227 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8524, allocations: 3.062 kB / 0.6227 GB, free: 131.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008011/0.8604, allocations: 4.085 MB / 0.6267 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.8618, allocations: 440.8 kB / 0.6271 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006522/0.8624, allocations: 44.75 kB / 0.6272 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/0.8649, allocations: 240.8 kB / 0.6274 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004534/0.8653, allocations: 151.5 kB / 0.6275 GB, free: 131 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/0.8655, allocations: 66.09 kB / 0.6276 GB, free: 131 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003737/0.8693, allocations: 2.267 MB / 0.6298 GB, free: 130.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8693, allocations: 3.375 kB / 0.6298 GB, free: 130.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006014/0.8753, allocations: 1.482 MB / 0.6313 GB, free: 130.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (227): * Single equations (assignments): 222 * 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 {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005332/0.8758, allocations: 202.6 kB / 0.6315 GB, free: 130.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007839/0.8837, allocations: 4.649 MB / 0.636 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.8837, allocations: 0 / 0.636 GB, free: 129.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.8858, allocations: 1.474 MB / 0.6374 GB, free: 128.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/0.8893, allocations: 0.5425 MB / 0.638 GB, free: 128.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.907, allocations: 10.38 MB / 0.6481 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00407/0.9111, allocations: 3.271 MB / 0.6513 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004987/0.9161, allocations: 1.952 MB / 0.6532 GB, free: 122.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.9172, allocations: 313.2 kB / 0.6535 GB, free: 122.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.302e-06/0.9172, allocations: 0 / 0.6535 GB, free: 122.5 MB / 474.7 MB Notification: Performance of Templates: time 0.07418/0.9914, allocations: 45.65 MB / 0.6981 GB, free: 86.91 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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: 7.823988765943795]