Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.001274/0.001274, allocations: 124.8 kB / 18.46 MB, free: 4.605 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.001393/0.001393, allocations: 201 kB / 21.4 MB, free: 1.664 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.436/1.436, allocations: 227.4 MB / 251.7 MB, free: 64 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.2356/0.2356, allocations: 46.18 MB / 351.1 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.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002227, allocations: 90.09 kB / 490.2 MB, free: 27.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1486, allocations: 62.45 MB / 0.5397 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.01365/0.1623, allocations: 10.35 MB / 0.5498 GB, free: 9.82 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008817/0.1711, allocations: 3.884 MB / 0.5536 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.1733, allocations: 59.81 kB / 0.5537 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004438/0.1778, allocations: 2.075 MB / 0.5557 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004875/0.1827, allocations: 1.672 MB / 0.5573 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.1845, allocations: 0.6862 MB / 0.558 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006653/0.1912, allocations: 4.004 MB / 0.5619 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00368/0.1949, allocations: 2.59 MB / 0.5644 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.1975, allocations: 1.308 MB / 0.5657 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.2005, allocations: 1.83 MB / 0.5675 GB, free: 7.613 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007014/0.2012, allocations: 264 kB / 0.5677 GB, free: 7.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.2037, allocations: 1.182 MB / 0.5689 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001915/0.2056, allocations: 1.644 MB / 0.5705 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.208, allocations: 1.891 MB / 0.5723 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008369/0.2164, allocations: 6.175 MB / 0.5784 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2164, allocations: 3.938 kB / 0.5784 GB, free: 12.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2165, allocations: 3.938 kB / 0.5784 GB, free: 12.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001665/0.2166, allocations: 0 / 0.5784 GB, free: 12.41 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: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.009764/0.2264, allocations: 4.313 MB / 0.5826 GB, free: 8.023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2265, allocations: 12.03 kB / 0.5826 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/0.2437, allocations: 2.463 MB / 0.585 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006478/0.2502, allocations: 2.414 MB / 0.5874 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.2505, allocations: 193.3 kB / 0.5875 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007566/0.2512, allocations: 275.9 kB / 0.5878 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01617/0.2674, allocations: 8.595 MB / 0.5962 GB, free: 9.379 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001262/0.2676, allocations: 39.64 kB / 0.5962 GB, free: 9.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000387/0.268, allocations: 127.9 kB / 0.5964 GB, free: 9.215 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003004/0.271, allocations: 1.739 MB / 0.5981 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01546/0.2865, allocations: 7.288 MB / 0.6052 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3152/0.6017, allocations: 34.08 MB / 0.6385 GB, free: 30.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009343/0.6111, allocations: 3.491 MB / 0.6419 GB, free: 28.52 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.6138, allocations: 1.717 MB / 0.6436 GB, free: 27.6 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.624, allocations: 7.531 MB / 0.6509 GB, free: 22.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.6241, allocations: 50.67 kB / 0.651 GB, free: 22.39 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.26e-06/0.6241, allocations: 0 / 0.651 GB, free: 22.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=188): time 0.05704/0.6811, allocations: 19.81 MB / 0.6703 GB, free: 7.016 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.6813, allocations: 213.2 kB / 0.6705 GB, free: 6.766 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004878/0.6862, allocations: 3.736 MB / 0.6742 GB, free: 3.059 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003265/0.6866, allocations: 61.53 kB / 0.6742 GB, free: 2.996 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.6879, allocations: 2.905 MB / 0.677 GB, free: 112 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008772/0.6887, allocations: 0.7576 MB / 0.6778 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001711/0.6905, allocations: 1.207 MB / 0.679 GB, free: 14.14 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.6906, allocations: 304.9 kB / 0.6793 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/0.6943, allocations: 2.206 MB / 0.6814 GB, free: 11.63 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007622/0.702, allocations: 5.778 MB / 0.6871 GB, free: 4.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/0.7145, allocations: 8.61 MB / 0.6955 GB, free: 9.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001251/0.7147, allocations: 36 kB / 0.6955 GB, free: 9.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02232/0.737, allocations: 9.207 MB / 0.7045 GB, free: 480 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/0.7372, allocations: 60 kB / 0.7045 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002744/0.7375, allocations: 124.9 kB / 0.7047 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006489/0.744, allocations: 1.665 MB / 0.7063 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005545/0.7496, allocations: 1.326 MB / 0.7076 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01775/0.7674, allocations: 9.925 MB / 0.7173 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/0.7726, allocations: 319.5 kB / 0.7176 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001391/0.774, allocations: 363 kB / 0.7179 GB, free: 2.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (714): * Single equations (assignments): 710 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,43,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005024/0.7791, allocations: 1.888 MB / 0.7198 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.7801, allocations: 353.6 kB / 0.7201 GB, free: 332 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/0.7914, allocations: 4.157 MB / 0.7242 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-05/0.7915, allocations: 20 kB / 0.7242 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/0.7915, allocations: 8.875 kB / 0.7242 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.099e-05/0.7916, allocations: 7.969 kB / 0.7242 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02163/0.8132, allocations: 8.526 MB / 0.7325 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.25e-05/0.8133, allocations: 0 / 0.7325 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.8147, allocations: 259.6 kB / 0.7328 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005547/0.8203, allocations: 1.425 MB / 0.7342 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003265/0.8206, allocations: 32.69 kB / 0.7342 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/0.8364, allocations: 9.217 MB / 0.7432 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.8364, allocations: 4 kB / 0.7432 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.8514, allocations: 6.76 MB / 0.7498 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/0.8527, allocations: 390.7 kB / 0.7502 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001007/0.8537, allocations: 31.97 kB / 0.7502 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/0.8557, allocations: 91.89 kB / 0.7503 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000409/0.8562, allocations: 117.2 kB / 0.7504 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.8563, allocations: 47.98 kB / 0.7505 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003972/0.8603, allocations: 2.319 MB / 0.7527 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8603, allocations: 1.312 kB / 0.7527 GB, free: 14.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005243/0.8656, allocations: 0.9804 MB / 0.7537 GB, free: 13.73 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004758/0.8661, allocations: 162.9 kB / 0.7538 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009291/0.8754, allocations: 5.434 MB / 0.7591 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.8754, allocations: 1.219 kB / 0.7591 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002939/0.8783, allocations: 1.815 MB / 0.7609 GB, free: 6.312 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.8811, allocations: 383.2 kB / 0.7613 GB, free: 5.938 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01649/0.8976, allocations: 8.65 MB / 0.7697 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003498/0.9011, allocations: 2.969 MB / 0.7726 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004407/0.9055, allocations: 1.807 MB / 0.7744 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006104/0.9061, allocations: 223.4 kB / 0.7746 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of SimCode: time 2.064e-06/0.9062, allocations: 0 / 0.7746 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of Templates: time 0.07955/0.9857, allocations: 36.06 MB / 0.8098 GB, free: 4.242 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses/ForceWithTwoMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.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.07526181358844]