Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.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.00183/0.00183, 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.002481/0.002481, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.533/1.533, allocations: 207.7 MB / 233.1 MB, free: 9.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.08831/0.08831, allocations: 8.195 MB / 293.5 MB, free: 13.49 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/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(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") translateModel(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002321/0.002321, allocations: 74.5 kB / 410.9 MB, free: 46.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08908/0.0914, allocations: 50.94 MB / 461.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment): time 0.001685/0.09309, allocations: 392.5 kB / 462.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001657/0.09326, allocations: 15.98 kB / 462.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.09327, allocations: 4 kB / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.09329, allocations: 0 / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.943e-06/0.09329, allocations: 0 / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.09344, allocations: 0 / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 4.494e-05/0.09348, allocations: 0 / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.09354, allocations: 11.98 kB / 462.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.09356, allocations: 3.984 kB / 462.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.09361, allocations: 0 / 462.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.09362, allocations: 3.938 kB / 462.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-06/0.09363, allocations: 3.938 kB / 462.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.09365, allocations: 0 / 462.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.09367, allocations: 4 kB / 462.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 5.67e-05/0.09373, allocations: 0 / 462.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.09373, allocations: 3.938 kB / 462.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.09373, allocations: 0 / 462.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.09374, allocations: 0 / 462.3 MB, free: 12.4 MB / 334.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.0003307/0.09407, allocations: 242.5 kB / 462.5 MB, free: 12.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.09411, allocations: 11.98 kB / 462.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.09413, allocations: 4.938 kB / 462.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.111e-05/0.09423, allocations: 102.5 kB / 462.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.09424, allocations: 384 / 462.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.09425, allocations: 384 / 462.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.3e-05/0.09435, allocations: 34.27 kB / 462.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.09436, allocations: 192 / 462.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.09436, allocations: 3.938 kB / 462.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.09437, allocations: 0 / 462.7 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.743e-05/0.09439, allocations: 7.938 kB / 462.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.09463, allocations: 109.3 kB / 462.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.09468, allocations: 14.58 kB / 462.8 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.0947, allocations: 12.95 kB / 462.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.09471, allocations: 0 / 462.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.09474, allocations: 30.56 kB / 462.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.09474, allocations: 0 / 462.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001442/0.09488, allocations: 45.56 kB / 462.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.09492, allocations: 51.41 kB / 462.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.979e-05/0.09497, allocations: 89.98 kB / 463 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.09499, allocations: 29.7 kB / 463 MB, free: 11.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.09502, allocations: 80.14 kB / 463.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.09505, allocations: 15.83 kB / 463.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.09508, allocations: 13.72 kB / 463.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.09522, allocations: 310.8 kB / 463.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.61e-05/0.09524, allocations: 7.984 kB / 463.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.09525, allocations: 4 kB / 463.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.884e-05/0.09528, allocations: 8.859 kB / 463.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.09528, allocations: 0 / 463.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.757e-05/0.09533, allocations: 45.7 kB / 463.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.09535, allocations: 4 kB / 463.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.09535, allocations: 4 kB / 463.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.09536, allocations: 0 / 463.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.602e-05/0.09539, allocations: 3.938 kB / 463.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.0954, allocations: 7.984 kB / 463.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.139e-05/0.09541, allocations: 0 / 463.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.09541, allocations: 0 / 463.5 MB, free: 10.96 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.081e-05/0.09549, allocations: 105.8 kB / 463.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-06/0.0955, allocations: 0 / 463.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.738e-05/0.09552, allocations: 18.92 kB / 463.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.09552, allocations: 7.922 kB / 463.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.09553, allocations: 0 / 463.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.09553, allocations: 0 / 463.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.09564, allocations: 105.3 kB / 463.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.09565, allocations: 0 / 463.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.09567, allocations: 4 kB / 463.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.09567, allocations: 0 / 463.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.09568, allocations: 0 / 463.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.09568, allocations: 0 / 463.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.09568, allocations: 3.938 kB / 463.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.09579, allocations: 65.06 kB / 463.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.09579, allocations: 8.031 kB / 463.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-06/0.0958, allocations: 0 / 463.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.139e-05/0.09581, allocations: 0 / 463.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.09583, allocations: 3.938 kB / 463.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.09583, allocations: 0 / 463.9 MB, free: 10.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.448e-05/0.09586, allocations: 79.28 kB / 463.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09586, allocations: 0 / 463.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001888/0.09605, allocations: 3.938 kB / 463.9 MB, free: 10.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001134/0.09616, allocations: 95.34 kB / 464 MB, free: 10.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.55e-05/0.09625, allocations: 15.92 kB / 464 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.09625, allocations: 0 / 464 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.751e-06/0.09626, allocations: 0 / 464 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.09639, allocations: 8 kB / 464.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002858/0.09667, allocations: 93.61 kB / 464.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.509e-05/0.09673, allocations: 55.36 kB / 464.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.988e-05/0.09675, allocations: 0 / 464.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.898e-05/0.09678, allocations: 15.56 kB / 464.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.09678, allocations: 0 / 464.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Templates: time 0.002368/0.09914, allocations: 200.6 kB / 464.4 MB, free: 9.969 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; mkfifo ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe >> ../files/ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.sim & ./ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.BasicEquations.SimpleExample.FirstOrderExperiment.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.712524885311723] Failed to read output from testmodel.py, exit status != 0: 0.106963150203228 0.122889647 0.025935475000000003 Calling exit ...