Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.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.002008/0.002008, allocations: 73.33 kB / 19.93 MB, free: 1.77 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.00314/0.00314, allocations: 173.8 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 158.6 MB / 185 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2358/0.2358, allocations: 32.39 MB / 269.6 MB, free: 4.648 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.82e-06/4.82e-06, allocations: 4 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.275e-05/4.757e-05, allocations: 6.281 kB / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.002009/0.002057, allocations: 494.9 kB / 407.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.005275, allocations: 1.267 MB / 409.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.005292, allocations: 0 / 409.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.005309, allocations: 0 / 409.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.284e-06/0.005317, allocations: 0 / 409.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.00746, allocations: 0.584 MB / 409.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.716e-05/0.007517, allocations: 0 / 409.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.00756, allocations: 8 kB / 409.7 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.007595, allocations: 3.938 kB / 409.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.432e-05/0.007619, allocations: 3.938 kB / 409.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.007627, allocations: 0 / 409.7 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01922/0.02685, allocations: 2.542 MB / 412.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.02686, allocations: 0 / 412.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.0269, allocations: 4 kB / 412.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.02753, allocations: 199.6 kB / 412.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.02753, allocations: 0 / 412.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.02754, allocations: 0 / 412.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.02754, allocations: 0 / 412.4 MB, free: 14.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004921/0.02803, allocations: 307.8 kB / 412.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.02808, allocations: 8.031 kB / 412.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.383e-05/0.02814, allocations: 0.9375 kB / 412.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.02826, allocations: 105.8 kB / 412.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.02828, allocations: 384 / 412.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.02829, allocations: 384 / 412.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.02843, allocations: 67.95 kB / 412.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.02844, allocations: 192 / 412.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.02845, allocations: 4.125 kB / 412.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.02846, allocations: 0 / 412.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.503e-05/0.0285, allocations: 33.64 kB / 412.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.02866, allocations: 93.33 kB / 413 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.905e-05/0.02874, allocations: 44.31 kB / 413.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.02877, allocations: 30.56 kB / 413.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.02879, allocations: 3.938 kB / 413.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.963e-05/0.02886, allocations: 68.31 kB / 413.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.02886, allocations: 4 kB / 413.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002732/0.02913, allocations: 114.8 kB / 413.3 MB, free: 13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.02921, allocations: 81.05 kB / 413.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.02928, allocations: 93.84 kB / 413.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.0293, allocations: 29.7 kB / 413.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.02935, allocations: 80.14 kB / 413.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.02937, allocations: 0 / 413.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.874e-05/0.02941, allocations: 13.72 kB / 413.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.02958, allocations: 314.8 kB / 413.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.373e-05/0.02961, allocations: 29.7 kB / 413.9 MB, free: 12.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.506e-05/0.02964, allocations: 29.83 kB / 413.9 MB, free: 12.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/0.02971, allocations: 64.27 kB / 414 MB, free: 12.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.02971, allocations: 0 / 414 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.02984, allocations: 93.03 kB / 414.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.02988, allocations: 29.7 kB / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02989, allocations: 0 / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.0299, allocations: 0 / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-06/0.02991, allocations: 4 kB / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.02992, allocations: 3.938 kB / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.02994, allocations: 96 / 414.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.02995, allocations: 4 kB / 414.1 MB, free: 12.04 MB / 350.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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000133/0.03008, allocations: 145.7 kB / 414.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/0.03009, allocations: 0 / 414.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.531e-05/0.03011, allocations: 3 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.03011, allocations: 0 / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.03012, allocations: 3.938 kB / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.03012, allocations: 0 / 414.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.03023, allocations: 101.3 kB / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.03023, allocations: 3.984 kB / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.03023, allocations: 0 / 414.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.03023, allocations: 8 kB / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.03024, allocations: 0 / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.03024, allocations: 0 / 414.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.03025, allocations: 7.984 kB / 414.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.03041, allocations: 128.3 kB / 414.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.03042, allocations: 3.953 kB / 414.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.03043, allocations: 0 / 414.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.808e-06/0.03044, allocations: 0 / 414.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.03046, allocations: 4 kB / 414.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.03047, allocations: 3.938 kB / 414.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.03051, allocations: 79.31 kB / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.03051, allocations: 0 / 414.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.03089, allocations: 71.8 kB / 414.7 MB, free: 11.41 MB / 350.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001303/0.03219, allocations: 413.6 kB / 415.1 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.03237, allocations: 118.7 kB / 415.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.03237, allocations: 3.938 kB / 415.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.364e-05/0.03243, allocations: 85.11 kB / 415.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.03258, allocations: 0 / 415.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.03286, allocations: 98.77 kB / 415.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.509e-05/0.03292, allocations: 63.28 kB / 415.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.995e-06/0.03293, allocations: 4.125 kB / 415.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.03296, allocations: 12.5 kB / 415.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.03296, allocations: 0 / 415.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of Templates: time 0.007358/0.04032, allocations: 2.132 MB / 417.6 MB, free: 8.395 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestStrings.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.28322583809495] Failed to read output from testmodel.py, exit status != 0: 0.05127900838851929 0.070069034 0.038942132000000004 Calling exit ...