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.0009361/0.0009361, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0009476/0.0009476, allocations: 169.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8931/0.8931, allocations: 158.6 MB / 185.7 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1376/0.1376, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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 1.393e-06/1.393e-06, allocations: 0 / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.2e-05, allocations: 5.516 kB / 408.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0009298/0.0009518, allocations: 0.495 MB / 408.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.002439, allocations: 1.263 MB / 409.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.367e-05/0.002452, allocations: 4 kB / 409.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.436e-05/0.002467, allocations: 0 / 409.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.002472, allocations: 0 / 409.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.003401, allocations: 0.5723 MB / 410.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.003444, allocations: 0 / 410.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.188e-05/0.003476, allocations: 4 kB / 410.4 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.003503, allocations: 11.92 kB / 410.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.84e-05/0.003521, allocations: 0 / 410.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.003528, allocations: 4 kB / 410.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006046/0.009575, allocations: 2.527 MB / 413 MB, free: 8.223 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.009583, allocations: 4 kB / 413 MB, free: 8.219 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.009603, allocations: 0 / 413 MB, free: 8.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.00986, allocations: 203.6 kB / 413.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.009862, allocations: 0 / 413.2 MB, free: 8.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.009864, allocations: 3.984 kB / 413.2 MB, free: 8.016 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.009868, allocations: 0 / 413.2 MB, free: 8.016 MB / 346.7 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.0002607/0.01013, allocations: 307.8 kB / 413.5 MB, free: 7.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.01016, allocations: 8.031 kB / 413.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.01019, allocations: 4.922 kB / 413.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.566e-05/0.01025, allocations: 109.8 kB / 413.6 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.01026, allocations: 4.375 kB / 413.6 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.01026, allocations: 384 / 413.6 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.663e-05/0.01034, allocations: 59.95 kB / 413.6 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.01035, allocations: 192 / 413.6 MB, free: 7.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.01036, allocations: 4.125 kB / 413.7 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.01036, allocations: 0 / 413.7 MB, free: 7.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.876e-05/0.01038, allocations: 25.7 kB / 413.7 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.983e-05/0.01046, allocations: 105.3 kB / 413.8 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.0105, allocations: 48.22 kB / 413.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.01052, allocations: 34.66 kB / 413.9 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.01053, allocations: 0 / 413.9 MB, free: 7.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.01056, allocations: 60.25 kB / 413.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.01056, allocations: 0 / 413.9 MB, free: 7.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.01071, allocations: 114.8 kB / 414 MB, free: 6.977 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.01075, allocations: 88.98 kB / 414.1 MB, free: 6.871 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.78e-05/0.01078, allocations: 93.84 kB / 414.2 MB, free: 6.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.01079, allocations: 29.83 kB / 414.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.725e-05/0.01081, allocations: 80.14 kB / 414.3 MB, free: 6.652 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.01082, allocations: 0 / 414.3 MB, free: 6.652 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.025e-05/0.01084, allocations: 13.72 kB / 414.3 MB, free: 6.633 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.01091, allocations: 310.8 kB / 414.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.01092, allocations: 29.7 kB / 414.7 MB, free: 6.285 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.174e-05/0.01094, allocations: 29.7 kB / 414.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/0.01097, allocations: 60.27 kB / 414.8 MB, free: 6.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01097, allocations: 0 / 414.8 MB, free: 6.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.626e-05/0.01102, allocations: 89.16 kB / 414.8 MB, free: 6.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.01104, allocations: 37.73 kB / 414.9 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01105, allocations: 3.938 kB / 414.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.01106, allocations: 0 / 414.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.01106, allocations: 0 / 414.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01106, allocations: 7.875 kB / 414.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.037e-05/0.01107, allocations: 4 kB / 414.9 MB, free: 6.012 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.01108, allocations: 3.984 kB / 414.9 MB, free: 6.008 MB / 346.7 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 5.254e-05/0.01113, allocations: 131.5 kB / 415 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-06/0.01113, allocations: 4 kB / 415 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.735e-06/0.01114, allocations: 3 kB / 415 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.01114, allocations: 4 kB / 415 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01115, allocations: 3.938 kB / 415 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.01115, allocations: 0 / 415 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.426e-05/0.01119, allocations: 105.3 kB / 415.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-07/0.0112, allocations: 0 / 415.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-07/0.0112, allocations: 0 / 415.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.51e-07/0.0112, allocations: 0 / 415.1 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.0112, allocations: 3.938 kB / 415.1 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.91e-07/0.0112, allocations: 0 / 415.1 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.0112, allocations: 0 / 415.1 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.563e-05/0.01127, allocations: 128.4 kB / 415.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-06/0.01127, allocations: 7.953 kB / 415.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.01128, allocations: 0 / 415.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.088e-06/0.01128, allocations: 0 / 415.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/0.01129, allocations: 0 / 415.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.0113, allocations: 7.938 kB / 415.3 MB, free: 5.539 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.664e-05/0.01131, allocations: 75.28 kB / 415.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01131, allocations: 0 / 415.4 MB, free: 5.465 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001739/0.01149, allocations: 71.8 kB / 415.4 MB, free: 5.395 MB / 346.7 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.0004754/0.01196, allocations: 417.6 kB / 415.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.589e-05/0.01205, allocations: 118.7 kB / 416 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.01205, allocations: 8.062 kB / 416 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.01207, allocations: 77.11 kB / 416 MB, free: 4.734 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.772e-05/0.01216, allocations: 4 kB / 416 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001551/0.01232, allocations: 132.4 kB / 416.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.162e-05/0.01235, allocations: 63.28 kB / 416.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.239e-05/0.01236, allocations: 8.5 kB / 416.2 MB, free: 4.473 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.01236, allocations: 0 / 416.2 MB, free: 4.473 MB / 346.7 MB Notification: Performance of Templates: time 0.002297/0.01466, allocations: 2.017 MB / 418.3 MB, free: 2.453 MB / 346.7 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: 4.961106923408806] Failed to read output from testmodel.py, exit status != 0: 0.019409218803048134 0.027041978 0.015550494000000002 Calling exit ...