Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.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.00129/0.00129, allocations: 77.86 kB / 19.76 MB, free: 2.031 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.00206/0.00206, allocations: 163.8 kB / 23.01 MB, free: 4.945 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.353/1.353, 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.0504/0.0504, allocations: 6.422 MB / 243.4 MB, free: 12.71 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.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") translateModel(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector") [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.002573/0.002573, allocations: 76.53 kB / 360.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1022, allocations: 50.91 MB / 411.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001761/0.104, allocations: 405.1 kB / 412.1 MB, free: 7.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003327/0.1043, allocations: 63.8 kB / 412.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.319e-05/0.1043, allocations: 0 / 412.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.246e-05/0.1044, allocations: 0 / 412.1 MB, free: 7.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.993e-06/0.1044, allocations: 3.938 kB / 412.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.1048, allocations: 67.59 kB / 412.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.507e-05/0.1049, allocations: 19.98 kB / 412.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.105, allocations: 4 kB / 412.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.105, allocations: 15.97 kB / 412.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.865e-05/0.1051, allocations: 27.91 kB / 412.3 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1051, allocations: 4 kB / 412.3 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.1053, allocations: 31.97 kB / 412.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.1053, allocations: 3.984 kB / 412.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.1053, allocations: 0 / 412.3 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.1054, allocations: 23.97 kB / 412.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1054, allocations: 0 / 412.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1054, allocations: 0 / 412.3 MB, free: 7.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1054, allocations: 4 kB / 412.4 MB, free: 7.508 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.0003551/0.1058, allocations: 250.3 kB / 412.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.1058, allocations: 15.98 kB / 412.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.1059, allocations: 0.9375 kB / 412.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.458e-05/0.106, allocations: 106.5 kB / 412.7 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.106, allocations: 384 / 412.7 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.106, allocations: 4.375 kB / 412.7 MB, free: 7.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.1061, allocations: 46.17 kB / 412.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1061, allocations: 192 / 412.8 MB, free: 7.031 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1061, allocations: 3.938 kB / 412.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1061, allocations: 0 / 412.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.1062, allocations: 8 kB / 412.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.1063, allocations: 101.3 kB / 412.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.1065, allocations: 30.61 kB / 412.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.1065, allocations: 20.84 kB / 412.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.1066, allocations: 4 kB / 412.9 MB, free: 6.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1066, allocations: 30.56 kB / 413 MB, free: 6.785 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1066, allocations: 0 / 413 MB, free: 6.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001484/0.1068, allocations: 53.62 kB / 413 MB, free: 6.727 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.1068, allocations: 51.41 kB / 413.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.532e-05/0.1069, allocations: 93.86 kB / 413.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1069, allocations: 25.7 kB / 413.2 MB, free: 6.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.1069, allocations: 80.14 kB / 413.3 MB, free: 6.449 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.44e-05/0.107, allocations: 19.89 kB / 413.3 MB, free: 6.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.107, allocations: 13.72 kB / 413.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1072, allocations: 315.3 kB / 413.6 MB, free: 6.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.1072, allocations: 16.78 kB / 413.6 MB, free: 6.074 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.1072, allocations: 13.72 kB / 413.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.1073, allocations: 37.64 kB / 413.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1073, allocations: 0 / 413.7 MB, free: 6.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.207e-05/0.1074, allocations: 57.62 kB / 413.7 MB, free: 5.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1074, allocations: 4 kB / 413.7 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1074, allocations: 0 / 413.7 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1074, allocations: 0 / 413.7 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.019e-05/0.1074, allocations: 11.94 kB / 413.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1075, allocations: 0 / 413.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.1075, allocations: 7.938 kB / 413.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1075, allocations: 7.938 kB / 413.8 MB, free: 5.918 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.0001544/0.1076, allocations: 117.8 kB / 413.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.084e-05/0.1077, allocations: 8.031 kB / 413.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.1078, allocations: 57.47 kB / 413.9 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1078, allocations: 3.984 kB / 413.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1078, allocations: 7.984 kB / 413.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1078, allocations: 4 kB / 413.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.416e-05/0.1079, allocations: 97.31 kB / 414 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1079, allocations: 4 kB / 414 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/0.1079, allocations: 15.98 kB / 414.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1079, allocations: 0 / 414.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.108, allocations: 0 / 414.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.108, allocations: 0 / 414.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.108, allocations: 7.938 kB / 414.1 MB, free: 5.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.1081, allocations: 73.06 kB / 414.1 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.1081, allocations: 3.984 kB / 414.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1081, allocations: 8.031 kB / 414.2 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.1081, allocations: 4 kB / 414.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.1081, allocations: 3.938 kB / 414.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.1081, allocations: 4.062 kB / 414.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.148e-05/0.1082, allocations: 79.28 kB / 414.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1082, allocations: 0 / 414.2 MB, free: 5.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001997/0.1084, allocations: 8 kB / 414.2 MB, free: 5.352 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.0001425/0.1085, allocations: 107.2 kB / 414.4 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 8.736e-05/0.1086, allocations: 23.92 kB / 414.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1086, allocations: 0 / 414.4 MB, free: 5.211 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.688e-05/0.1086, allocations: 8 kB / 414.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.1088, allocations: 0 / 414.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.109, allocations: 113.7 kB / 414.5 MB, free: 5.066 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.1091, allocations: 63.34 kB / 414.6 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.835e-05/0.1091, allocations: 4 kB / 414.6 MB, free: 4.98 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.1091, allocations: 16.5 kB / 414.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1091, allocations: 3.938 kB / 414.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of Templates: time 0.002786/0.1119, allocations: 440.2 kB / 415 MB, free: 4.535 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe >> ../files/ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.sim & ./ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.160958272987045] Failed to read output from testmodel.py, exit status != 0: 0.11982702696695924 0.13668219099999995 0.028049009000000003 Calling exit ...