Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MagLev_MagLev.Examples.SteadyStateCharacteristic.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.001681/0.001681, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002301/0.002301, allocations: 215.5 kB / 22.25 MB, free: 5.262 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.539/1.539, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0/package.mo): time 0.02329/0.02329, allocations: 4.29 MB / 316.7 MB, free: 14.63 MB / 254.1 MB " [Timeout remaining time 180] Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.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(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") translateModel(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") [Timeout 660] "Notification: MagLev 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.002271/0.002271, allocations: 67.89 kB / 441.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.116, allocations: 54.44 MB / 495.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.003472/0.1195, allocations: 1.558 MB / 497.1 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1212, allocations: 0.8193 MB / 498 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1213, allocations: 0 / 498 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006755/0.122, allocations: 149.7 kB / 498.1 MB, free: 496 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1221, allocations: 63.59 kB / 498.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.8e-05/0.1222, allocations: 11.98 kB / 498.2 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1224, allocations: 139.4 kB / 498.3 MB, free: 280 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.673e-05/0.1225, allocations: 9.297 kB / 498.3 MB, free: 272 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1226, allocations: 59.72 kB / 498.4 MB, free: 212 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1227, allocations: 63.67 kB / 498.5 MB, free: 148 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.1228, allocations: 8 kB / 498.5 MB, free: 140 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.1228, allocations: 15.94 kB / 498.5 MB, free: 124 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.1228, allocations: 19.91 kB / 498.5 MB, free: 104 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/0.1229, allocations: 47.72 kB / 498.5 MB, free: 56 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.1231, allocations: 103.5 kB / 498.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1231, allocations: 0 / 498.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1231, allocations: 4 kB / 498.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1231, allocations: 0 / 498.6 MB, free: 15.95 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009268/0.124, allocations: 385.5 kB / 499 MB, free: 15.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.1241, allocations: 11.97 kB / 499 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.1241, allocations: 24.78 kB / 499.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1245, allocations: 187.1 kB / 499.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1245, allocations: 4.375 kB / 499.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.1245, allocations: 384 / 499.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1246, allocations: 75.7 kB / 499.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1246, allocations: 0 / 499.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1246, allocations: 0 / 499.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1247, allocations: 0 / 499.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.1247, allocations: 27.92 kB / 499.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.1252, allocations: 232.6 kB / 499.6 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.1255, allocations: 66.53 kB / 499.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.222e-05/0.1256, allocations: 16.86 kB / 499.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.1256, allocations: 0 / 499.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1256, allocations: 34.56 kB / 499.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1256, allocations: 0 / 499.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002409/0.1258, allocations: 77.53 kB / 499.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.1259, allocations: 51.41 kB / 499.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.1262, allocations: 231.8 kB / 0.4883 GB, free: 14.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1262, allocations: 25.7 kB / 0.4883 GB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1263, allocations: 120.1 kB / 0.4885 GB, free: 14.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.464e-05/0.1263, allocations: 11.91 kB / 0.4885 GB, free: 14.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.1264, allocations: 17.72 kB / 0.4885 GB, free: 14.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.1265, allocations: 326.8 kB / 0.4888 GB, free: 13.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.1266, allocations: 12 kB / 0.4888 GB, free: 13.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/0.1266, allocations: 12 kB / 0.4888 GB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.534e-05/0.1267, allocations: 32.78 kB / 0.4889 GB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1267, allocations: 0 / 0.4889 GB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001269/0.1268, allocations: 69.55 kB / 0.4889 GB, free: 13.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1268, allocations: 4 kB / 0.4889 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1268, allocations: 7.984 kB / 0.4889 GB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1268, allocations: 0 / 0.4889 GB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.127, allocations: 19.98 kB / 0.489 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.127, allocations: 0 / 0.489 GB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.1271, allocations: 7.938 kB / 0.489 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1271, allocations: 0 / 0.489 GB, free: 13.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001079/0.1272, allocations: 117.8 kB / 0.4891 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.1272, allocations: 19.84 kB / 0.4891 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.741e-05/0.1273, allocations: 17.02 kB / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1273, allocations: 0 / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1273, allocations: 0 / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1273, allocations: 3.938 kB / 0.4891 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.1275, allocations: 153.2 kB / 0.4893 GB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1275, allocations: 3.938 kB / 0.4893 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.1276, allocations: 15.98 kB / 0.4893 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1276, allocations: 192 / 0.4893 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1276, allocations: 192 / 0.4893 GB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.1276, allocations: 7.984 kB / 0.4893 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1276, allocations: 0 / 0.4893 GB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.1278, allocations: 163.4 kB / 0.4894 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1278, allocations: 23.83 kB / 0.4895 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.1279, allocations: 0 / 0.4895 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.128, allocations: 8 kB / 0.4895 GB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.311e-05/0.1281, allocations: 7.984 kB / 0.4895 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.1281, allocations: 4 kB / 0.4895 GB, free: 13.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.1283, allocations: 177.5 kB / 0.4897 GB, free: 12.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1283, allocations: 3.938 kB / 0.4897 GB, free: 12.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1285, allocations: 20 kB / 0.4897 GB, free: 12.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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 9.44e-05/0.1286, allocations: 91.25 kB / 0.4898 GB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.1288, allocations: 23.98 kB / 0.4898 GB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1288, allocations: 0 / 0.4898 GB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.1288, allocations: 15.98 kB / 0.4898 GB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1292, allocations: 23.94 kB / 0.4898 GB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.13, allocations: 297.3 kB / 0.4901 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.823e-05/0.1301, allocations: 98.02 kB / 0.4902 GB, free: 12.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.172e-05/0.1301, allocations: 4.438 kB / 0.4902 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.1302, allocations: 19.42 kB / 0.4902 GB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1302, allocations: 0 / 0.4902 GB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.004928/0.1351, allocations: 1.593 MB / 0.4918 GB, free: 10.74 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f MagLev_MagLev.Examples.SteadyStateCharacteristic.makefile [Timeout 660] (rm -f MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; mkfifo MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; head -c 1048576 < MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe >> ../files/MagLev_MagLev.Examples.SteadyStateCharacteristic.sim & ./MagLev_MagLev.Examples.SteadyStateCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.575215013697743] Failed to read output from testmodel.py, exit status != 0: 0.1433778814971447 0.160891015 0.034438074 Calling exit ...