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.00139/0.00139, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001536/0.001536, allocations: 221.8 kB / 23 MB, free: 4.918 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.03509/0.03509, allocations: 4.295 MB / 317.5 MB, free: 14.64 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.002102/0.002102, allocations: 67.89 kB / 441.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1192, allocations: 54.46 MB / 496.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.003199/0.1224, allocations: 1.558 MB / 497.9 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.124, allocations: 0.8194 MB / 498.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.394e-05/0.124, allocations: 0 / 498.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.1246, allocations: 149.7 kB / 498.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.1247, allocations: 67.61 kB / 498.9 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.213e-05/0.1247, allocations: 3.984 kB / 498.9 MB, free: 460 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.125, allocations: 143.4 kB / 499.1 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.125, allocations: 9.25 kB / 499.1 MB, free: 308 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.1251, allocations: 51.78 kB / 499.1 MB, free: 256 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1252, allocations: 63.62 kB / 499.2 MB, free: 192 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.1253, allocations: 15.98 kB / 499.2 MB, free: 176 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.654e-05/0.1253, allocations: 8 kB / 499.2 MB, free: 168 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.484e-05/0.1253, allocations: 23.91 kB / 499.3 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.395e-05/0.1254, allocations: 51.66 kB / 499.3 MB, free: 92 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1256, allocations: 107.5 kB / 499.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1256, allocations: 0 / 499.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1256, allocations: 0 / 499.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1256, allocations: 4 kB / 499.4 MB, free: 15.98 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.0008756/0.1265, allocations: 385.5 kB / 499.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1265, allocations: 12.02 kB / 499.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.1266, allocations: 16.84 kB / 499.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1268, allocations: 187.1 kB / 500 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1269, allocations: 384 / 0.4883 GB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1269, allocations: 8.375 kB / 0.4883 GB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.127, allocations: 71.7 kB / 0.4884 GB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.127, allocations: 0 / 0.4884 GB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.127, allocations: 0 / 0.4884 GB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.127, allocations: 0 / 0.4884 GB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.175e-05/0.1271, allocations: 27.92 kB / 0.4884 GB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000433/0.1275, allocations: 244.6 kB / 0.4886 GB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.1278, allocations: 54.55 kB / 0.4887 GB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.1279, allocations: 12.86 kB / 0.4887 GB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1279, allocations: 4 kB / 0.4887 GB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1279, allocations: 34.5 kB / 0.4887 GB, free: 14.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1279, allocations: 0 / 0.4887 GB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002319/0.1282, allocations: 69.59 kB / 0.4888 GB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.1282, allocations: 63.33 kB / 0.4888 GB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1285, allocations: 231.8 kB / 0.4891 GB, free: 14.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.1285, allocations: 33.7 kB / 0.4891 GB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1286, allocations: 112.1 kB / 0.4892 GB, free: 14.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1286, allocations: 15.91 kB / 0.4892 GB, free: 14.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.1287, allocations: 21.7 kB / 0.4892 GB, free: 14.24 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1288, allocations: 322.8 kB / 0.4895 GB, free: 13.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.1289, allocations: 8 kB / 0.4896 GB, free: 13.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.1289, allocations: 8 kB / 0.4896 GB, free: 13.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.129, allocations: 44.91 kB / 0.4896 GB, free: 13.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.129, allocations: 0 / 0.4896 GB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001175/0.1291, allocations: 73.53 kB / 0.4897 GB, free: 13.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1291, allocations: 6.656 kB / 0.4897 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1291, allocations: 4 kB / 0.4897 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1291, allocations: 0 / 0.4897 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1293, allocations: 15.98 kB / 0.4897 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1293, allocations: 0 / 0.4897 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1294, allocations: 7.938 kB / 0.4897 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1294, allocations: 4 kB / 0.4897 GB, free: 13.74 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.0001071/0.1295, allocations: 121.7 kB / 0.4898 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.1295, allocations: 11.91 kB / 0.4898 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.1296, allocations: 17.02 kB / 0.4899 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1296, allocations: 0 / 0.4899 GB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.1296, allocations: 8 kB / 0.4899 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1296, allocations: 0 / 0.4899 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1298, allocations: 137.3 kB / 0.49 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.1298, allocations: 3.938 kB / 0.49 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1299, allocations: 15.98 kB / 0.49 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1299, allocations: 0 / 0.49 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1299, allocations: 3.984 kB / 0.49 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1299, allocations: 0 / 0.49 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1299, allocations: 0 / 0.49 GB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1301, allocations: 159.6 kB / 0.4902 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.1302, allocations: 27.86 kB / 0.4902 GB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1302, allocations: 8 kB / 0.4902 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1303, allocations: 7.922 kB / 0.4902 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.1304, allocations: 4 kB / 0.4902 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.1304, allocations: 7.938 kB / 0.4902 GB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.1306, allocations: 177.5 kB / 0.4904 GB, free: 12.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1306, allocations: 0 / 0.4904 GB, free: 12.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1308, allocations: 16 kB / 0.4904 GB, free: 12.97 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 0.0001099/0.1309, allocations: 103.2 kB / 0.4905 GB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.131, allocations: 23.98 kB / 0.4905 GB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.131, allocations: 4 kB / 0.4905 GB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.283e-05/0.1311, allocations: 19.92 kB / 0.4906 GB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1315, allocations: 20.06 kB / 0.4906 GB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008948/0.1324, allocations: 331 kB / 0.4909 GB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.585e-05/0.1325, allocations: 102 kB / 0.491 GB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.1325, allocations: 15.42 kB / 0.491 GB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1325, allocations: 0 / 0.491 GB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.0038/0.1363, allocations: 1.433 MB / 0.4924 GB, free: 10.86 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: 6.873056116048247] Failed to read output from testmodel.py, exit status != 0: 0.14482256677001715 0.160887983 0.032050413 Calling exit ...