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.001509/0.001509, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.00178/0.00178, allocations: 160.7 kB / 24.5 MB, free: 3.453 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.46/1.46, allocations: 177.1 MB / 204.7 MB, free: 8.895 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.2179/0.2179, allocations: 34.26 MB / 295.4 MB, free: 14.47 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.002605/0.002605, allocations: 83.88 kB / 443.1 MB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3281, allocations: 66.05 MB / 0.4972 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.TestBraking): time 0.003229/0.3313, allocations: 2.93 MB / 0.5001 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3328, allocations: 1.008 MB / 0.5011 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.3329, allocations: 10.28 kB / 0.5011 GB, free: 27.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001743/0.3331, allocations: 67.62 kB / 0.5012 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.3333, allocations: 128.3 kB / 0.5013 GB, free: 27.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.3337, allocations: 175.3 kB / 0.5015 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000347/0.3341, allocations: 466.9 kB / 0.5019 GB, free: 26.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3342, allocations: 81.41 kB / 0.502 GB, free: 26.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3344, allocations: 175.1 kB / 0.5021 GB, free: 26.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.3346, allocations: 160.9 kB / 0.5023 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.73e-05/0.3346, allocations: 31.41 kB / 0.5023 GB, free: 26.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.3347, allocations: 54.36 kB / 0.5024 GB, free: 26.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.3348, allocations: 83.17 kB / 0.5025 GB, free: 26.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.3349, allocations: 170.6 kB / 0.5026 GB, free: 26.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.3353, allocations: 448.4 kB / 0.503 GB, free: 26.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3353, allocations: 5.906 kB / 0.5031 GB, free: 26.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3353, allocations: 0 / 0.5031 GB, free: 26.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3353, allocations: 0 / 0.5031 GB, free: 26.17 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0009808/0.3363, allocations: 0.624 MB / 0.5037 GB, free: 25.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.3363, allocations: 9.344 kB / 0.5037 GB, free: 25.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/0.3366, allocations: 64.94 kB / 0.5037 GB, free: 25.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.337, allocations: 250.2 kB / 0.504 GB, free: 25.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.459e-05/0.337, allocations: 29.28 kB / 0.504 GB, free: 25.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.858e-05/0.3371, allocations: 38.09 kB / 0.504 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/0.3376, allocations: 361.2 kB / 0.5044 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.3376, allocations: 10.27 kB / 0.5044 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.3376, allocations: 18.81 kB / 0.5044 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.3376, allocations: 8.906 kB / 0.5044 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.338, allocations: 245.6 kB / 0.5047 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.3395, allocations: 1.358 MB / 0.506 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.3401, allocations: 396.7 kB / 0.5064 GB, free: 23.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.3403, allocations: 129.1 kB / 0.5065 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3403, allocations: 13.97 kB / 0.5065 GB, free: 23.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.3403, allocations: 53.22 kB / 0.5065 GB, free: 23.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.3403, allocations: 0 / 0.5065 GB, free: 23.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.002532/0.3428, allocations: 1.53 MB / 0.508 GB, free: 22.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.444e-05/0.3429, allocations: 186 kB / 0.5082 GB, free: 22.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.3431, allocations: 253.6 kB / 0.5085 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3431, allocations: 33.7 kB / 0.5085 GB, free: 22.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.441e-05/0.3432, allocations: 200.6 kB / 0.5087 GB, free: 22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.511e-05/0.3433, allocations: 188.9 kB / 0.5089 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3434, allocations: 97.67 kB / 0.509 GB, free: 21.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.3435, allocations: 353.2 kB / 0.5093 GB, free: 21.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.3437, allocations: 117.7 kB / 0.5094 GB, free: 21.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.3439, allocations: 299.7 kB / 0.5097 GB, free: 21.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.3444, allocations: 456.9 kB / 0.5101 GB, free: 20.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3444, allocations: 7.125 kB / 0.5101 GB, free: 20.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006482/0.345, allocations: 499.2 kB / 0.5106 GB, free: 20.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.345, allocations: 9.281 kB / 0.5106 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3451, allocations: 3 kB / 0.5106 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.3451, allocations: 9.5 kB / 0.5106 GB, free: 20.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.3455, allocations: 145.3 kB / 0.5108 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3455, allocations: 12.88 kB / 0.5108 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.3458, allocations: 22.88 kB / 0.5108 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.3458, allocations: 26.14 kB / 0.5108 GB, free: 20.56 MB / 446.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.000126/0.3459, allocations: 168.4 kB / 0.511 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.346, allocations: 38.3 kB / 0.511 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.3462, allocations: 129.6 kB / 0.5111 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3462, allocations: 9.531 kB / 0.5112 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.3462, allocations: 0 / 0.5112 GB, free: 20.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3463, allocations: 11.16 kB / 0.5112 GB, free: 20.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.3477, allocations: 1.128 MB / 0.5123 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.3477, allocations: 2.938 kB / 0.5123 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000486/0.3481, allocations: 124.8 kB / 0.5124 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.3482, allocations: 10.3 kB / 0.5124 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.3482, allocations: 14.34 kB / 0.5124 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.3482, allocations: 5.719 kB / 0.5124 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3482, allocations: 9.906 kB / 0.5124 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009709/0.3492, allocations: 1.011 MB / 0.5134 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.3492, allocations: 28.81 kB / 0.5134 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.3493, allocations: 18.84 kB / 0.5135 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.3496, allocations: 18.91 kB / 0.5135 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.063e-05/0.3497, allocations: 48.25 kB / 0.5135 GB, free: 18.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.3497, allocations: 17.75 kB / 0.5135 GB, free: 18.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001235/0.3499, allocations: 166.9 kB / 0.5137 GB, free: 18.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3499, allocations: 1.031 kB / 0.5137 GB, free: 18.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007372/0.3506, allocations: 98.84 kB / 0.5138 GB, free: 18.48 MB / 446.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.0001002/0.3507, allocations: 117.9 kB / 0.5139 GB, free: 18.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.3513, allocations: 331.9 kB / 0.5142 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3513, allocations: 1.031 kB / 0.5142 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.3515, allocations: 158.2 kB / 0.5144 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.3525, allocations: 94.95 kB / 0.5145 GB, free: 18.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3543, allocations: 1.468 MB / 0.5159 GB, free: 17.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3545, allocations: 204.6 kB / 0.5161 GB, free: 16.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001705/0.3547, allocations: 50.17 kB / 0.5161 GB, free: 16.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.996e-05/0.3548, allocations: 39.62 kB / 0.5162 GB, free: 16.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3548, allocations: 0 / 0.5162 GB, free: 16.95 MB / 446.1 MB Notification: Performance of Templates: time 0.00854/0.3633, allocations: 3.827 MB / 0.5199 GB, free: 16.45 MB / 446.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 -s ida -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: 5.146325602079742]