Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001581, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001616/0.001616, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 230.3 MB / 258 MB, free: 8.266 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2197/0.2197, allocations: 46.89 MB / 361.3 MB, free: 4.461 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying")
translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 79.86 kB / 0.497 GB, free: 7.625 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3437, allocations: 66.03 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001669/0.3454, allocations: 0.5225 MB / 0.562 GB, free: 4.117 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0005118/0.3459, allocations: 231.3 kB / 0.5622 GB, free: 3.891 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.3459, allocations: 0 / 0.5622 GB, free: 3.891 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.346, allocations: 3.984 kB / 0.5623 GB, free: 3.887 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.3461, allocations: 4 kB / 0.5623 GB, free: 3.883 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.3464, allocations: 51.81 kB / 0.5623 GB, free: 3.832 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 7.741e-05/0.3464, allocations: 23.92 kB / 0.5623 GB, free: 3.809 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.3465, allocations: 0 / 0.5623 GB, free: 3.809 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.34e-05/0.3465, allocations: 11.98 kB / 0.5623 GB, free: 3.797 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.3466, allocations: 23.92 kB / 0.5624 GB, free: 3.773 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.3466, allocations: 4 kB / 0.5624 GB, free: 3.77 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3467, allocations: 55.92 kB / 0.5624 GB, free: 3.715 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.3468, allocations: 15.98 kB / 0.5624 GB, free: 3.699 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.3468, allocations: 15.88 kB / 0.5624 GB, free: 3.684 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.347, allocations: 82.17 kB / 0.5625 GB, free: 3.609 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.347, allocations: 3.938 kB / 0.5625 GB, free: 3.605 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.347, allocations: 0 / 0.5625 GB, free: 3.605 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.26e-06/0.347, allocations: 0 / 0.5625 GB, free: 3.605 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 16
 * Number of variables: 16
Notification: Performance of Generate backend data structure: time 0.0004855/0.3475, allocations: 274.2 kB / 0.5628 GB, free: 3.305 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.3475, allocations: 8.031 kB / 0.5628 GB, free: 3.297 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.3475, allocations: 8.891 kB / 0.5628 GB, free: 3.289 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3477, allocations: 110.5 kB / 0.5629 GB, free: 3.156 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3477, allocations: 384 / 0.5629 GB, free: 3.156 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.3477, allocations: 8.375 kB / 0.5629 GB, free: 3.148 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.3479, allocations: 96.83 kB / 0.563 GB, free: 3.051 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.3479, allocations: 192 / 0.563 GB, free: 3.051 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.3479, allocations: 7.922 kB / 0.563 GB, free: 3.043 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.3479, allocations: 11.98 kB / 0.563 GB, free: 3.031 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.3481, allocations: 63.95 kB / 0.5631 GB, free: 2.969 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.3483, allocations: 168.6 kB / 0.5633 GB, free: 2.762 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.3486, allocations: 130.8 kB / 0.5634 GB, free: 2.625 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/0.3486, allocations: 52.91 kB / 0.5634 GB, free: 2.57 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.3487, allocations: 11.98 kB / 0.5634 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.3487, allocations: 34.56 kB / 0.5635 GB, free: 2.516 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.3487, allocations: 0 / 0.5635 GB, free: 2.516 MB / 398.1 MB
Notification: Performance of matching and sorting (n=30): time 0.003363/0.3521, allocations: 2.213 MB / 0.5656 GB, free: 276 kB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.3521, allocations: 55.64 kB / 0.5657 GB, free: 208 kB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.3522, allocations: 93.84 kB / 0.5658 GB, free: 104 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.3522, allocations: 33.7 kB / 0.5658 GB, free: 64 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.926e-05/0.3523, allocations: 80.64 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3524, allocations: 103.1 kB / 0.566 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.3525, allocations: 85.66 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001365/0.3527, allocations: 326.9 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.3533, allocations: 0.5856 MB / 0.567 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.3539, allocations: 0.5817 MB / 0.5675 GB, free: 14.29 MB / 414.1 MB
Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet.
Notification: Performance of analyzeInitialSystem (initialization): time 0.002539/0.3564, allocations: 2.056 MB / 0.5695 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3564, allocations: 4 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of matching and sorting (n=30) (initialization): time 0.001907/0.3583, allocations: 1.706 MB / 0.5712 GB, free: 10.52 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3584, allocations: 8 kB / 0.5712 GB, free: 10.51 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001924/0.3603, allocations: 1.524 MB / 0.5727 GB, free: 8.98 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007251/0.361, allocations: 400.5 kB / 0.5731 GB, free: 8.586 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3612, allocations: 67.89 kB / 0.5731 GB, free: 8.52 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.3624, allocations: 1.181 MB / 0.5743 GB, free: 7.312 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.3625, allocations: 8.031 kB / 0.5743 GB, free: 7.305 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.3626, allocations: 67.97 kB / 0.5744 GB, free: 7.238 MB / 414.1 MB
Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system:
         tabx[2] = 1.0 + 0.1 * time.
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 (i)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (27):
 * Single equations (assignments): 25
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.3628, allocations: 151.1 kB / 0.5745 GB, free: 7.082 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.3628, allocations: 11.89 kB / 0.5745 GB, free: 7.07 MB / 414.1 MB
Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information.
Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!
Notification: Performance of <failed> postOpt wrapFunctionCalls (simulation): time 0.001485/0.3643, allocations: 0.882 MB / 0.5754 GB, free: 6.18 MB / 414.1 MB
Error: post-optimization module wrapFunctionCalls (simulation) failed.
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 2.960494037717581]
Failed to read output from testmodel.py, exit status != 0:
['time', 'xIntegrated']
0.3721278589218855 0.384957046 0.035200269
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7b82de17b0>