Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.001427/0.001427, allocations: 79.19 kB / 19.76 MB, free: 2.031 MB / 14.72 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 1.453/1.453, allocations: 177.2 MB / 200.1 MB, free: 8.336 MB / 190.1 MB " [Timeout remaining time 178] 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.001626/0.001626, allocations: 162.7 kB / 256.6 MB, free: 4.273 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03893/0.03893, allocations: 6.664 MB / 319.7 MB, free: 5.355 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 87.88 kB / 446.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.112, allocations: 55.58 MB / 0.4903 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003862/0.1159, allocations: 2.116 MB / 0.4923 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002859/0.1188, allocations: 1.738 MB / 0.494 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.1189, allocations: 7.938 kB / 0.494 GB, free: 14.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003742/0.1192, allocations: 103.5 kB / 0.4941 GB, free: 14.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.1197, allocations: 163.2 kB / 0.4943 GB, free: 14.56 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.12, allocations: 91.66 kB / 0.4944 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.1203, allocations: 235.2 kB / 0.4946 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.1204, allocations: 33.73 kB / 0.4946 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1205, allocations: 99.62 kB / 0.4947 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1208, allocations: 111.6 kB / 0.4948 GB, free: 14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.1208, allocations: 12 kB / 0.4948 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002072/0.121, allocations: 119.9 kB / 0.4949 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.1211, allocations: 47.78 kB / 0.495 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.1212, allocations: 83.58 kB / 0.4951 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.1217, allocations: 290.9 kB / 0.4954 GB, free: 13.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1217, allocations: 0 / 0.4954 GB, free: 13.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1217, allocations: 3.938 kB / 0.4954 GB, free: 13.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1217, allocations: 0 / 0.4954 GB, free: 13.45 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008036/0.1225, allocations: 472.9 kB / 0.4958 GB, free: 12.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1225, allocations: 15.98 kB / 0.4958 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.574e-05/0.1226, allocations: 24.78 kB / 0.4958 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.1229, allocations: 194.1 kB / 0.496 GB, free: 12.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.123, allocations: 16.55 kB / 0.496 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.123, allocations: 16.12 kB / 0.4961 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.1233, allocations: 196.8 kB / 0.4962 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1233, allocations: 4 kB / 0.4963 GB, free: 12.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1233, allocations: 4 kB / 0.4963 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1234, allocations: 4 kB / 0.4963 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.1235, allocations: 68.67 kB / 0.4963 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.1243, allocations: 478.3 kB / 0.4968 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.1247, allocations: 106.7 kB / 0.4969 GB, free: 11.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.1248, allocations: 32.84 kB / 0.4969 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.1248, allocations: 3.938 kB / 0.4969 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.1251, allocations: 134.8 kB / 0.497 GB, free: 11.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.1251, allocations: 0 / 0.497 GB, free: 11.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.000401/0.1255, allocations: 145.5 kB / 0.4972 GB, free: 11.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.1255, allocations: 106.8 kB / 0.4973 GB, free: 11.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.1258, allocations: 280.1 kB / 0.4976 GB, free: 11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.1259, allocations: 29.7 kB / 0.4976 GB, free: 10.96 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.126, allocations: 140.2 kB / 0.4977 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.126, allocations: 31.73 kB / 0.4977 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.1261, allocations: 33.66 kB / 0.4978 GB, free: 10.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1263, allocations: 330.8 kB / 0.4981 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.1263, allocations: 35.92 kB / 0.4981 GB, free: 10.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1265, allocations: 123.1 kB / 0.4982 GB, free: 10.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.1267, allocations: 91.39 kB / 0.4983 GB, free: 10.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.1267, allocations: 7.938 kB / 0.4983 GB, free: 10.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002695/0.1269, allocations: 141.8 kB / 0.4985 GB, free: 9.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1269, allocations: 4 kB / 0.4985 GB, free: 9.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1269, allocations: 4 kB / 0.4985 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.127, allocations: 3.984 kB / 0.4985 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1271, allocations: 31.86 kB / 0.4985 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1271, allocations: 8.031 kB / 0.4985 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.1272, allocations: 15.89 kB / 0.4985 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1272, allocations: 8 kB / 0.4985 GB, free: 9.906 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001398/0.1273, allocations: 137.8 kB / 0.4987 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.226e-05/0.1274, allocations: 19.91 kB / 0.4987 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.1277, allocations: 143 kB / 0.4988 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1277, allocations: 0 / 0.4988 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1277, allocations: 0 / 0.4988 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1277, allocations: 0 / 0.4988 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.1279, allocations: 177.2 kB / 0.499 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1279, allocations: 4 kB / 0.499 GB, free: 9.395 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.913e-05/0.128, allocations: 19.98 kB / 0.499 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.128, allocations: 0 / 0.499 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.128, allocations: 0 / 0.499 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.128, allocations: 4 kB / 0.499 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.128, allocations: 0 / 0.499 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003829/0.1284, allocations: 213 kB / 0.4992 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.1284, allocations: 23.86 kB / 0.4993 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1284, allocations: 0 / 0.4993 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.1285, allocations: 12.06 kB / 0.4993 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.1285, allocations: 7.984 kB / 0.4993 GB, free: 9.102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1285, allocations: 4 kB / 0.4993 GB, free: 9.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002176/0.1288, allocations: 209.6 kB / 0.4995 GB, free: 8.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1288, allocations: 0 / 0.4995 GB, free: 8.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003148/0.1291, allocations: 71.75 kB / 0.4995 GB, free: 8.824 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001871/0.131, allocations: 0.5227 MB / 0.5001 GB, free: 8.516 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002549/0.1312, allocations: 83.83 kB / 0.5001 GB, free: 8.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1312, allocations: 0 / 0.5001 GB, free: 8.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.444e-05/0.1313, allocations: 44.11 kB / 0.5002 GB, free: 8.391 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1316, allocations: 32.42 kB / 0.5002 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.1324, allocations: 448.7 kB / 0.5006 GB, free: 7.891 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.1325, allocations: 124.8 kB / 0.5008 GB, free: 7.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.371e-05/0.1326, allocations: 25.47 kB / 0.5008 GB, free: 7.727 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.1327, allocations: 24.5 kB / 0.5008 GB, free: 7.703 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1327, allocations: 4 kB / 0.5008 GB, free: 7.699 MB / 430.1 MB Notification: Performance of Templates: time 0.006777/0.1394, allocations: 2.812 MB / 0.5036 GB, free: 4.93 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.986862140940502] Failed to read output from testmodel.py, exit status != 0: 0.1473410800099373 0.327262706 0.20292673600000002 Calling exit ...