Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001532/0.001532, 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.001652/0.001652, allocations: 213.2 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.5/1.5, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2575/0.2575, allocations: 46.93 MB / 361.6 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 79.86 kB / 0.497 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3853, allocations: 66.08 MB / 0.5615 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002236/0.3876, allocations: 0.5188 MB / 0.562 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.3883, allocations: 227.4 kB / 0.5622 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.3883, allocations: 0 / 0.5622 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.3884, allocations: 11.94 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.851e-05/0.3885, allocations: 0 / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003493/0.3888, allocations: 55.83 kB / 0.5623 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.113e-05/0.3889, allocations: 19.97 kB / 0.5623 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.778e-05/0.3889, allocations: 3.938 kB / 0.5623 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.389, allocations: 7.984 kB / 0.5623 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.3891, allocations: 27.91 kB / 0.5623 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3891, allocations: 0 / 0.5623 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3893, allocations: 55.95 kB / 0.5624 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.3893, allocations: 15.97 kB / 0.5624 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.3893, allocations: 19.86 kB / 0.5624 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3895, allocations: 69.69 kB / 0.5625 GB, free: 3.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3895, allocations: 4 kB / 0.5625 GB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3895, allocations: 0 / 0.5625 GB, free: 3.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.3895, allocations: 0 / 0.5625 GB, free: 3.297 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.0006107/0.3901, allocations: 278.2 kB / 0.5628 GB, free: 2.992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3902, allocations: 8.031 kB / 0.5628 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.3902, allocations: 42.69 kB / 0.5628 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.3903, allocations: 4.891 kB / 0.5628 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3904, allocations: 110.5 kB / 0.5629 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3904, allocations: 384 / 0.5629 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.3905, allocations: 12.38 kB / 0.5629 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.3907, allocations: 94.2 kB / 0.563 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3907, allocations: 3.938 kB / 0.563 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3908, allocations: 0 / 0.563 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.531e-05/0.3908, allocations: 19.88 kB / 0.563 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.391, allocations: 63.95 kB / 0.5631 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.3912, allocations: 164.6 kB / 0.5633 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.3916, allocations: 122.8 kB / 0.5634 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001197/0.3917, allocations: 60.88 kB / 0.5634 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.038e-05/0.3918, allocations: 11.98 kB / 0.5634 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.3918, allocations: 38.5 kB / 0.5635 GB, free: 2.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.3918, allocations: 0 / 0.5635 GB, free: 2.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.00404/0.3958, allocations: 2.216 MB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.863e-05/0.3959, allocations: 55.64 kB / 0.5657 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.396, allocations: 93.8 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.294e-05/0.396, allocations: 37.83 kB / 0.5658 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/0.3961, allocations: 80.64 kB / 0.5659 GB, free: 15.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3962, allocations: 103.1 kB / 0.566 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.3963, allocations: 89.64 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3965, allocations: 326.8 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006635/0.3972, allocations: 0.5739 MB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.3978, allocations: 0.5817 MB / 0.5675 GB, free: 13.93 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.00274/0.4006, allocations: 2.064 MB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4006, allocations: 0 / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002017/0.4026, allocations: 1.706 MB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4026, allocations: 8 kB / 0.5712 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002051/0.4046, allocations: 1.52 MB / 0.5727 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007407/0.4054, allocations: 408.5 kB / 0.5731 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.4056, allocations: 67.89 kB / 0.5732 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.4069, allocations: 1.189 MB / 0.5743 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.407, allocations: 8.031 kB / 0.5743 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.732e-05/0.4071, allocations: 67.97 kB / 0.5744 GB, free: 6.859 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.0002287/0.4073, allocations: 142.6 kB / 0.5745 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.4074, allocations: 7.953 kB / 0.5745 GB, free: 6.703 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 postOpt wrapFunctionCalls (simulation): time 0.001537/0.4089, allocations: 0.886 MB / 0.5754 GB, free: 5.809 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1879865280352533] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4168814970180392 0.43234586100000005 0.039672044000000004 Calling exit ...