Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.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.00199/0.00199, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.002524/0.002524, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.473/1.473, allocations: 230.5 MB / 258.1 MB, free: 7.762 MB / 206.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.2352/0.2352, allocations: 46.95 MB / 361.6 MB, free: 3.988 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.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") translateModel(ModelicaTest.Translational.TestBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|mass1.s|mass1.v|mass2.s|mass2.v|mass3.s|mass3.v|mass4.s|mass4.v|mass5.s|mass5.v|mass6.s|mass6.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Translational.TestBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 83.86 kB / 0.4974 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.311, allocations: 66.08 MB / 0.5619 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.004569/0.3156, allocations: 2.906 MB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002126/0.3177, allocations: 1.021 MB / 0.5657 GB, free: 28 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.3179, allocations: 11.94 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.3181, allocations: 63.42 kB / 0.5658 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.3184, allocations: 134.9 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005689/0.3189, allocations: 171.6 kB / 0.5661 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.3195, allocations: 465.7 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.3197, allocations: 75.64 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.3199, allocations: 175.4 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.3202, allocations: 171.1 kB / 0.5669 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.541e-05/0.3202, allocations: 32 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3204, allocations: 51.98 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.43e-05/0.3204, allocations: 71.77 kB / 0.5671 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.3206, allocations: 175.1 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.3212, allocations: 452.7 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.3212, allocations: 4 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3212, allocations: 0 / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3212, allocations: 3.938 kB / 0.5677 GB, free: 14.01 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001221/0.3224, allocations: 0.6261 MB / 0.5683 GB, free: 13.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3225, allocations: 12.03 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.3228, allocations: 64.64 kB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.3233, allocations: 248.8 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.3233, allocations: 25.38 kB / 0.5686 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.3234, allocations: 36.38 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006299/0.324, allocations: 371.4 kB / 0.569 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.324, allocations: 11.95 kB / 0.569 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.3241, allocations: 12 kB / 0.569 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3241, allocations: 8 kB / 0.569 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.3246, allocations: 250.8 kB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.3267, allocations: 1.359 MB / 0.5706 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.3275, allocations: 396 kB / 0.571 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.3277, allocations: 133.1 kB / 0.5711 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.3277, allocations: 8 kB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.3278, allocations: 42.5 kB / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=43): time 2.024e-06/0.3278, allocations: 0 / 0.5712 GB, free: 10.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.003143/0.3309, allocations: 1.538 MB / 0.5727 GB, free: 8.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.331, allocations: 191.9 kB / 0.5729 GB, free: 8.273 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.3313, allocations: 241.8 kB / 0.5731 GB, free: 8.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.864e-05/0.3314, allocations: 41.69 kB / 0.5731 GB, free: 7.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.3315, allocations: 200.7 kB / 0.5733 GB, free: 7.777 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.3317, allocations: 190.4 kB / 0.5735 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3318, allocations: 98.3 kB / 0.5736 GB, free: 7.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.332, allocations: 350.7 kB / 0.5739 GB, free: 7.137 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.3322, allocations: 117.2 kB / 0.574 GB, free: 7.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004123/0.3326, allocations: 303.9 kB / 0.5743 GB, free: 6.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.3333, allocations: 454.2 kB / 0.5748 GB, free: 6.129 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3333, allocations: 3.938 kB / 0.5748 GB, free: 6.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008578/0.3342, allocations: 497.2 kB / 0.5752 GB, free: 5.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.3342, allocations: 10.19 kB / 0.5752 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.3342, allocations: 8 kB / 0.5753 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.3342, allocations: 11.94 kB / 0.5753 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.3347, allocations: 139.8 kB / 0.5754 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.3348, allocations: 19.88 kB / 0.5754 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.335, allocations: 23.94 kB / 0.5754 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.335, allocations: 28 kB / 0.5755 GB, free: 5.398 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000216/0.3353, allocations: 173.8 kB / 0.5756 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.3354, allocations: 39.77 kB / 0.5757 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002587/0.3357, allocations: 123.3 kB / 0.5758 GB, free: 5.055 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.3357, allocations: 8 kB / 0.5758 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3357, allocations: 0 / 0.5758 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.3357, allocations: 7.938 kB / 0.5758 GB, free: 5.039 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.3376, allocations: 1.128 MB / 0.5769 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.3376, allocations: 4 kB / 0.5769 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.3381, allocations: 115.8 kB / 0.577 GB, free: 3.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.3381, allocations: 8 kB / 0.577 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.3382, allocations: 15.98 kB / 0.577 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3382, allocations: 8 kB / 0.577 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.3382, allocations: 7.938 kB / 0.5771 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.3394, allocations: 1.014 MB / 0.578 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/0.3394, allocations: 31.81 kB / 0.5781 GB, free: 2.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/0.3395, allocations: 15.98 kB / 0.5781 GB, free: 2.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.3398, allocations: 16 kB / 0.5781 GB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.854e-05/0.3399, allocations: 44 kB / 0.5781 GB, free: 2.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.34, allocations: 20 kB / 0.5782 GB, free: 2.484 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.3401, allocations: 173.2 kB / 0.5783 GB, free: 2.316 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3401, allocations: 0 / 0.5783 GB, free: 2.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006571/0.3408, allocations: 100 kB / 0.5784 GB, free: 2.219 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 13 (mass5.s,mass5.v,heatCapacitor.T,mass6.s,mass6.v,mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.v) * 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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001377/0.3409, allocations: 121.6 kB / 0.5785 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006659/0.3416, allocations: 331.5 kB / 0.5789 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3416, allocations: 0 / 0.5789 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002847/0.3419, allocations: 167.7 kB / 0.579 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/0.3429, allocations: 89.89 kB / 0.5791 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.3452, allocations: 1.509 MB / 0.5806 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3454, allocations: 208.5 kB / 0.5808 GB, free: 15.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3455, allocations: 35.42 kB / 0.5808 GB, free: 15.67 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3455, allocations: 4 kB / 0.5808 GB, free: 15.66 MB / 430.1 MB Notification: Performance of Templates: time 0.007834/0.3534, allocations: 4.933 MB / 0.5856 GB, free: 10.73 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.TestBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Translational.TestBraking_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/TestBraking/TestBraking.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Translational.TestBraking.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.025439556222409]