Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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.002116/0.002116, allocations: 83.08 kB / 20.68 MB, free: 1.035 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.002507/0.002507, allocations: 157.6 kB / 23.95 MB, free: 4.168 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.534/1.534, allocations: 177 MB / 204.1 MB, free: 9.164 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.2114/0.2114, allocations: 34.26 MB / 294.8 MB, free: 14.52 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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.6 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.807e-05, allocations: 4.672 kB / 442.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2137/0.2137, allocations: 6.038 MB / 448.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005084/0.2188, allocations: 2.313 MB / 451 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005213/0.2193, allocations: 35.56 kB / 451 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.2215, allocations: 1.077 MB / 452.1 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.2234, allocations: 0.8934 MB / 453 MB, free: 14.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.2241, allocations: 316.4 kB / 453.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002228/0.2264, allocations: 1.918 MB / 455.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001433/0.2278, allocations: 1.107 MB / 456.3 MB, free: 13 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.2292, allocations: 1.042 MB / 457.4 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001525/0.2307, allocations: 0.987 MB / 458.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003169/0.2311, allocations: 127.4 kB / 458.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/0.2327, allocations: 0.6775 MB / 459.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00109/0.2338, allocations: 0.9843 MB / 460.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008337/0.2346, allocations: 0.5715 MB / 460.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004691/0.2393, allocations: 3.667 MB / 464.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2393, allocations: 4 kB / 464.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.2393, allocations: 4 kB / 464.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.151e-05/0.2394, allocations: 1.094 kB / 464.4 MB, free: 10.15 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.005268/0.2447, allocations: 2.612 MB / 467 MB, free: 8.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.2447, allocations: 10.25 kB / 467 MB, free: 8.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005689/0.2504, allocations: 1.61 MB / 468.6 MB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.2524, allocations: 1.029 MB / 469.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.2524, allocations: 123.7 kB / 469.8 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.2528, allocations: 154 kB / 469.9 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007779/0.2605, allocations: 6.194 MB / 476.1 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.959e-05/0.2606, allocations: 26.94 kB / 476.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.2608, allocations: 82.11 kB / 476.2 MB, free: 2.672 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/0.263, allocations: 1.439 MB / 477.7 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008981/0.272, allocations: 5.388 MB / 483 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03043/0.3024, allocations: 23.35 MB / 0.4945 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004683/0.3071, allocations: 1.858 MB / 0.4963 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.3083, allocations: 0.8824 MB / 0.4972 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002495/0.3086, allocations: 92.38 kB / 0.4973 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.3086, allocations: 38.56 kB / 0.4973 GB, free: 1.941 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.697e-06/0.3086, allocations: 0 / 0.4973 GB, free: 1.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02626/0.3349, allocations: 8.602 MB / 0.5057 GB, free: 9.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.335, allocations: 140.5 kB / 0.5059 GB, free: 9.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004309/0.3393, allocations: 2.453 MB / 0.5083 GB, free: 6.605 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.3394, allocations: 45.64 kB / 0.5083 GB, free: 6.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/0.3412, allocations: 2.112 MB / 0.5104 GB, free: 4.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005457/0.3417, allocations: 452.6 kB / 0.5108 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00157/0.3433, allocations: 0.8578 MB / 0.5116 GB, free: 3.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3435, allocations: 337.9 kB / 0.512 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/0.3458, allocations: 1.332 MB / 0.5133 GB, free: 1.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004845/0.3506, allocations: 4.104 MB / 0.5173 GB, free: 11.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008024/0.3586, allocations: 5.942 MB / 0.5231 GB, free: 4.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.3587, allocations: 28 kB / 0.5231 GB, free: 4.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01138/0.3701, allocations: 5.471 MB / 0.5284 GB, free: 15.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/0.3702, allocations: 48 kB / 0.5285 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/0.3704, allocations: 103.9 kB / 0.5286 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.3716, allocations: 456.9 kB / 0.529 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003077/0.3747, allocations: 0.9708 MB / 0.53 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/0.3793, allocations: 3.523 MB / 0.5334 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.382, allocations: 228.5 kB / 0.5336 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004606/0.3824, allocations: 272 kB / 0.5339 GB, free: 9.402 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002353/0.3848, allocations: 1.361 MB / 0.5352 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/0.3852, allocations: 198.6 kB / 0.5354 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.3877, allocations: 1.312 MB / 0.5367 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.3878, allocations: 12 kB / 0.5367 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.3878, allocations: 0 / 0.5367 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3878, allocations: 7.984 kB / 0.5367 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007341/0.3951, allocations: 3.609 MB / 0.5402 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.3951, allocations: 3.938 kB / 0.5402 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006828/0.3958, allocations: 143.8 kB / 0.5404 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009484/0.3968, allocations: 308.6 kB / 0.5407 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/0.3968, allocations: 19.56 kB / 0.5407 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003803/0.4006, allocations: 2.925 MB / 0.5435 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4006, allocations: 3.938 kB / 0.5435 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005065/0.4057, allocations: 3.047 MB / 0.5465 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005099/0.4062, allocations: 174.5 kB / 0.5467 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003333/0.4065, allocations: 16 kB / 0.5467 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/0.4074, allocations: 47.94 kB / 0.5467 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.4076, allocations: 68.25 kB / 0.5468 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.4077, allocations: 28 kB / 0.5468 GB, free: 11.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002522/0.4102, allocations: 1.37 MB / 0.5482 GB, free: 10.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4102, allocations: 0 / 0.5482 GB, free: 10.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003392/0.4136, allocations: 0.582 MB / 0.5487 GB, free: 9.953 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004715/0.4141, allocations: 147 kB / 0.5489 GB, free: 9.801 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005352/0.4194, allocations: 3.101 MB / 0.5519 GB, free: 6.715 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4194, allocations: 4 kB / 0.5519 GB, free: 6.711 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.4207, allocations: 0.8021 MB / 0.5527 GB, free: 5.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4221, allocations: 175 kB / 0.5529 GB, free: 5.723 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.4327, allocations: 5.456 MB / 0.5582 GB, free: 224 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002662/0.4354, allocations: 1.593 MB / 0.5597 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003181/0.4385, allocations: 1.362 MB / 0.5611 GB, free: 13.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005158/0.4391, allocations: 140.5 kB / 0.5612 GB, free: 13.09 MB / 478.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4391, allocations: 0 / 0.5612 GB, free: 13.09 MB / 478.1 MB Notification: Performance of Templates: time 0.03759/0.4767, allocations: 16.29 MB / 0.5771 GB, free: 13.06 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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: 5.910614565014839]