Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 184.9 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2379/0.2379, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.88 kB / 497.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4305, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01854/0.449, allocations: 15.1 MB / 0.5636 GB, free: 276 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.4635, allocations: 5.046 MB / 0.5685 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004533/0.468, allocations: 123.4 kB / 0.5686 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00947/0.4775, allocations: 4.088 MB / 0.5726 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.4855, allocations: 2.435 MB / 0.575 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.4887, allocations: 1.162 MB / 0.5761 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.5005, allocations: 6.518 MB / 0.5825 GB, free: 12.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005999/0.5065, allocations: 3.463 MB / 0.5859 GB, free: 9.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004966/0.5115, allocations: 2.247 MB / 0.5881 GB, free: 7.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006799/0.5183, allocations: 3.279 MB / 0.5913 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002919/0.5212, allocations: 460 kB / 0.5917 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005019/0.5262, allocations: 1.592 MB / 0.5933 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004341/0.5305, allocations: 2.813 MB / 0.596 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006646/0.5372, allocations: 3.014 MB / 0.599 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01529/0.5525, allocations: 9.49 MB / 0.6082 GB, free: 2.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.5525, allocations: 8 kB / 0.6082 GB, free: 2.348 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5525, allocations: 0 / 0.6082 GB, free: 2.348 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000355/0.5528, allocations: 0 / 0.6082 GB, free: 2.348 MB / 446.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.01853/0.5714, allocations: 6.842 MB / 0.6149 GB, free: 11.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.5714, allocations: 12.03 kB / 0.6149 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02957/0.601, allocations: 3.332 MB / 0.6182 GB, free: 8.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/0.6138, allocations: 4.113 MB / 0.6222 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000462/0.6142, allocations: 319.3 kB / 0.6225 GB, free: 3.582 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/0.6168, allocations: 423.7 kB / 0.6229 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0338/0.6506, allocations: 13.82 MB / 0.6364 GB, free: 4.477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002282/0.6509, allocations: 59.47 kB / 0.6365 GB, free: 4.418 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000958/0.6518, allocations: 195.8 kB / 0.6366 GB, free: 4.227 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004748/0.6566, allocations: 2.535 MB / 0.6391 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02802/0.6846, allocations: 11.79 MB / 0.6506 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08139/0.766, allocations: 53.44 MB / 0.7028 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01796/0.7839, allocations: 5.207 MB / 0.7079 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006091/0.79, allocations: 3.28 MB / 0.7111 GB, free: 6.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02631/0.8163, allocations: 13.44 MB / 0.7242 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.8164, allocations: 56.5 kB / 0.7243 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=230): time 4.759e-06/0.8164, allocations: 0 / 0.7243 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=267): time 0.4248/1.241, allocations: 28.59 MB / 0.7522 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/1.241, allocations: 269.4 kB / 0.7525 GB, free: 158 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006279/1.248, allocations: 5.075 MB / 0.7574 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007617/1.248, allocations: 65.7 kB / 0.7575 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002587/1.251, allocations: 4.033 MB / 0.7614 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001594/1.252, allocations: 1.049 MB / 0.7624 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002021/1.254, allocations: 1.563 MB / 0.764 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/1.255, allocations: 305.1 kB / 0.7643 GB, free: 149 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003614/1.258, allocations: 3.013 MB / 0.7672 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005169/1.263, allocations: 7.344 MB / 0.7744 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01006/1.273, allocations: 11.1 MB / 0.7852 GB, free: 123.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.273, allocations: 48 kB / 0.7853 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01865/1.292, allocations: 11.21 MB / 0.7962 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/1.292, allocations: 68 kB / 0.7963 GB, free: 112 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002187/1.293, allocations: 152 kB / 0.7964 GB, free: 111.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/1.296, allocations: 1.224 MB / 0.7976 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006228/1.302, allocations: 1.829 MB / 0.7994 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00855/1.31, allocations: 8.157 MB / 0.8074 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006639/1.317, allocations: 423.5 kB / 0.8078 GB, free: 100 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001512/1.318, allocations: 455.5 kB / 0.8082 GB, free: 99.57 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.004892/1.323, allocations: 2.644 MB / 0.8108 GB, free: 96.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001211/1.325, allocations: 488 kB / 0.8113 GB, free: 96.44 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00882/1.333, allocations: 5.215 MB / 0.8163 GB, free: 91.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/1.333, allocations: 28 kB / 0.8164 GB, free: 91.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.694e-05/1.333, allocations: 7.938 kB / 0.8164 GB, free: 91.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-05/1.334, allocations: 17.95 kB / 0.8164 GB, free: 91.15 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02404/1.358, allocations: 11.6 MB / 0.8277 GB, free: 79.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/1.358, allocations: 4 kB / 0.8277 GB, free: 79.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/1.36, allocations: 0.4914 MB / 0.8282 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/1.363, allocations: 0.9866 MB / 0.8292 GB, free: 78.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003227/1.363, allocations: 47.98 kB / 0.8292 GB, free: 78.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007119/1.37, allocations: 7.491 MB / 0.8365 GB, free: 70.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/1.37, allocations: 4.047 kB / 0.8365 GB, free: 70.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/1.381, allocations: 8.746 MB / 0.8451 GB, free: 61.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001639/1.383, allocations: 456.6 kB / 0.8455 GB, free: 61.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007052/1.383, allocations: 47.59 kB / 0.8456 GB, free: 60.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.386, allocations: 171.8 kB / 0.8457 GB, free: 60.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003675/1.386, allocations: 153.6 kB / 0.8459 GB, free: 60.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.386, allocations: 75.98 kB / 0.8459 GB, free: 60.59 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003886/1.39, allocations: 3.159 MB / 0.849 GB, free: 57.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/1.39, allocations: 4 kB / 0.849 GB, free: 57.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006499/1.397, allocations: 1.375 MB / 0.8504 GB, free: 56.07 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.0006069/1.397, allocations: 186.2 kB / 0.8506 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009557/1.407, allocations: 7.019 MB / 0.8574 GB, free: 48.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.407, allocations: 4 kB / 0.8574 GB, free: 48.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00306/1.41, allocations: 2.37 MB / 0.8597 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/1.414, allocations: 0.5983 MB / 0.8603 GB, free: 45.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01882/1.433, allocations: 13.05 MB / 0.8731 GB, free: 32.79 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004201/1.437, allocations: 4.101 MB / 0.8771 GB, free: 28.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00477/1.442, allocations: 2.376 MB / 0.8794 GB, free: 26.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.443, allocations: 315.4 kB / 0.8797 GB, free: 25.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.443, allocations: 0 / 0.8797 GB, free: 25.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.09715/1.54, allocations: 53.58 MB / 0.932 GB, free: 4.766 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.468362610787153]