Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.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.001416/0.001416, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001776/0.001776, allocations: 211.3 kB / 22.24 MB, free: 4.859 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8985/0.8985, allocations: 134 MB / 446.4 MB, free: 9.918 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.08 kB / 0.619 GB, free: 6.379 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1916, allocations: 85.91 MB / 0.7029 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003705/0.1953, allocations: 1.783 MB / 0.7046 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1967, allocations: 0.5455 MB / 0.7051 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1969, allocations: 3.938 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.197, allocations: 27.73 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.89e-05/0.1971, allocations: 35.66 kB / 0.7052 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.1973, allocations: 67.8 kB / 0.7053 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002976/0.1976, allocations: 175.5 kB / 0.7054 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.1978, allocations: 37.73 kB / 0.7055 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1979, allocations: 55.78 kB / 0.7055 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.289e-05/0.198, allocations: 55.62 kB / 0.7056 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.751e-05/0.198, allocations: 12 kB / 0.7056 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 2.489e-05/0.198, allocations: 8 kB / 0.7056 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1981, allocations: 31.86 kB / 0.7056 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.538e-05/0.1982, allocations: 47.67 kB / 0.7057 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.1984, allocations: 135.4 kB / 0.7058 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1984, allocations: 0 / 0.7058 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1984, allocations: 4 kB / 0.7058 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.1984, allocations: 3.938 kB / 0.7058 GB, free: 13.52 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009242/0.1993, allocations: 435 kB / 0.7062 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1994, allocations: 12.03 kB / 0.7062 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/0.1995, allocations: 16.84 kB / 0.7063 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.1998, allocations: 170.2 kB / 0.7064 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1999, allocations: 12.38 kB / 0.7064 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.1999, allocations: 16.33 kB / 0.7064 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.2003, allocations: 150.2 kB / 0.7066 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2003, allocations: 0 / 0.7066 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.2003, allocations: 7.984 kB / 0.7066 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.2003, allocations: 4 kB / 0.7066 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002583/0.2006, allocations: 67.89 kB / 0.7067 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.2017, allocations: 0.6532 MB / 0.7073 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.2019, allocations: 46.5 kB / 0.7073 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.202, allocations: 32.83 kB / 0.7074 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.202, allocations: 0 / 0.7074 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/0.2023, allocations: 126.9 kB / 0.7075 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2023, allocations: 4 kB / 0.7075 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.000538/0.2029, allocations: 169.3 kB / 0.7077 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.203, allocations: 132.5 kB / 0.7078 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.2034, allocations: 187.4 kB / 0.708 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2034, allocations: 29.7 kB / 0.708 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.2037, allocations: 136 kB / 0.7081 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.2037, allocations: 39.69 kB / 0.7082 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.2038, allocations: 45.95 kB / 0.7082 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002985/0.2041, allocations: 326.8 kB / 0.7085 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.2042, allocations: 39.91 kB / 0.7086 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.2045, allocations: 140.3 kB / 0.7087 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.2049, allocations: 210.4 kB / 0.7089 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2049, allocations: 7.938 kB / 0.7089 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004189/0.2054, allocations: 201.6 kB / 0.7091 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.2054, allocations: 12.06 kB / 0.7091 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2054, allocations: 4 kB / 0.7091 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2054, allocations: 7.938 kB / 0.7091 GB, free: 9.793 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.2055, allocations: 31.97 kB / 0.7091 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2056, allocations: 7.938 kB / 0.7092 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.2057, allocations: 23.94 kB / 0.7092 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.2057, allocations: 12.25 kB / 0.7092 GB, free: 9.719 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001375/0.2059, allocations: 139.6 kB / 0.7093 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.906e-05/0.2059, allocations: 15.91 kB / 0.7093 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.2059, allocations: 25.39 kB / 0.7094 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.2059, allocations: 8 kB / 0.7094 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.206, allocations: 0 / 0.7094 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.206, allocations: 4 kB / 0.7094 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007618/0.2067, allocations: 453.2 kB / 0.7098 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2067, allocations: 0 / 0.7098 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.2068, allocations: 19.92 kB / 0.7098 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2068, allocations: 4 kB / 0.7098 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.2069, allocations: 4 kB / 0.7098 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2069, allocations: 4 kB / 0.7098 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2069, allocations: 0 / 0.7098 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.2076, allocations: 362.7 kB / 0.7102 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.2076, allocations: 23.88 kB / 0.7102 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.2076, allocations: 4 kB / 0.7102 GB, free: 8.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2078, allocations: 11.98 kB / 0.7102 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.2078, allocations: 19.92 kB / 0.7102 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.2079, allocations: 7.984 kB / 0.7102 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001108/0.208, allocations: 128.4 kB / 0.7104 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.208, allocations: 0 / 0.7104 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000339/0.2083, allocations: 31.95 kB / 0.7104 GB, free: 8.41 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001751/0.2085, allocations: 99.23 kB / 0.7105 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.2088, allocations: 112.1 kB / 0.7106 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2088, allocations: 0 / 0.7106 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.209, allocations: 51.84 kB / 0.7106 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007267/0.2097, allocations: 65.03 kB / 0.7107 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.2104, allocations: 369.4 kB / 0.7111 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.2107, allocations: 116.1 kB / 0.7112 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.822e-05/0.2107, allocations: 13.48 kB / 0.7112 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.2108, allocations: 15.44 kB / 0.7112 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.2108, allocations: 4 kB / 0.7112 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of Templates: time 0.006609/0.2174, allocations: 2.245 MB / 0.7134 GB, free: 5.344 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9323292803019285] Failed to read output from testmodel.py, exit status != 0: 0.22552309930324554 0.24370504299999995 0.041627388 Calling exit ...