Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.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.001383/0.001383, allocations: 83.81 kB / 19.76 MB, free: 2.016 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.001444/0.001444, allocations: 154.2 kB / 23.01 MB, free: 4.973 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.383/1.383, allocations: 158.6 MB / 184.8 MB, free: 6.191 MB / 174.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.04846/0.04846, allocations: 6.422 MB / 243.4 MB, free: 12.72 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.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector") [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.002258/0.002258, allocations: 83.86 kB / 360.8 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1144, allocations: 50.9 MB / 411.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector): time 0.001768/0.1162, allocations: 425.1 kB / 412.1 MB, free: 7.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 9.403e-05/0.1163, allocations: 35.83 kB / 412.1 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.671e-05/0.1163, allocations: 3.938 kB / 412.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1164, allocations: 0 / 412.1 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.1165, allocations: 23.97 kB / 412.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.27e-05/0.1166, allocations: 7.938 kB / 412.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.1166, allocations: 23.97 kB / 412.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.1167, allocations: 3.984 kB / 412.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.1167, allocations: 15.98 kB / 412.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.1168, allocations: 35.89 kB / 412.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.1168, allocations: 0 / 412.2 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.792e-05/0.1168, allocations: 4 kB / 412.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.1168, allocations: 0 / 412.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.1169, allocations: 8 kB / 412.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.322e-05/0.1169, allocations: 19.91 kB / 412.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1169, allocations: 0 / 412.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1169, allocations: 0 / 412.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.1169, allocations: 0 / 412.3 MB, free: 7.602 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003013/0.1173, allocations: 242.4 kB / 412.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1173, allocations: 19.98 kB / 412.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1173, allocations: 0.9375 kB / 412.5 MB, free: 7.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1174, allocations: 102.5 kB / 412.6 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1174, allocations: 4.375 kB / 412.6 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1175, allocations: 4.359 kB / 412.6 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.666e-05/0.1176, allocations: 42.19 kB / 412.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.1176, allocations: 192 / 412.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1176, allocations: 3.938 kB / 412.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1176, allocations: 0 / 412.7 MB, free: 7.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.821e-05/0.1176, allocations: 4 kB / 412.7 MB, free: 7.125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.1177, allocations: 105.3 kB / 412.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.1179, allocations: 34.58 kB / 412.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.475e-05/0.1179, allocations: 16.89 kB / 412.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1179, allocations: 0 / 412.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.118, allocations: 30.56 kB / 412.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.118, allocations: 0 / 412.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001401/0.1181, allocations: 53.58 kB / 412.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.1182, allocations: 55.41 kB / 413 MB, free: 6.766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.547e-05/0.1182, allocations: 93.86 kB / 413.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1182, allocations: 25.83 kB / 413.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.1183, allocations: 84.14 kB / 413.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.1183, allocations: 15.88 kB / 413.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1184, allocations: 17.72 kB / 413.2 MB, free: 6.508 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1185, allocations: 311.3 kB / 413.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.1185, allocations: 20.73 kB / 413.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.804e-05/0.1186, allocations: 17.7 kB / 413.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.1186, allocations: 25.66 kB / 413.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1186, allocations: 0 / 413.6 MB, free: 6.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.782e-05/0.1187, allocations: 57.58 kB / 413.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1187, allocations: 8.031 kB / 413.6 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1187, allocations: 0 / 413.6 MB, free: 6.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1187, allocations: 3.938 kB / 413.6 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.562e-05/0.1188, allocations: 8 kB / 413.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1188, allocations: 0 / 413.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.681e-05/0.1188, allocations: 4 kB / 413.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1188, allocations: 7.984 kB / 413.7 MB, free: 6.023 MB / 334.1 MB Warning: Assuming fixed start value for the following 1 variables: z:VARIABLE(fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001388/0.1189, allocations: 105.8 kB / 413.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.778e-06/0.1189, allocations: 0 / 413.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.005e-05/0.119, allocations: 19.8 kB / 413.8 MB, free: 5.887 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.119, allocations: 7.938 kB / 413.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.119, allocations: 0 / 413.8 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.119, allocations: 3.984 kB / 413.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.416e-05/0.1191, allocations: 97.33 kB / 413.9 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1191, allocations: 3.984 kB / 413.9 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.1191, allocations: 4 kB / 413.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1191, allocations: 0 / 413.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.1191, allocations: 0 / 413.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1191, allocations: 0 / 413.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1191, allocations: 7.938 kB / 413.9 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.1192, allocations: 81.11 kB / 414 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.1193, allocations: 0 / 414 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.1193, allocations: 3.984 kB / 414 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.1193, allocations: 0 / 414 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.1193, allocations: 7.938 kB / 414 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.1193, allocations: 3.938 kB / 414 MB, free: 5.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.732e-05/0.1193, allocations: 75.28 kB / 414.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1193, allocations: 0 / 414.1 MB, free: 5.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.1195, allocations: 8 kB / 414.1 MB, free: 5.539 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (z) * 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 (3): * Single equations (assignments): 3 * 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.000224/0.1198, allocations: 130.9 kB / 414.2 MB, free: 5.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.403e-05/0.1198, allocations: 19.94 kB / 414.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1198, allocations: 0 / 414.2 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.488e-05/0.1199, allocations: 7.938 kB / 414.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.12, allocations: 6.328 kB / 414.3 MB, free: 5.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.1202, allocations: 113.5 kB / 414.4 MB, free: 5.238 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.592e-05/0.1203, allocations: 55.42 kB / 414.4 MB, free: 5.164 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.568e-05/0.1203, allocations: 11.98 kB / 414.4 MB, free: 5.152 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.1203, allocations: 8.5 kB / 414.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1203, allocations: 0 / 414.4 MB, free: 5.145 MB / 334.1 MB Notification: Performance of Templates: time 0.002737/0.1231, allocations: 465.8 kB / 414.9 MB, free: 4.699 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedExternalVector.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.216038190992549] Failed to read output from testmodel.py, exit status != 0: 0.13033962703775615 0.146583038 0.026471520000000002 Calling exit ...