Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 70.81 kB / 19.93 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 168.6 kB / 23.21 MB, free: 4.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 158.6 MB / 185 MB, free: 6.426 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2126/0.2126, allocations: 32.37 MB / 269.6 MB, free: 4.676 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.365e-05, allocations: 4.391 kB / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01857/0.0186, allocations: 13.1 MB / 420.5 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01328/0.03188, allocations: 4.798 MB / 425.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003177/0.03506, allocations: 119.4 kB / 425.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009431/0.04449, allocations: 4.123 MB / 429.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007636/0.05213, allocations: 2.526 MB / 432 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.05538, allocations: 1.283 MB / 433.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01095/0.06633, allocations: 6.858 MB / 440.2 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008143/0.07447, allocations: 4.312 MB / 444.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009417/0.08389, allocations: 3.348 MB / 447.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007314/0.09121, allocations: 3.297 MB / 451.1 MB, free: 7.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002166/0.09337, allocations: 468 kB / 451.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005169/0.09854, allocations: 1.502 MB / 453.1 MB, free: 5.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005103/0.1036, allocations: 2.941 MB / 456 MB, free: 2.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005658/0.1093, allocations: 1.799 MB / 457.8 MB, free: 336 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0186/0.1279, allocations: 9.646 MB / 467.5 MB, free: 6.648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.1279, allocations: 4 kB / 467.5 MB, free: 6.645 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1279, allocations: 0 / 467.5 MB, free: 6.645 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004369/0.1284, allocations: 0 / 467.5 MB, free: 6.645 MB / 398.1 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.3322/0.4606, allocations: 6.895 MB / 474.4 MB, free: 65.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.4607, allocations: 9.406 kB / 474.4 MB, free: 65.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03171/0.4924, allocations: 3.431 MB / 477.8 MB, free: 65.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/0.5049, allocations: 4.155 MB / 482 MB, free: 63.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004278/0.5053, allocations: 313 kB / 482.3 MB, free: 63.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/0.5075, allocations: 424.4 kB / 482.7 MB, free: 63.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/0.5338, allocations: 14.05 MB / 496.7 MB, free: 55.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001549/0.5339, allocations: 66.42 kB / 496.8 MB, free: 55.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005663/0.5345, allocations: 203.4 kB / 497 MB, free: 55.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003341/0.5378, allocations: 2.525 MB / 499.5 MB, free: 52.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02173/0.5595, allocations: 11.78 MB / 0.4993 GB, free: 40.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06274/0.6223, allocations: 49.93 MB / 0.5481 GB, free: 6.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01859/0.6409, allocations: 5.476 MB / 0.5534 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005635/0.6465, allocations: 3.271 MB / 0.5566 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02667/0.6732, allocations: 13 MB / 0.5693 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/0.6733, allocations: 60.56 kB / 0.5694 GB, free: 340 kB / 430.1 MB Notification: Performance of pre-optimization done (n=230): time 5.481e-06/0.6733, allocations: 0 / 0.5694 GB, free: 340 kB / 430.1 MB Notification: Performance of matching and sorting (n=267): time 0.09771/0.771, allocations: 29.45 MB / 0.5981 GB, free: 2.891 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002087/0.7712, allocations: 261.3 kB / 0.5984 GB, free: 2.578 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008984/0.7802, allocations: 5.045 MB / 0.6033 GB, free: 13.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007611/0.7809, allocations: 65.7 kB / 0.6034 GB, free: 13.44 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003792/0.7847, allocations: 4.041 MB / 0.6073 GB, free: 9.367 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001772/0.7865, allocations: 1.043 MB / 0.6083 GB, free: 8.316 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002524/0.789, allocations: 1.525 MB / 0.6098 GB, free: 6.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.7892, allocations: 305.1 kB / 0.6101 GB, free: 6.484 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/0.794, allocations: 2.935 MB / 0.613 GB, free: 3.547 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008981/0.8029, allocations: 7.37 MB / 0.6202 GB, free: 10.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/0.8183, allocations: 10.96 MB / 0.6309 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/0.8184, allocations: 44 kB / 0.6309 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02162/0.8401, allocations: 11.01 MB / 0.6417 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.8402, allocations: 72 kB / 0.6418 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002064/0.8404, allocations: 149.4 kB / 0.6419 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/0.844, allocations: 1.228 MB / 0.6431 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006997/0.851, allocations: 1.829 MB / 0.6449 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01322/0.8642, allocations: 8.067 MB / 0.6528 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007458/0.8717, allocations: 0.5032 MB / 0.6533 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/0.8735, allocations: 444 kB / 0.6537 GB, free: 5.406 MB / 0.5137 GB 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.008469/0.8819, allocations: 2.641 MB / 0.6563 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/0.8839, allocations: 449 kB / 0.6567 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2883/1.172, allocations: 5.05 MB / 0.6616 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.659e-05/1.172, allocations: 28.28 kB / 0.6616 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/1.172, allocations: 9.453 kB / 0.6617 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.205e-05/1.172, allocations: 12.91 kB / 0.6617 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/1.197, allocations: 10.05 MB / 0.6715 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-05/1.197, allocations: 4.969 kB / 0.6715 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/1.2, allocations: 0.4926 MB / 0.672 GB, free: 169.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002984/1.203, allocations: 0.991 MB / 0.6729 GB, free: 169.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003209/1.203, allocations: 47.08 kB / 0.673 GB, free: 169.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007912/1.211, allocations: 7.447 MB / 0.6802 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.211, allocations: 2.094 kB / 0.6803 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.224, allocations: 8.496 MB / 0.6885 GB, free: 161.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002955/1.227, allocations: 0.8369 MB / 0.6894 GB, free: 161.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.228, allocations: 51.19 kB / 0.6894 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/1.231, allocations: 251.7 kB / 0.6897 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004974/1.231, allocations: 148.7 kB / 0.6898 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/1.231, allocations: 73.53 kB / 0.6899 GB, free: 161.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004826/1.236, allocations: 2.983 MB / 0.6928 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/1.236, allocations: 3.938 kB / 0.6928 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007651/1.244, allocations: 1.512 MB / 0.6943 GB, free: 160.1 MB / 0.5137 GB 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.0007722/1.244, allocations: 208.4 kB / 0.6945 GB, free: 160 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00936/1.254, allocations: 6.853 MB / 0.7011 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.254, allocations: 0 / 0.7011 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/1.257, allocations: 2.301 MB / 0.7034 GB, free: 151.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003708/1.26, allocations: 0.5282 MB / 0.7039 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01914/1.28, allocations: 12.9 MB / 0.7165 GB, free: 138.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/1.283, allocations: 3.6 MB / 0.72 GB, free: 134.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005213/1.289, allocations: 2.341 MB / 0.7223 GB, free: 132.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.29, allocations: 308.4 kB / 0.7226 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.503e-06/1.29, allocations: 0 / 0.7226 GB, free: 131.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.08245/1.372, allocations: 46.14 MB / 0.7677 GB, free: 85.77 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.238743539899588]