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.001389/0.001389, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.001415/0.001415, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.466/1.466, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 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.23/0.23, allocations: 46.19 MB / 351.8 MB, free: 14.29 MB / 286.1 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 0.002334/0.002335, allocations: 84.98 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1209, allocations: 62.46 MB / 0.5404 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01689/0.1378, allocations: 14.97 MB / 0.555 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.1489, allocations: 4.996 MB / 0.5599 GB, free: 172 kB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002671/0.1516, allocations: 103.7 kB / 0.56 GB, free: 68 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007916/0.1595, allocations: 4.01 MB / 0.5639 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006523/0.1661, allocations: 2.313 MB / 0.5661 GB, free: 9.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.169, allocations: 1.17 MB / 0.5673 GB, free: 8.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0101/0.1791, allocations: 6.583 MB / 0.5737 GB, free: 1.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006433/0.1856, allocations: 4.69 MB / 0.5783 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.1896, allocations: 2.208 MB / 0.5805 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004982/0.1946, allocations: 3.014 MB / 0.5834 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.1962, allocations: 460 kB / 0.5838 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.1999, allocations: 1.525 MB / 0.5853 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003384/0.2033, allocations: 2.685 MB / 0.5879 GB, free: 3.289 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004576/0.2079, allocations: 2.99 MB / 0.5909 GB, free: 288 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01294/0.2208, allocations: 9.428 MB / 0.6001 GB, free: 6.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.2209, allocations: 3.984 kB / 0.6001 GB, free: 6.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2209, allocations: 4 kB / 0.6001 GB, free: 6.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003344/0.2212, allocations: 0 / 0.6001 GB, free: 6.809 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.2679/0.4892, allocations: 6.904 MB / 0.6068 GB, free: 55.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.4892, allocations: 9.828 kB / 0.6068 GB, free: 55.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02949/0.5187, allocations: 3.328 MB / 0.6101 GB, free: 54.89 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01085/0.5296, allocations: 4.145 MB / 0.6141 GB, free: 53.55 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003507/0.53, allocations: 310.7 kB / 0.6144 GB, free: 53.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001857/0.5319, allocations: 428.7 kB / 0.6148 GB, free: 53.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/0.559, allocations: 13.83 MB / 0.6283 GB, free: 46.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.5593, allocations: 60.27 kB / 0.6284 GB, free: 46.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008913/0.5602, allocations: 197.6 kB / 0.6286 GB, free: 46.51 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003636/0.5638, allocations: 2.529 MB / 0.6311 GB, free: 45.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.5846, allocations: 11.82 MB / 0.6426 GB, free: 35.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05774/0.6424, allocations: 53.55 MB / 0.6949 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01716/0.6596, allocations: 5.94 MB / 0.7007 GB, free: 6.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005544/0.6652, allocations: 3.598 MB / 0.7042 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02421/0.6894, allocations: 15.53 MB / 0.7194 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.842e-05/0.6895, allocations: 56.56 kB / 0.7194 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=230): time 5.711e-06/0.6896, allocations: 0 / 0.7194 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.09653/0.7861, allocations: 28.94 MB / 0.7477 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/0.7863, allocations: 257.3 kB / 0.7479 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008477/0.7948, allocations: 5.061 MB / 0.7529 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005802/0.7954, allocations: 69.7 kB / 0.7529 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003372/0.7988, allocations: 4.032 MB / 0.7569 GB, free: 12.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001445/0.8003, allocations: 1.05 MB / 0.7579 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002439/0.8027, allocations: 1.556 MB / 0.7594 GB, free: 9.922 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.8028, allocations: 305.1 kB / 0.7597 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004697/0.8075, allocations: 3.013 MB / 0.7627 GB, free: 6.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00862/0.8162, allocations: 7.355 MB / 0.7698 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/0.831, allocations: 11.09 MB / 0.7807 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.8311, allocations: 48 kB / 0.7807 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02212/0.8532, allocations: 11.23 MB / 0.7917 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/0.8534, allocations: 71.94 kB / 0.7918 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/0.8536, allocations: 155.6 kB / 0.7919 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003246/0.8568, allocations: 1.228 MB / 0.7931 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006573/0.8634, allocations: 1.829 MB / 0.7949 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.8743, allocations: 8.384 MB / 0.8031 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005641/0.88, allocations: 419.6 kB / 0.8035 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/0.8812, allocations: 455.9 kB / 0.8039 GB, free: 7.824 MB / 0.5919 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.004743/0.8859, allocations: 2.638 MB / 0.8065 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.8869, allocations: 484.8 kB / 0.807 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009702/0.8966, allocations: 5.242 MB / 0.8121 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.206e-05/0.8967, allocations: 28 kB / 0.8121 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.8967, allocations: 8 kB / 0.8121 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.89e-05/0.8968, allocations: 15.95 kB / 0.8121 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02207/0.9188, allocations: 11.65 MB / 0.8235 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.9189, allocations: 0 / 0.8235 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/0.9217, allocations: 0.4993 MB / 0.824 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003015/0.9247, allocations: 0.9886 MB / 0.825 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003826/0.9251, allocations: 43.98 kB / 0.825 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.9354, allocations: 7.706 MB / 0.8325 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9354, allocations: 4.062 kB / 0.8325 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01524/0.9507, allocations: 8.776 MB / 0.8411 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/0.9523, allocations: 0.5173 MB / 0.8416 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/0.9534, allocations: 43.98 kB / 0.8416 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/0.9558, allocations: 175.7 kB / 0.8418 GB, free: 0.5234 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005426/0.9564, allocations: 145.8 kB / 0.842 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/0.9566, allocations: 75.98 kB / 0.842 GB, free: 316 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.2816/1.238, allocations: 3.155 MB / 0.8451 GB, free: 207.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.21e-07/1.238, allocations: 0 / 0.8451 GB, free: 207.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007755/1.246, allocations: 1.35 MB / 0.8464 GB, free: 207.6 MB / 0.6231 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.0007281/1.247, allocations: 177.9 kB / 0.8466 GB, free: 207.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.26, allocations: 7.345 MB / 0.8538 GB, free: 205.1 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/1.26, allocations: 1.25 kB / 0.8538 GB, free: 205.1 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004183/1.264, allocations: 2.568 MB / 0.8563 GB, free: 204 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00418/1.268, allocations: 0.596 MB / 0.8569 GB, free: 203.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/1.292, allocations: 13.45 MB / 0.87 GB, free: 198.1 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005046/1.297, allocations: 4.074 MB / 0.874 GB, free: 196.6 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.299, allocations: 379.8 kB / 0.8743 GB, free: 196.6 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/1.299, allocations: 0 / 0.8743 GB, free: 196.6 MB / 0.6231 GB Notification: Performance of Templates: time 0.1295/1.429, allocations: 125.2 MB / 0.9966 GB, free: 79.68 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 17.367508345050737]