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.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.0007978/0.0007978, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007804/0.0007804, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 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 0.8531/0.8531, allocations: 177.1 MB / 203.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03202/0.03202, allocations: 8.6 MB / 268.5 MB, free: 5.117 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.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(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 1.893e-06/1.893e-06, allocations: 3.938 kB / 396.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.603e-05, allocations: 5.375 kB / 396.3 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002/0.002026, allocations: 1.573 MB / 397.9 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004466/0.002473, allocations: 243.1 kB / 398.1 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.975e-05/0.002532, allocations: 4 kB / 398.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.002569, allocations: 7.875 kB / 398.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.002657, allocations: 23.8 kB / 398.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.002923, allocations: 71.8 kB / 398.2 MB, free: 15.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.003072, allocations: 103.6 kB / 398.4 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.003182, allocations: 17.62 kB / 398.4 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.003245, allocations: 59.81 kB / 398.4 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.211e-05/0.003307, allocations: 35.83 kB / 398.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.003325, allocations: 8 kB / 398.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.205e-05/0.003387, allocations: 31.98 kB / 398.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.003415, allocations: 35.84 kB / 398.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.003448, allocations: 31.89 kB / 398.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.003613, allocations: 123.5 kB / 398.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003615, allocations: 0 / 398.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.003616, allocations: 0 / 398.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.00362, allocations: 0 / 398.7 MB, free: 14.62 MB / 330.7 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.0004938/0.004114, allocations: 349.6 kB / 399 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.004151, allocations: 8.031 kB / 399 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.004194, allocations: 16.84 kB / 399.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.004348, allocations: 149.6 kB / 399.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.00436, allocations: 8.375 kB / 399.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.004385, allocations: 8.359 kB / 399.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.004533, allocations: 82.22 kB / 399.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.004543, allocations: 4.125 kB / 399.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.004557, allocations: 12.36 kB / 399.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004562, allocations: 384 / 399.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.672e-05/0.004639, allocations: 47.92 kB / 399.4 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.005063, allocations: 308.3 kB / 399.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.005207, allocations: 98.58 kB / 399.8 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.005272, allocations: 56.83 kB / 399.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.005284, allocations: 3.938 kB / 399.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.005431, allocations: 103.3 kB / 399.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.005432, allocations: 3.938 kB / 399.9 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000285/0.005717, allocations: 185.6 kB / 400.1 MB, free: 13.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.005752, allocations: 55.41 kB / 400.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.005857, allocations: 175.2 kB / 400.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.005871, allocations: 29.7 kB / 400.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.879e-05/0.00593, allocations: 120.1 kB / 400.5 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.005954, allocations: 39.69 kB / 400.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.005991, allocations: 33.72 kB / 400.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.082e-05/0.006071, allocations: 330.8 kB / 400.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.624e-05/0.006118, allocations: 27.98 kB / 400.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.00619, allocations: 92.5 kB / 401 MB, free: 12.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.006302, allocations: 125.2 kB / 401.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.006306, allocations: 4 kB / 401.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001517/0.006458, allocations: 161.4 kB / 401.3 MB, free: 11.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.00647, allocations: 8 kB / 401.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.006477, allocations: 0 / 401.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.006496, allocations: 7.938 kB / 401.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.836e-05/0.006594, allocations: 27.98 kB / 401.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.0066, allocations: 0 / 401.3 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.198e-05/0.006642, allocations: 19.89 kB / 401.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.006652, allocations: 4 kB / 401.3 MB, free: 11.75 MB / 330.7 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.000102/0.006754, allocations: 130.4 kB / 401.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.006768, allocations: 19.94 kB / 401.5 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.006799, allocations: 17.47 kB / 401.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.006804, allocations: 7.984 kB / 401.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.00681, allocations: 4 kB / 401.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.006813, allocations: 0 / 401.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.007096, allocations: 374.1 kB / 401.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007098, allocations: 0 / 401.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/0.007152, allocations: 19.98 kB / 401.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007154, allocations: 0 / 401.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.007163, allocations: 4 kB / 401.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.007166, allocations: 8 kB / 401.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007166, allocations: 0 / 401.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.007421, allocations: 302.4 kB / 402.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.299e-05/0.007434, allocations: 11.94 kB / 402.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.007451, allocations: 4 kB / 402.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.007489, allocations: 7.984 kB / 402.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.506e-05/0.007524, allocations: 7.984 kB / 402.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.007532, allocations: 8 kB / 402.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.026e-05/0.007593, allocations: 120.9 kB / 402.4 MB, free: 10.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007593, allocations: 4.062 kB / 402.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001843/0.007777, allocations: 31.94 kB / 402.4 MB, free: 10.63 MB / 330.7 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.0001202/0.007897, allocations: 119.1 kB / 402.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.008058, allocations: 95.83 kB / 402.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.00806, allocations: 0 / 402.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.38e-05/0.008124, allocations: 47.92 kB / 402.7 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.008352, allocations: 40.17 kB / 402.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.008856, allocations: 311.7 kB / 403 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.776e-05/0.008913, allocations: 89.81 kB / 403.1 MB, free: 9.887 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.008943, allocations: 16.5 kB / 403.1 MB, free: 9.867 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.008944, allocations: 0 / 403.1 MB, free: 9.867 MB / 330.7 MB Notification: Performance of Templates: time 0.002357/0.0113, allocations: 1.723 MB / 404.8 MB, free: 8.145 MB / 330.7 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: 4.438939587213099] Failed to read output from testmodel.py, exit status != 0: 0.016165150329470634 0.17353032200000001 0.167615081 Calling exit ...