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.001767/0.001767, allocations: 78.17 kB / 21.25 MB, free: 0.5469 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.002144/0.002144, allocations: 158.9 kB / 24.5 MB, free: 3.719 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.449/1.449, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 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.2553/0.2553, allocations: 34.26 MB / 295.4 MB, free: 14.48 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.002554/0.002554, allocations: 79.88 kB / 443.2 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3881, allocations: 66.07 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01138/0.3995, allocations: 13.01 MB / 0.51 GB, free: 21.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009702/0.4092, allocations: 4.793 MB / 0.5147 GB, free: 18.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.4119, allocations: 121.2 kB / 0.5148 GB, free: 18.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007378/0.4193, allocations: 3.909 MB / 0.5186 GB, free: 16.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00609/0.4254, allocations: 2.407 MB / 0.521 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.4278, allocations: 1.165 MB / 0.5221 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00882/0.4367, allocations: 6.593 MB / 0.5285 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004909/0.4416, allocations: 3.768 MB / 0.5322 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004667/0.4462, allocations: 2.24 MB / 0.5344 GB, free: 9.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005229/0.4515, allocations: 3.073 MB / 0.5374 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.4528, allocations: 457.6 kB / 0.5378 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002858/0.4557, allocations: 1.429 MB / 0.5392 GB, free: 7.652 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002372/0.4581, allocations: 2.792 MB / 0.542 GB, free: 6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.4605, allocations: 2.247 MB / 0.5442 GB, free: 4.488 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.4711, allocations: 9.479 MB / 0.5534 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4711, allocations: 4 kB / 0.5534 GB, free: 11.91 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.4711, allocations: 0 / 0.5534 GB, free: 11.91 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002662/0.4713, allocations: 0 / 0.5534 GB, free: 11.91 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.01587/0.4872, allocations: 6.832 MB / 0.5601 GB, free: 5.004 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.4873, allocations: 15.97 kB / 0.5601 GB, free: 4.988 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02866/0.5159, allocations: 3.426 MB / 0.5634 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01101/0.5269, allocations: 4.078 MB / 0.5674 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.5272, allocations: 312.3 kB / 0.5677 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.5285, allocations: 431.6 kB / 0.5681 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02687/0.5554, allocations: 14.07 MB / 0.5819 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.5556, allocations: 51.58 kB / 0.5819 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005385/0.5561, allocations: 203.8 kB / 0.5821 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004263/0.5604, allocations: 2.527 MB / 0.5846 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02726/0.5876, allocations: 11.79 MB / 0.5961 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07174/0.6594, allocations: 49.67 MB / 0.6446 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/0.6773, allocations: 5.493 MB / 0.65 GB, free: 6.613 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005364/0.6827, allocations: 3.272 MB / 0.6532 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02508/0.7077, allocations: 12.74 MB / 0.6656 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.118e-05/0.7078, allocations: 60.56 kB / 0.6657 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 6.382e-06/0.7078, allocations: 0 / 0.6657 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.343/1.051, allocations: 29.22 MB / 0.6942 GB, free: 147.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.522e-05/1.051, allocations: 261.9 kB / 0.6945 GB, free: 147 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005531/1.056, allocations: 4.772 MB / 0.6991 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004163/1.057, allocations: 69.03 kB / 0.6992 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001766/1.059, allocations: 4.08 MB / 0.7032 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007638/1.059, allocations: 1.045 MB / 0.7042 GB, free: 141.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001607/1.061, allocations: 1.546 MB / 0.7057 GB, free: 141 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/1.061, allocations: 309.5 kB / 0.706 GB, free: 140.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/1.064, allocations: 2.939 MB / 0.7089 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005714/1.07, allocations: 7.382 MB / 0.7161 GB, free: 132.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01124/1.081, allocations: 10.97 MB / 0.7268 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001967/1.082, allocations: 47.06 kB / 0.7268 GB, free: 124.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.01994/1.102, allocations: 11.02 MB / 0.7376 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.102, allocations: 74.06 kB / 0.7377 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002277/1.102, allocations: 149.6 kB / 0.7378 GB, free: 120.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003322/1.105, allocations: 1.225 MB / 0.739 GB, free: 120 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006872/1.112, allocations: 1.837 MB / 0.7408 GB, free: 119.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008561/1.121, allocations: 8.034 MB / 0.7486 GB, free: 115.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006461/1.127, allocations: 436.5 kB / 0.7491 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/1.128, allocations: 445.7 kB / 0.7495 GB, free: 114.9 MB / 0.5762 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.004906/1.133, allocations: 2.632 MB / 0.7521 GB, free: 113.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.135, allocations: 447.6 kB / 0.7525 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008172/1.143, allocations: 5.062 MB / 0.7574 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.465e-05/1.143, allocations: 35.53 kB / 0.7575 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.143, allocations: 3.875 kB / 0.7575 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/1.143, allocations: 14.44 kB / 0.7575 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/1.16, allocations: 9.896 MB / 0.7671 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/1.16, allocations: 4 kB / 0.7671 GB, free: 103.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002397/1.162, allocations: 0.507 MB / 0.7676 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0023/1.164, allocations: 0.9892 MB / 0.7686 GB, free: 102 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/1.164, allocations: 51.81 kB / 0.7687 GB, free: 102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006471/1.171, allocations: 7.385 MB / 0.7759 GB, free: 94.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.171, allocations: 4.047 kB / 0.7759 GB, free: 94.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/1.181, allocations: 8.516 MB / 0.7842 GB, free: 85.78 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/1.182, allocations: 393 kB / 0.7846 GB, free: 85.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/1.183, allocations: 44 kB / 0.7846 GB, free: 85.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001952/1.184, allocations: 179.8 kB / 0.7848 GB, free: 85.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003491/1.185, allocations: 149.7 kB / 0.7849 GB, free: 85.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001772/1.185, allocations: 68 kB / 0.785 GB, free: 84.96 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003151/1.188, allocations: 2.773 MB / 0.7877 GB, free: 82.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.188, allocations: 4 kB / 0.7877 GB, free: 82.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005713/1.194, allocations: 1.355 MB / 0.789 GB, free: 80.83 MB / 0.5762 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.0003974/1.194, allocations: 178.7 kB / 0.7892 GB, free: 80.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.008181/1.202, allocations: 6.869 MB / 0.7959 GB, free: 73.79 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.202, allocations: 0 / 0.7959 GB, free: 73.79 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/1.205, allocations: 2.307 MB / 0.7982 GB, free: 71.46 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002489/1.207, allocations: 0.5208 MB / 0.7987 GB, free: 70.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/1.223, allocations: 12.88 MB / 0.8112 GB, free: 58.03 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003465/1.227, allocations: 3.593 MB / 0.8147 GB, free: 54.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004734/1.231, allocations: 2.334 MB / 0.817 GB, free: 52.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000895/1.232, allocations: 300.4 kB / 0.8173 GB, free: 51.77 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/1.232, allocations: 0 / 0.8173 GB, free: 51.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.07051/1.303, allocations: 43.42 MB / 0.8597 GB, free: 8.926 MB / 0.5762 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/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.756584883085452]