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.00101/0.00101, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.002131/0.002131, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9285/0.9285, allocations: 177 MB / 204.8 MB, free: 5.246 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.2549/0.2549, allocations: 34.86 MB / 296.3 MB, free: 500 kB / 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 2.094e-06/2.094e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.055e-05/3.264e-05, allocations: 6.25 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01169/0.01172, allocations: 14.44 MB / 393.2 MB, free: 3.574 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.02038, allocations: 4.933 MB / 398.1 MB, free: 14.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.02227, allocations: 119.4 kB / 398.3 MB, free: 14.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004625/0.0269, allocations: 4.307 MB / 402.6 MB, free: 10.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.03116, allocations: 2.484 MB / 405.1 MB, free: 7.695 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.03303, allocations: 1.306 MB / 406.4 MB, free: 6.387 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006932/0.03996, allocations: 7.355 MB / 413.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004502/0.04447, allocations: 4.435 MB / 418.2 MB, free: 10.51 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005943/0.05041, allocations: 4.37 MB / 422.5 MB, free: 6.133 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004232/0.05464, allocations: 3.289 MB / 425.8 MB, free: 2.836 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.05576, allocations: 464 kB / 426.3 MB, free: 2.383 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.0582, allocations: 1.482 MB / 427.7 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002827/0.06102, allocations: 2.922 MB / 430.7 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002677/0.0637, allocations: 1.78 MB / 432.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008154/0.07186, allocations: 6.283 MB / 438.7 MB, free: 5.879 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.07186, allocations: 0 / 438.7 MB, free: 5.879 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.07186, allocations: 0 / 438.7 MB, free: 5.879 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001806/0.07204, allocations: 3.938 kB / 438.7 MB, free: 5.875 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.1531/0.2252, allocations: 7.344 MB / 446.1 MB, free: 92.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2252, allocations: 13.94 kB / 446.1 MB, free: 92.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.2368, allocations: 3.838 MB / 449.9 MB, free: 91.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.2404, allocations: 3.393 MB / 453.3 MB, free: 91.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.2405, allocations: 309.7 kB / 453.6 MB, free: 91.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004566/0.2409, allocations: 422.7 kB / 454 MB, free: 91.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009702/0.2506, allocations: 8.737 MB / 462.8 MB, free: 87.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.2507, allocations: 60.67 kB / 462.8 MB, free: 87.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003477/0.2511, allocations: 195.7 kB / 463 MB, free: 87.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00181/0.2529, allocations: 2.415 MB / 465.4 MB, free: 86.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008279/0.2612, allocations: 4.75 MB / 470.2 MB, free: 85.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03251/0.2937, allocations: 55.68 MB / 0.5135 GB, free: 40.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00736/0.3011, allocations: 3.337 MB / 0.5168 GB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.3024, allocations: 0.988 MB / 0.5178 GB, free: 37.38 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008001/0.3104, allocations: 6.903 MB / 0.5245 GB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.3105, allocations: 62.64 kB / 0.5246 GB, free: 31.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 4.659e-06/0.3105, allocations: 4 kB / 0.5246 GB, free: 31.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=225): time 0.02908/0.3395, allocations: 14.98 MB / 0.5392 GB, free: 16.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.702e-05/0.3396, allocations: 261.2 kB / 0.5394 GB, free: 16.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004157/0.3438, allocations: 4.542 MB / 0.5439 GB, free: 11.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003615/0.3441, allocations: 57.7 kB / 0.5439 GB, free: 11.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.3458, allocations: 4.377 MB / 0.5482 GB, free: 7.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008142/0.3466, allocations: 0.9226 MB / 0.5491 GB, free: 6.516 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001329/0.3479, allocations: 1.636 MB / 0.5507 GB, free: 4.871 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.195e-05/0.348, allocations: 476.8 kB / 0.5512 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.3493, allocations: 0.8465 MB / 0.552 GB, free: 3.555 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004114/0.3534, allocations: 7.764 MB / 0.5596 GB, free: 8.648 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008066/0.3614, allocations: 9.384 MB / 0.5687 GB, free: 12.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001751/0.3616, allocations: 44 kB / 0.5688 GB, free: 12.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=1002) (initialization): time 0.0109/0.3725, allocations: 6.574 MB / 0.5752 GB, free: 5.555 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-05/0.3726, allocations: 72 kB / 0.5753 GB, free: 5.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.3727, allocations: 164 kB / 0.5754 GB, free: 5.324 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005288/0.3733, allocations: 291.5 kB / 0.5757 GB, free: 5.031 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003735/0.377, allocations: 1.872 MB / 0.5775 GB, free: 3.156 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001958/0.379, allocations: 3.822 MB / 0.5813 GB, free: 15.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00387/0.3828, allocations: 0.5015 MB / 0.5818 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007709/0.3836, allocations: 456 kB / 0.5822 GB, free: 14.15 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 739 * 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 (976): * Single equations (assignments): 971 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001909/0.3855, allocations: 0.801 MB / 0.583 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008231/0.3863, allocations: 0.4932 MB / 0.5835 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.3884, allocations: 1.567 MB / 0.585 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.423e-05/0.3884, allocations: 24 kB / 0.585 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.3884, allocations: 7.938 kB / 0.585 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.3884, allocations: 11.95 kB / 0.585 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009568/0.398, allocations: 6.439 MB / 0.5913 GB, free: 4.668 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.398, allocations: 4 kB / 0.5913 GB, free: 4.664 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/0.3992, allocations: 471.8 kB / 0.5918 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.3994, allocations: 95.23 kB / 0.5919 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.3996, allocations: 39.98 kB / 0.5919 GB, free: 4.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.4011, allocations: 3.524 MB / 0.5953 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.4011, allocations: 4 kB / 0.5953 GB, free: 296 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003446/0.4046, allocations: 2.886 MB / 0.5982 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009028/0.4055, allocations: 432.9 kB / 0.5986 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004097/0.4059, allocations: 39.98 kB / 0.5986 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.4069, allocations: 195.8 kB / 0.5988 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.4071, allocations: 140.9 kB / 0.5989 GB, free: 12.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/0.4072, allocations: 60 kB / 0.599 GB, free: 12.44 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00267/0.4099, allocations: 1.973 MB / 0.6009 GB, free: 10.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4099, allocations: 0 / 0.6009 GB, free: 10.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004144/0.414, allocations: 1.304 MB / 0.6022 GB, free: 9.168 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (201): * Single equations (assignments): 196 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004416/0.4145, allocations: 197.9 kB / 0.6024 GB, free: 8.969 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005484/0.42, allocations: 3.814 MB / 0.6061 GB, free: 5.148 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.42, allocations: 0 / 0.6061 GB, free: 5.148 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4211, allocations: 1.036 MB / 0.6071 GB, free: 4.078 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.4237, allocations: 0.535 MB / 0.6076 GB, free: 3.555 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1585/0.5822, allocations: 9.896 MB / 0.6173 GB, free: 133.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/0.5839, allocations: 1.609 MB / 0.6189 GB, free: 133.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003147/0.5871, allocations: 1.97 MB / 0.6208 GB, free: 133.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/0.5878, allocations: 302.8 kB / 0.6211 GB, free: 133.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.735e-06/0.5878, allocations: 0 / 0.6211 GB, free: 133.5 MB / 474.7 MB Notification: Performance of Templates: time 0.05364/0.6415, allocations: 37.14 MB / 0.6574 GB, free: 124.7 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6301514278166]