Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001394/0.001394, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.002065/0.002065, allocations: 167 kB / 22.46 MB, free: 5.379 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.194/1.194, allocations: 154.5 MB / 413.7 MB, free: 5.293 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") translateModel(IDEAS.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.6185 GB, free: 4.609 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.666e-05/3.843e-05, allocations: 5.125 kB / 0.6185 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegratorWithReset): time 0.003603/0.003641, allocations: 1.781 MB / 0.6203 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004876, allocations: 0.5547 MB / 0.6208 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.004987, allocations: 7.938 kB / 0.6208 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.005134, allocations: 23.67 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.327e-05/0.005217, allocations: 31.72 kB / 0.6209 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.005455, allocations: 67.84 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.005737, allocations: 179.4 kB / 0.6211 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.005893, allocations: 33.78 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.006023, allocations: 83.78 kB / 0.6212 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.00609, allocations: 39.88 kB / 0.6213 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.006127, allocations: 12 kB / 0.6213 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.978e-05/0.006147, allocations: 8 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.006194, allocations: 27.86 kB / 0.6213 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.006256, allocations: 43.84 kB / 0.6213 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.006464, allocations: 135.4 kB / 0.6215 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006467, allocations: 0 / 0.6215 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.006469, allocations: 0 / 0.6215 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.006481, allocations: 0 / 0.6215 GB, free: 1.582 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.0008055/0.007287, allocations: 435.1 kB / 0.6219 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.007327, allocations: 9.469 kB / 0.6219 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.868e-05/0.007386, allocations: 20.84 kB / 0.6219 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.007719, allocations: 173.4 kB / 0.6221 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.007735, allocations: 12.38 kB / 0.6221 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.485e-05/0.00777, allocations: 16.33 kB / 0.6221 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.008083, allocations: 138.5 kB / 0.6222 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.008096, allocations: 8.125 kB / 0.6223 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.008113, allocations: 4.375 kB / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.008122, allocations: 7.938 kB / 0.6223 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002582/0.00838, allocations: 71.88 kB / 0.6223 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.009348, allocations: 0.6454 MB / 0.623 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.009509, allocations: 50.55 kB / 0.623 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.009621, allocations: 36.81 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.009646, allocations: 7.938 kB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002493/0.009895, allocations: 122.9 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.009896, allocations: 0 / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0005238/0.01042, allocations: 165.6 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.01052, allocations: 136.5 kB / 0.6235 GB, free: 15.35 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.01072, allocations: 194.9 kB / 0.6236 GB, free: 15.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.01075, allocations: 29.7 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.01085, allocations: 127.9 kB / 0.6238 GB, free: 14.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.01089, allocations: 31.91 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.01096, allocations: 45.64 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.01111, allocations: 326.8 kB / 0.6242 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.01124, allocations: 39.97 kB / 0.6242 GB, free: 14.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.01145, allocations: 154.4 kB / 0.6244 GB, free: 14.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.01181, allocations: 198.4 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.01181, allocations: 4 kB / 0.6246 GB, free: 14.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004394/0.01225, allocations: 209.1 kB / 0.6248 GB, free: 13.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.01227, allocations: 6.344 kB / 0.6248 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.01228, allocations: 4 kB / 0.6248 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.01231, allocations: 8.234 kB / 0.6248 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.01244, allocations: 36.42 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.01245, allocations: 11.94 kB / 0.6248 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.01259, allocations: 23.88 kB / 0.6248 GB, free: 13.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.01261, allocations: 15.98 kB / 0.6249 GB, free: 13.77 MB / 0.545 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.0001303/0.01274, allocations: 134.8 kB / 0.625 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.01277, allocations: 23.78 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.487e-05/0.01284, allocations: 21.45 kB / 0.625 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.01284, allocations: 0 / 0.625 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.01285, allocations: 4 kB / 0.625 GB, free: 13.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01285, allocations: 3.938 kB / 0.625 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.01363, allocations: 465.5 kB / 0.6255 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01363, allocations: 0 / 0.6255 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.01375, allocations: 15.98 kB / 0.6255 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01375, allocations: 0 / 0.6255 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.01377, allocations: 4 kB / 0.6255 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01377, allocations: 0 / 0.6255 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.01377, allocations: 7.938 kB / 0.6255 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.01434, allocations: 352.3 kB / 0.6258 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.01437, allocations: 19.84 kB / 0.6259 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.0144, allocations: 4 kB / 0.6259 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.01457, allocations: 12.03 kB / 0.6259 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.01464, allocations: 19.91 kB / 0.6259 GB, free: 12.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.01465, allocations: 4 kB / 0.6259 GB, free: 12.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001186/0.01477, allocations: 141.3 kB / 0.626 GB, free: 12.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.01477, allocations: 3.938 kB / 0.626 GB, free: 12.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003397/0.01511, allocations: 35.95 kB / 0.6261 GB, free: 12.45 MB / 0.545 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.0001704/0.01528, allocations: 99.19 kB / 0.6262 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003562/0.01563, allocations: 112.6 kB / 0.6263 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01564, allocations: 0 / 0.6263 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.01579, allocations: 52.09 kB / 0.6263 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.0164, allocations: 66.52 kB / 0.6264 GB, free: 12.13 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007094/0.01711, allocations: 324.6 kB / 0.6267 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.01725, allocations: 116.4 kB / 0.6268 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.272e-05/0.01732, allocations: 21.98 kB / 0.6268 GB, free: 11.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.01737, allocations: 24.5 kB / 0.6269 GB, free: 11.6 MB / 0.545 GB Notification: Performance of SimCode: time 5.31e-07/0.01737, allocations: 0 / 0.6269 GB, free: 11.6 MB / 0.545 GB Notification: Performance of Templates: time 0.006165/0.02354, allocations: 2.102 MB / 0.6289 GB, free: 9.562 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.875900134444237] Failed to read output from testmodel.py, exit status != 0: 0.03220953419804573 0.046766938 0.037281978 Calling exit ...