Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001288/0.002241, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007096/0.0007096, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009226/0.001632, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9563/0.9563, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08602/1.042, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo): time 0.005272/0.005272, allocations: 1.195 MB / 245.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001473/0.006745, allocations: 0.8149 MB / 246 MB, free: 12.9 MB / 250.7 MB " [Timeout remaining time 180] Using package ElectricBraking with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricBraking 1.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") translateModel(ElectricBraking.Examples.Translational.EddyCurrentBraking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.332e-05, allocations: 2.312 kB / 247.3 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(ElectricBraking.Examples.Translational.EddyCurrentBraking): time 0.002191/0.002204, allocations: 2.344 MB / 249.6 MB, free: 9.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.003107, allocations: 0.8372 MB / 250.4 MB, free: 8.418 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.711e-05/0.003194, allocations: 11.94 kB / 250.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.00335, allocations: 63.55 kB / 250.5 MB, free: 8.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.773e-05/0.003428, allocations: 59.42 kB / 250.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.003544, allocations: 67.77 kB / 250.6 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.003724, allocations: 222.9 kB / 250.9 MB, free: 8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.325e-05/0.003817, allocations: 30.45 kB / 250.9 MB, free: 7.973 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.004003, allocations: 155.4 kB / 251 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.178e-05/0.004095, allocations: 63.8 kB / 251.1 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.004115, allocations: 12 kB / 251.1 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.00419, allocations: 35.92 kB / 251.1 MB, free: 7.711 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.004211, allocations: 23.94 kB / 251.2 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.023e-05/0.004251, allocations: 47.88 kB / 251.2 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.004431, allocations: 131.5 kB / 251.3 MB, free: 7.512 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.004444, allocations: 3.984 kB / 251.3 MB, free: 7.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.004445, allocations: 0 / 251.3 MB, free: 7.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.004455, allocations: 0 / 251.3 MB, free: 7.508 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0004737/0.004929, allocations: 435.5 kB / 251.8 MB, free: 7.059 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.004958, allocations: 15.98 kB / 251.8 MB, free: 7.043 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.005126, allocations: 118 kB / 251.9 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.005284, allocations: 165.4 kB / 252.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.005293, allocations: 12.38 kB / 252.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.005316, allocations: 20.36 kB / 252.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.005437, allocations: 120.7 kB / 252.2 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.005449, allocations: 12.06 kB / 252.2 MB, free: 6.547 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.005459, allocations: 7.938 kB / 252.2 MB, free: 6.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005463, allocations: 4 kB / 252.2 MB, free: 6.535 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.005523, allocations: 39.97 kB / 252.3 MB, free: 6.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004629/0.005986, allocations: 0.4993 MB / 252.8 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.155e-05/0.006078, allocations: 62.53 kB / 252.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.044e-05/0.006098, allocations: 16.86 kB / 252.9 MB, free: 5.879 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.006107, allocations: 4 kB / 252.9 MB, free: 5.875 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.006127, allocations: 34.5 kB / 252.9 MB, free: 5.832 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.006129, allocations: 0 / 252.9 MB, free: 5.832 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005869/0.006715, allocations: 349 kB / 253.2 MB, free: 5.457 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.006739, allocations: 55.41 kB / 253.3 MB, free: 5.391 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.064e-05/0.006829, allocations: 177.3 kB / 253.5 MB, free: 5.203 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.00684, allocations: 33.7 kB / 253.5 MB, free: 5.164 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.006884, allocations: 124.3 kB / 253.6 MB, free: 5.039 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.006911, allocations: 55.52 kB / 253.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.006948, allocations: 33.7 kB / 253.7 MB, free: 4.945 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.007021, allocations: 334.8 kB / 254 MB, free: 4.609 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.007037, allocations: 8 kB / 254 MB, free: 4.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.007077, allocations: 61.98 kB / 254.1 MB, free: 4.52 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.094e-05/0.007148, allocations: 97.58 kB / 254.2 MB, free: 4.406 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.00715, allocations: 7.938 kB / 254.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001013/0.007251, allocations: 113.5 kB / 254.3 MB, free: 4.281 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.007263, allocations: 8 kB / 254.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.007268, allocations: 0 / 254.3 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/0.007277, allocations: 4 kB / 254.3 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.007414, allocations: 43.92 kB / 254.4 MB, free: 4.227 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.007419, allocations: 7.984 kB / 254.4 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.834e-05/0.007457, allocations: 8.156 kB / 254.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.007463, allocations: 8 kB / 254.4 MB, free: 4.203 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 5.891e-05/0.007522, allocations: 121.7 kB / 254.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.007542, allocations: 15.98 kB / 254.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.007572, allocations: 21.5 kB / 254.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007573, allocations: 0 / 254.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007575, allocations: 0 / 254.5 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.007579, allocations: 7.922 kB / 254.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002585/0.007837, allocations: 300.3 kB / 254.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007839, allocations: 4.062 kB / 254.8 MB, free: 3.703 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.007942, allocations: 39.48 kB / 254.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.007957, allocations: 15.86 kB / 254.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.00796, allocations: 4 kB / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.007966, allocations: 0 / 254.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.007968, allocations: 4 kB / 254.9 MB, free: 3.645 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.00797, allocations: 3.938 kB / 254.9 MB, free: 3.641 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.008104, allocations: 209.1 kB / 255.1 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.008118, allocations: 4 kB / 255.1 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.585e-05/0.008164, allocations: 8 kB / 255.1 MB, free: 3.402 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.008178, allocations: 11.92 kB / 255.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.008182, allocations: 4 kB / 255.1 MB, free: 3.387 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.351e-05/0.008215, allocations: 49.64 kB / 255.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008216, allocations: 0 / 255.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.00836, allocations: 36 kB / 255.2 MB, free: 3.301 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (massLoad.s,massLoad.v,integrator.y,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * 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 6.596e-05/0.008426, allocations: 84.36 kB / 255.3 MB, free: 3.207 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.008513, allocations: 72.94 kB / 255.4 MB, free: 3.133 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.00852, allocations: 4.062 kB / 255.4 MB, free: 3.129 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.008547, allocations: 36.78 kB / 255.4 MB, free: 3.09 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.008726, allocations: 56.88 kB / 255.5 MB, free: 3.039 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002155/0.01088, allocations: 448.6 kB / 255.9 MB, free: 2.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.031e-05/0.01092, allocations: 75.98 kB / 256 MB, free: 2.477 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.01097, allocations: 17.48 kB / 256 MB, free: 2.461 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.526e-05/0.01105, allocations: 75.36 kB / 256.1 MB, free: 2.387 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01105, allocations: 0 / 256.1 MB, free: 2.387 MB / 250.7 MB Notification: Performance of Templates: time 0.003452/0.0145, allocations: 1.899 MB / 258 MB, free: 0.5312 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.makefile [Timeout 660] (rm -f ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; mkfifo ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe ; head -c 1048576 < ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe >> ../files/ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.sim & ./ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking -abortSlowSimulation -alarm=240 -lv LOG_STATS > ElectricBraking_ElectricBraking.Examples.Translational.EddyCurrentBraking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4034157674759626]