Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06137/0.06137, allocations: 11.34 MB / 314.7 MB, free: 0.8398 MB / 238.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.88 kB / 438.5 MB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3138, allocations: 54.82 MB / 493.3 MB, free: 24.11 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.004258/0.3181, allocations: 1.61 MB / 494.9 MB, free: 22.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.319, allocations: 254.8 kB / 495.2 MB, free: 22.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.3191, allocations: 1.594 kB / 495.2 MB, free: 22.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.101e-05/0.3192, allocations: 8.484 kB / 495.2 MB, free: 22.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.3193, allocations: 20.7 kB / 495.2 MB, free: 22.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.3199, allocations: 77.06 kB / 495.3 MB, free: 22.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.3202, allocations: 101.9 kB / 495.4 MB, free: 22.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.3204, allocations: 18.73 kB / 495.4 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.84e-05/0.3205, allocations: 36 kB / 495.4 MB, free: 22.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.3206, allocations: 54.64 kB / 495.5 MB, free: 22.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.3207, allocations: 10 kB / 495.5 MB, free: 22.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.3208, allocations: 33.28 kB / 495.5 MB, free: 22.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.597e-05/0.3208, allocations: 25.5 kB / 495.6 MB, free: 22.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.518e-05/0.3209, allocations: 52.8 kB / 495.6 MB, free: 22.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.3213, allocations: 109.4 kB / 495.7 MB, free: 22.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3213, allocations: 5.188 kB / 495.7 MB, free: 22.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3213, allocations: 4 kB / 495.7 MB, free: 22.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.3213, allocations: 0.8438 kB / 495.7 MB, free: 22.52 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007943/0.3221, allocations: 422.7 kB / 496.1 MB, free: 22.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.3221, allocations: 13.64 kB / 496.1 MB, free: 22.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.703e-05/0.3222, allocations: 15.36 kB / 496.2 MB, free: 22.1 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.3225, allocations: 215 kB / 496.4 MB, free: 21.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.3225, allocations: 3.938 kB / 496.4 MB, free: 21.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.3225, allocations: 10.55 kB / 496.4 MB, free: 21.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003132/0.3229, allocations: 95.03 kB / 496.5 MB, free: 21.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3229, allocations: 4.125 kB / 496.5 MB, free: 21.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.3229, allocations: 9.719 kB / 496.5 MB, free: 21.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.3229, allocations: 2.156 kB / 496.5 MB, free: 21.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.3231, allocations: 45.42 kB / 496.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008177/0.3239, allocations: 384 kB / 496.9 MB, free: 21.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002993/0.3242, allocations: 101 kB / 497 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.3244, allocations: 53.64 kB / 497.1 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3244, allocations: 1.375 kB / 497.1 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003435/0.3247, allocations: 123.1 kB / 497.2 MB, free: 21.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.3247, allocations: 0 / 497.2 MB, free: 21.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005551/0.3253, allocations: 179.8 kB / 497.4 MB, free: 21.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3253, allocations: 54.86 kB / 497.4 MB, free: 21.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3255, allocations: 168.3 kB / 497.6 MB, free: 21.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3255, allocations: 27.84 kB / 497.6 MB, free: 21.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.3256, allocations: 109.6 kB / 497.7 MB, free: 20.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.3256, allocations: 51.34 kB / 497.8 MB, free: 20.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.3257, allocations: 34.69 kB / 497.8 MB, free: 20.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.3257, allocations: 330.4 kB / 498.1 MB, free: 20.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.3258, allocations: 36.27 kB / 498.2 MB, free: 20.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3259, allocations: 78.16 kB / 498.2 MB, free: 20.44 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.3261, allocations: 125 kB / 498.4 MB, free: 20.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3261, allocations: 0 / 498.4 MB, free: 20.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003068/0.3264, allocations: 166.4 kB / 498.5 MB, free: 20.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3265, allocations: 6.656 kB / 498.5 MB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3265, allocations: 1.562 kB / 498.5 MB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.3265, allocations: 2.906 kB / 498.5 MB, free: 20.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/0.3267, allocations: 33.59 kB / 498.6 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3267, allocations: 3.406 kB / 498.6 MB, free: 20.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.111e-05/0.3268, allocations: 17.2 kB / 498.6 MB, free: 20.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.3268, allocations: 6.25 kB / 498.6 MB, free: 20.24 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001044/0.3269, allocations: 128.9 kB / 498.7 MB, free: 20.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.3269, allocations: 14.95 kB / 498.7 MB, free: 20.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.327, allocations: 22.53 kB / 498.8 MB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.327, allocations: 2.062 kB / 498.8 MB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.327, allocations: 0 / 498.8 MB, free: 20.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.327, allocations: 4.828 kB / 498.8 MB, free: 20.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.3276, allocations: 435.7 kB / 499.2 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3276, allocations: 0.5625 kB / 499.2 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.3278, allocations: 16.52 kB / 499.2 MB, free: 19.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3278, allocations: 5.25 kB / 499.2 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.3278, allocations: 2.344 kB / 499.2 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3278, allocations: 1.656 kB / 499.2 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3278, allocations: 5.281 kB / 499.2 MB, free: 19.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.3283, allocations: 295.2 kB / 499.5 MB, free: 19.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.3284, allocations: 91.33 kB / 499.6 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.536e-05/0.3284, allocations: 5.719 kB / 499.6 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3285, allocations: 4.141 kB / 499.6 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.3286, allocations: 10.58 kB / 499.6 MB, free: 19.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3286, allocations: 10.61 kB / 499.6 MB, free: 19.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.3287, allocations: 124.4 kB / 499.7 MB, free: 19.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3287, allocations: 3.938 kB / 499.7 MB, free: 19.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004211/0.3292, allocations: 29.75 kB / 499.8 MB, free: 19.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001705/0.3293, allocations: 125.8 kB / 499.9 MB, free: 19.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003356/0.3297, allocations: 99.7 kB / 500 MB, free: 19.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3297, allocations: 0 / 500 MB, free: 19.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3298, allocations: 51.17 kB / 0.4883 GB, free: 19.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.3303, allocations: 30.27 kB / 0.4884 GB, free: 19.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.3312, allocations: 311.5 kB / 0.4887 GB, free: 18.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.3313, allocations: 0.7041 MB / 0.4893 GB, free: 18.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.957e-05/0.3314, allocations: 16.84 kB / 0.4894 GB, free: 18.22 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3314, allocations: 0 / 0.4894 GB, free: 18.22 MB / 366.1 MB Notification: Performance of Templates: time 0.004745/0.3361, allocations: 1.685 MB / 0.491 GB, free: 17.42 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.859745706897229] Failed to read output from testmodel.py, exit status != 0: 0.34516699612140656 0.356629744 0.032906080000000004 Calling exit ...