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.001376/0.001376, 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.001516/0.001516, 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 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.531/1.531, allocations: 207.7 MB / 233.1 MB, free: 9.781 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.05355/0.05355, allocations: 8.197 MB / 293.5 MB, free: 13.46 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.002384/0.002384, allocations: 76.61 kB / 410.9 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09502, allocations: 50.93 MB / 461.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector): time 0.001846/0.09687, allocations: 400.3 kB / 462.2 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004009/0.09727, allocations: 71.83 kB / 462.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.582e-05/0.09728, allocations: 0 / 462.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.0973, allocations: 3.938 kB / 462.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.464e-06/0.09731, allocations: 0 / 462.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.09783, allocations: 55.92 kB / 462.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.0979, allocations: 15.98 kB / 462.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.703e-05/0.09797, allocations: 11.92 kB / 462.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.09801, allocations: 19.91 kB / 462.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.09811, allocations: 27.97 kB / 462.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.09813, allocations: 4 kB / 462.4 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.09829, allocations: 23.98 kB / 462.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.09831, allocations: 3.984 kB / 462.5 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.09834, allocations: 7.984 kB / 462.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.09848, allocations: 31.84 kB / 462.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.09848, allocations: 0 / 462.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09848, allocations: 0 / 462.5 MB, free: 12.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.0985, allocations: 4 kB / 462.5 MB, free: 12.15 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.000368/0.09886, allocations: 238.4 kB / 462.7 MB, free: 11.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.09891, allocations: 15.98 kB / 462.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.09894, allocations: 0.9375 kB / 462.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.09905, allocations: 110.5 kB / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.09906, allocations: 4.375 kB / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.09909, allocations: 384 / 462.9 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.09921, allocations: 38.19 kB / 462.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.09923, allocations: 4.125 kB / 462.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.09924, allocations: 3.938 kB / 462.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.09925, allocations: 0 / 462.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.712e-05/0.09929, allocations: 15.98 kB / 462.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000161/0.09946, allocations: 93.33 kB / 463 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.09966, allocations: 38.59 kB / 463 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.09969, allocations: 20.92 kB / 463.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.542e-05/0.09972, allocations: 0 / 463.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.09977, allocations: 38.5 kB / 463.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.09977, allocations: 0 / 463.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001791/0.09995, allocations: 53.61 kB / 463.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1, allocations: 51.41 kB / 463.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.1001, allocations: 89.86 kB / 463.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1001, allocations: 25.7 kB / 463.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.1001, allocations: 84.14 kB / 463.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1002, allocations: 11.91 kB / 463.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.1002, allocations: 21.7 kB / 463.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1004, allocations: 310.8 kB / 463.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.165e-05/0.1004, allocations: 16.8 kB / 463.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.1004, allocations: 25.64 kB / 463.8 MB, free: 10.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.074e-05/0.1005, allocations: 22.12 kB / 463.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1005, allocations: 0 / 463.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.974e-05/0.1006, allocations: 57.62 kB / 463.9 MB, free: 10.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1006, allocations: 4 kB / 463.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.1006, allocations: 0 / 463.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1006, allocations: 8.031 kB / 463.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.685e-05/0.1007, allocations: 11.92 kB / 463.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1007, allocations: 0 / 463.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.396e-05/0.1007, allocations: 4 kB / 463.9 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.1007, allocations: 4 kB / 463.9 MB, free: 10.57 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.0001857/0.1009, allocations: 109.8 kB / 464 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.645e-06/0.1009, allocations: 4 kB / 464 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001652/0.1011, allocations: 65.14 kB / 464.1 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1011, allocations: 7.938 kB / 464.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1011, allocations: 0 / 464.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1011, allocations: 0 / 464.1 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001247/0.1012, allocations: 109.2 kB / 464.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1012, allocations: 0 / 464.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.789e-05/0.1012, allocations: 4 kB / 464.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1012, allocations: 0 / 464.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1013, allocations: 0 / 464.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1013, allocations: 4 kB / 464.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1013, allocations: 11.88 kB / 464.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1014, allocations: 85.41 kB / 464.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-06/0.1014, allocations: 0 / 464.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1014, allocations: 4.031 kB / 464.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.037e-05/0.1014, allocations: 0 / 464.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.1015, allocations: 7.922 kB / 464.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1015, allocations: 8 kB / 464.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.877e-05/0.1016, allocations: 75.28 kB / 464.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1016, allocations: 0 / 464.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002066/0.1018, allocations: 8 kB / 464.4 MB, free: 10 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.0002107/0.102, allocations: 115.3 kB / 464.5 MB, free: 9.879 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1021, allocations: 23.86 kB / 464.5 MB, free: 9.855 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.1021, allocations: 4 kB / 464.5 MB, free: 9.852 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.669e-05/0.1021, allocations: 7.984 kB / 464.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1023, allocations: 2.656 kB / 464.5 MB, free: 9.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.1026, allocations: 117.5 kB / 464.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.278e-05/0.1027, allocations: 59.34 kB / 464.7 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.3e-05/0.1027, allocations: 8.062 kB / 464.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.1027, allocations: 11.44 kB / 464.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1027, allocations: 0 / 464.7 MB, free: 9.609 MB / 334.1 MB Notification: Performance of Templates: time 0.003116/0.1059, allocations: 435.9 kB / 465.1 MB, free: 9.188 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 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Functions.Interpolation.IntegrateInterpolatedVector.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.651462621986866] Failed to read output from testmodel.py, exit status != 0: 0.11423382721841335 0.130959713 0.029175603 Calling exit ...