Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0007626/0.0007626, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.001862, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006948/0.0006948, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009025/0.001597, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9943/0.9943, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0917/1.086, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04094/0.04094, allocations: 9.781 MB / 253.8 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006177/0.04712, allocations: 3.476 MB / 257.2 MB, free: 2.113 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 258.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/1.987e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002202/0.002222, allocations: 1.657 MB / 260.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.00262, allocations: 263 kB / 260.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.002668, allocations: 0 / 260.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.002696, allocations: 7.875 kB / 260.4 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.285e-05/0.002759, allocations: 27.8 kB / 260.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.00293, allocations: 63.8 kB / 260.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.003059, allocations: 99.7 kB / 260.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.754e-05/0.003156, allocations: 26.2 kB / 260.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.003257, allocations: 76.5 kB / 260.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.165e-05/0.003319, allocations: 31.89 kB / 260.7 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.003336, allocations: 8 kB / 260.7 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.003422, allocations: 35.97 kB / 260.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.003441, allocations: 15.94 kB / 260.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.003471, allocations: 27.88 kB / 260.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.003608, allocations: 79.67 kB / 260.9 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.003623, allocations: 4 kB / 260.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003624, allocations: 0 / 260.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.003638, allocations: 0 / 260.9 MB, free: 14.41 MB / 266.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.0004773/0.004115, allocations: 343.9 kB / 261.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.004147, allocations: 12.03 kB / 261.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.004184, allocations: 16.86 kB / 261.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.004326, allocations: 141.6 kB / 261.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.004338, allocations: 8.375 kB / 261.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.004363, allocations: 16.3 kB / 261.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.004506, allocations: 82.91 kB / 261.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.004514, allocations: 192 / 261.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.004524, allocations: 3.938 kB / 261.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.00453, allocations: 0 / 261.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.004566, allocations: 19.92 kB / 261.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003283/0.004894, allocations: 216.1 kB / 261.7 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.664e-05/0.004991, allocations: 62.47 kB / 261.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.005022, allocations: 32.8 kB / 261.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.005032, allocations: 0 / 261.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/0.005151, allocations: 91.33 kB / 261.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.005152, allocations: 0 / 261.9 MB, free: 13.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001528/0.005305, allocations: 97.34 kB / 262 MB, free: 13.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.005343, allocations: 51.41 kB / 262.1 MB, free: 13.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.005447, allocations: 164 kB / 262.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.005468, allocations: 33.7 kB / 262.3 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.005523, allocations: 104.1 kB / 262.4 MB, free: 12.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.005556, allocations: 43.67 kB / 262.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.0056, allocations: 37.64 kB / 262.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.005706, allocations: 330.8 kB / 262.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.005725, allocations: 12 kB / 262.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.443e-05/0.00577, allocations: 64.91 kB / 262.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.005838, allocations: 89.83 kB / 262.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.005841, allocations: 4 kB / 262.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 9.81e-05/0.005939, allocations: 109.4 kB / 263 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005952, allocations: 8 kB / 263 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.005959, allocations: 4 kB / 263.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.00597, allocations: 4 kB / 263.1 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001493/0.006119, allocations: 43.97 kB / 263.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.006124, allocations: 7.922 kB / 263.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.006159, allocations: 12.14 kB / 263.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.006167, allocations: 12 kB / 263.1 MB, free: 11.98 MB / 266.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 6.993e-05/0.006237, allocations: 125.7 kB / 263.3 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.006252, allocations: 11.98 kB / 263.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.006285, allocations: 13.47 kB / 263.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.006288, allocations: 7.938 kB / 263.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.00629, allocations: 0 / 263.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.006295, allocations: 3.984 kB / 263.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.006502, allocations: 254.4 kB / 263.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.006503, allocations: 0 / 263.5 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.006577, allocations: 23.98 kB / 263.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.006589, allocations: 15.91 kB / 263.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.006591, allocations: 0 / 263.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.006602, allocations: 4 kB / 263.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.006603, allocations: 0 / 263.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.006604, allocations: 0 / 263.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.006747, allocations: 203.4 kB / 263.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.006762, allocations: 3.984 kB / 263.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.82e-05/0.006801, allocations: 8 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.00683, allocations: 7.984 kB / 263.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.006836, allocations: 8.016 kB / 263.8 MB, free: 11.26 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.263e-05/0.006869, allocations: 49.73 kB / 263.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006869, allocations: 0 / 263.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001473/0.007016, allocations: 27.94 kB / 263.9 MB, free: 11.18 MB / 266.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.0001139/0.00713, allocations: 99.3 kB / 264 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.67e-05/0.007227, allocations: 60.77 kB / 264 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.007236, allocations: 4 kB / 264 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.606e-05/0.007282, allocations: 41.14 kB / 264.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.007447, allocations: 39.7 kB / 264.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.008006, allocations: 280.9 kB / 264.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.897e-05/0.008045, allocations: 67.8 kB / 264.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.301e-05/0.008088, allocations: 21.42 kB / 264.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.005e-05/0.008148, allocations: 71.36 kB / 264.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008149, allocations: 0 / 264.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of Templates: time 0.00321/0.01136, allocations: 1.589 MB / 266.1 MB, free: 8.898 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4439926501363516]