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.001395/0.001395, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.001488/0.001488, allocations: 166.9 kB / 22.46 MB, free: 5.355 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.49/1.49, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.04743/0.04743, allocations: 3.198 MB / 262.4 MB, free: 13.53 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: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 386.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.886e-05, allocations: 2.281 kB / 386.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.003987/0.004015, allocations: 1.573 MB / 388.5 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.006001, allocations: 0.8252 MB / 389.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.006139, allocations: 0 / 389.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008081/0.006947, allocations: 153.8 kB / 389.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.007201, allocations: 59.61 kB / 389.5 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.616e-05/0.007268, allocations: 11.97 kB / 389.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.007537, allocations: 147.2 kB / 389.7 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.007595, allocations: 5.312 kB / 389.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.00778, allocations: 79.75 kB / 389.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.00798, allocations: 55.8 kB / 389.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.008035, allocations: 12 kB / 389.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.008073, allocations: 8 kB / 389.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.429e-05/0.008127, allocations: 27.84 kB / 389.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.008213, allocations: 39.84 kB / 389.9 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.008429, allocations: 91.64 kB / 390 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.008431, allocations: 0 / 390 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.008432, allocations: 0 / 390 MB, free: 12.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.008438, allocations: 0 / 390 MB, free: 12.36 MB / 318.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.001132/0.009569, allocations: 389.5 kB / 390.3 MB, free: 11.95 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.009616, allocations: 12.03 kB / 390.4 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.733e-05/0.009694, allocations: 16.83 kB / 390.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.01006, allocations: 190.4 kB / 390.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.01007, allocations: 4.375 kB / 390.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.01009, allocations: 384 / 390.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.01026, allocations: 75.95 kB / 390.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.01027, allocations: 8.125 kB / 390.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.01028, allocations: 384 / 390.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.0103, allocations: 7.938 kB / 390.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.202e-05/0.01039, allocations: 19.92 kB / 390.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.01093, allocations: 240.6 kB / 390.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.01134, allocations: 50.61 kB / 391 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.0114, allocations: 20.84 kB / 391 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.01141, allocations: 0 / 391 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.01145, allocations: 38.44 kB / 391 MB, free: 11.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.01145, allocations: 4 kB / 391 MB, free: 11.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003015/0.01175, allocations: 69.59 kB / 391.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.01181, allocations: 55.41 kB / 391.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.01222, allocations: 231.9 kB / 391.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.01225, allocations: 29.7 kB / 391.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.01237, allocations: 112.1 kB / 391.5 MB, free: 10.65 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.0124, allocations: 15.84 kB / 391.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/0.01245, allocations: 17.72 kB / 391.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.01265, allocations: 326.8 kB / 391.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.134e-05/0.0127, allocations: 7.984 kB / 391.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.01274, allocations: 19.94 kB / 391.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.747e-05/0.01282, allocations: 24.86 kB / 391.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01283, allocations: 0 / 391.9 MB, free: 10.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001973/0.01302, allocations: 73.59 kB / 392 MB, free: 10.15 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.01304, allocations: 10.75 kB / 392 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01305, allocations: 0 / 392 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.01306, allocations: 3.938 kB / 392 MB, free: 10.14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.01323, allocations: 15.98 kB / 392 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.01324, allocations: 0 / 392 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.0134, allocations: 3.984 kB / 392 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01342, allocations: 4 kB / 392 MB, free: 10.12 MB / 318.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.0001258/0.01354, allocations: 122.4 kB / 392.1 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.927e-05/0.01361, allocations: 15.84 kB / 392.2 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.01366, allocations: 21.02 kB / 392.2 MB, free: 9.953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.01367, allocations: 4 kB / 392.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.01367, allocations: 192 / 392.2 MB, free: 9.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.01368, allocations: 4 kB / 392.2 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.01395, allocations: 137.3 kB / 392.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01395, allocations: 0 / 392.3 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.0141, allocations: 11.98 kB / 392.3 MB, free: 9.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.0141, allocations: 3.938 kB / 392.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01412, allocations: 7.938 kB / 392.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.01412, allocations: 4 kB / 392.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.01412, allocations: 0 / 392.3 MB, free: 9.754 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.01438, allocations: 175.5 kB / 392.5 MB, free: 9.566 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.01444, allocations: 15.89 kB / 392.5 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.573e-05/0.01449, allocations: 7.938 kB / 392.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.01472, allocations: 0 / 392.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.01474, allocations: 7.984 kB / 392.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.01475, allocations: 0 / 392.5 MB, free: 9.535 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.01503, allocations: 177.5 kB / 392.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01503, allocations: 0 / 392.7 MB, free: 9.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.01545, allocations: 28 kB / 392.7 MB, free: 9.336 MB / 318.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 0.0001268/0.01558, allocations: 91.25 kB / 392.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000157/0.01573, allocations: 27.98 kB / 392.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01573, allocations: 0 / 392.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.686e-05/0.01578, allocations: 11.94 kB / 392.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.01631, allocations: 23.77 kB / 392.9 MB, free: 9.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.01731, allocations: 277.5 kB / 393.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.01742, allocations: 89.88 kB / 393.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.174e-05/0.01751, allocations: 12.48 kB / 393.3 MB, free: 8.758 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.485e-05/0.01758, allocations: 16.48 kB / 393.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.01758, allocations: 0 / 393.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of Templates: time 0.006104/0.02369, allocations: 1.469 MB / 394.8 MB, free: 7.281 MB / 318.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.39572474732995] Failed to read output from testmodel.py, exit status != 0: 0.03445778042078018 0.054715657 0.042088383 Calling exit ...