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.00158/0.00158, allocations: 105.4 kB / 19.81 MB, free: 2.516 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.001889/0.001889, allocations: 215.7 kB / 22.99 MB, free: 5.605 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.498/1.498, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.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.2374/0.2374, allocations: 46.91 MB / 359.4 MB, free: 4.863 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002202/0.002202, allocations: 75.88 kB / 0.4946 GB, free: 8.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3809, allocations: 65.99 MB / 0.5591 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01825/0.3991, allocations: 15.07 MB / 0.5738 GB, free: 5.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.4113, allocations: 5.054 MB / 0.5787 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.4142, allocations: 99.69 kB / 0.5788 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008498/0.4227, allocations: 4.069 MB / 0.5828 GB, free: 12.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007247/0.4299, allocations: 2.381 MB / 0.5851 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.4333, allocations: 1.174 MB / 0.5863 GB, free: 9.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01253/0.4458, allocations: 6.575 MB / 0.5927 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007005/0.4528, allocations: 3.47 MB / 0.5961 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.4574, allocations: 2.204 MB / 0.5982 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005707/0.4631, allocations: 3.267 MB / 0.6014 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00179/0.4649, allocations: 456 kB / 0.6019 GB, free: 9.031 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00415/0.469, allocations: 1.58 MB / 0.6034 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004265/0.4733, allocations: 2.789 MB / 0.6061 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005924/0.4792, allocations: 2.99 MB / 0.6091 GB, free: 1.645 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.4936, allocations: 9.439 MB / 0.6183 GB, free: 8.164 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4936, allocations: 0 / 0.6183 GB, free: 8.164 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4936, allocations: 7.938 kB / 0.6183 GB, free: 8.156 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003301/0.4939, allocations: 0 / 0.6183 GB, free: 8.156 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.0201/0.514, allocations: 6.898 MB / 0.625 GB, free: 1.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5141, allocations: 8.031 kB / 0.625 GB, free: 1.164 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02664/0.5407, allocations: 3.332 MB / 0.6283 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/0.5521, allocations: 4.146 MB / 0.6323 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/0.5524, allocations: 316.3 kB / 0.6326 GB, free: 9.309 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001895/0.5543, allocations: 427.7 kB / 0.633 GB, free: 8.891 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0288/0.5831, allocations: 13.83 MB / 0.6465 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001783/0.5833, allocations: 59.47 kB / 0.6466 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006783/0.584, allocations: 199.8 kB / 0.6468 GB, free: 9.938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004276/0.5883, allocations: 2.523 MB / 0.6493 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/0.6153, allocations: 11.81 MB / 0.6608 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0765/0.6918, allocations: 53.57 MB / 0.7131 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01684/0.7086, allocations: 5.686 MB / 0.7187 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005362/0.714, allocations: 3.272 MB / 0.7218 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3009/1.015, allocations: 15.53 MB / 0.737 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/1.015, allocations: 52.5 kB / 0.7371 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 4.147e-06/1.015, allocations: 0 / 0.7371 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.07475/1.09, allocations: 28.92 MB / 0.7653 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.521e-05/1.09, allocations: 257.3 kB / 0.7656 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00535/1.095, allocations: 5.069 MB / 0.7705 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005116/1.096, allocations: 65.7 kB / 0.7706 GB, free: 131.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001571/1.097, allocations: 4.035 MB / 0.7745 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008437/1.098, allocations: 1.049 MB / 0.7755 GB, free: 126.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/1.1, allocations: 1.556 MB / 0.7771 GB, free: 125.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.655e-05/1.1, allocations: 305.1 kB / 0.7774 GB, free: 124.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/1.103, allocations: 3.006 MB / 0.7803 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004722/1.108, allocations: 7.356 MB / 0.7875 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00933/1.117, allocations: 11.11 MB / 0.7983 GB, free: 99.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.247e-05/1.117, allocations: 47.94 kB / 0.7984 GB, free: 99.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02034/1.137, allocations: 11.21 MB / 0.8093 GB, free: 87.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/1.137, allocations: 72 kB / 0.8094 GB, free: 87.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001824/1.138, allocations: 151.9 kB / 0.8095 GB, free: 87.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/1.141, allocations: 1.23 MB / 0.8107 GB, free: 86.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006514/1.148, allocations: 1.84 MB / 0.8125 GB, free: 84.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007827/1.155, allocations: 8.362 MB / 0.8207 GB, free: 75.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005685/1.161, allocations: 435.5 kB / 0.8211 GB, free: 75.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001377/1.163, allocations: 448 kB / 0.8215 GB, free: 75.07 MB / 0.5606 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 (954): * Single equations (assignments): 949 * 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.005219/1.168, allocations: 2.634 MB / 0.8241 GB, free: 72.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/1.169, allocations: 488.8 kB / 0.8246 GB, free: 71.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00846/1.177, allocations: 5.226 MB / 0.8297 GB, free: 66.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/1.178, allocations: 31.67 kB / 0.8297 GB, free: 66.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/1.178, allocations: 4 kB / 0.8297 GB, free: 66.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.077e-05/1.178, allocations: 15.95 kB / 0.8297 GB, free: 66.65 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/1.198, allocations: 11.64 MB / 0.8411 GB, free: 54.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.198, allocations: 1.312 kB / 0.8411 GB, free: 54.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/1.2, allocations: 0.4954 MB / 0.8416 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/1.203, allocations: 0.9904 MB / 0.8425 GB, free: 53.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004163/1.203, allocations: 47.98 kB / 0.8426 GB, free: 53.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007243/1.211, allocations: 7.711 MB / 0.8501 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.211, allocations: 4 kB / 0.8501 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.223, allocations: 8.763 MB / 0.8587 GB, free: 36.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.225, allocations: 0.5213 MB / 0.8592 GB, free: 36.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/1.226, allocations: 43.94 kB / 0.8592 GB, free: 36.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003461/1.23, allocations: 167.9 kB / 0.8594 GB, free: 35.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008256/1.23, allocations: 161.6 kB / 0.8595 GB, free: 35.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004501/1.231, allocations: 67.98 kB / 0.8596 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00625/1.237, allocations: 3.161 MB / 0.8627 GB, free: 32.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.237, allocations: 0 / 0.8627 GB, free: 32.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00872/1.246, allocations: 1.355 MB / 0.864 GB, free: 31.15 MB / 0.5606 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.00108/1.247, allocations: 181.2 kB / 0.8642 GB, free: 30.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01373/1.261, allocations: 7.03 MB / 0.8711 GB, free: 23.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.261, allocations: 0 / 0.8711 GB, free: 23.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00346/1.264, allocations: 2.379 MB / 0.8734 GB, free: 21.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/1.268, allocations: 0.5921 MB / 0.874 GB, free: 20.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01988/1.288, allocations: 13.05 MB / 0.8867 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00392/1.292, allocations: 4.093 MB / 0.8907 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005591/1.298, allocations: 2.372 MB / 0.893 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.299, allocations: 323.4 kB / 0.8933 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of SimCode: time 1.583e-06/1.299, allocations: 0 / 0.8933 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of Templates: time 0.1094/1.409, allocations: 50.39 MB / 0.9425 GB, free: 14.95 MB / 0.6231 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.983818443492055]