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.001694/0.001694, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.002035/0.002035, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.557/1.557, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2307/0.2307, allocations: 46.88 MB / 357.4 MB, free: 10.52 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.002285/0.002285, allocations: 75.88 kB / 0.4912 GB, free: 8.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1273, allocations: 65.98 MB / 0.5556 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001569/0.1289, allocations: 0.5214 MB / 0.5561 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004896/0.1294, allocations: 223.9 kB / 0.5564 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.1294, allocations: 0 / 0.5564 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.1295, allocations: 3.984 kB / 0.5564 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.775e-05/0.1296, allocations: 7.938 kB / 0.5564 GB, free: 5.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1298, allocations: 47.88 kB / 0.5564 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.664e-05/0.1299, allocations: 23.92 kB / 0.5564 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.1299, allocations: 7.938 kB / 0.5564 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.155e-05/0.1299, allocations: 7.984 kB / 0.5564 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.13, allocations: 31.91 kB / 0.5565 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1301, allocations: 0 / 0.5565 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1302, allocations: 51.94 kB / 0.5565 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.029e-05/0.1302, allocations: 15.98 kB / 0.5565 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.1303, allocations: 15.88 kB / 0.5566 GB, free: 5.633 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1304, allocations: 71.7 kB / 0.5566 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1304, allocations: 0 / 0.5566 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1304, allocations: 0 / 0.5566 GB, free: 5.562 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.1304, allocations: 0 / 0.5566 GB, free: 5.562 MB / 414.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.0004871/0.1309, allocations: 355.3 kB / 0.557 GB, free: 5.164 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.1309, allocations: 12.03 kB / 0.557 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/0.131, allocations: 34.75 kB / 0.557 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.887e-05/0.131, allocations: 8.891 kB / 0.557 GB, free: 5.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1311, allocations: 172.2 kB / 0.5572 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1312, allocations: 4.375 kB / 0.5572 GB, free: 4.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1312, allocations: 4.359 kB / 0.5572 GB, free: 4.887 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1314, allocations: 94.22 kB / 0.5573 GB, free: 4.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1314, allocations: 7.938 kB / 0.5573 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.1314, allocations: 3.938 kB / 0.5573 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.1314, allocations: 8 kB / 0.5573 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1315, allocations: 75.88 kB / 0.5574 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002211/0.1317, allocations: 193.5 kB / 0.5576 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002765/0.132, allocations: 122.8 kB / 0.5577 GB, free: 4.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.1321, allocations: 58.64 kB / 0.5577 GB, free: 4.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.504e-05/0.1321, allocations: 11.98 kB / 0.5577 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1322, allocations: 34.5 kB / 0.5578 GB, free: 4.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.1322, allocations: 0 / 0.5578 GB, free: 4.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.003413/0.1356, allocations: 2.211 MB / 0.5599 GB, free: 1.973 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.1356, allocations: 55.64 kB / 0.56 GB, free: 1.906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.1357, allocations: 97.8 kB / 0.5601 GB, free: 1.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.1358, allocations: 29.7 kB / 0.5601 GB, free: 1.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.1358, allocations: 80.7 kB / 0.5602 GB, free: 1.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1359, allocations: 107.2 kB / 0.5603 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.1361, allocations: 101.6 kB / 0.5604 GB, free: 1.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1362, allocations: 318.8 kB / 0.5607 GB, free: 1.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006421/0.1368, allocations: 0.5778 MB / 0.5613 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.1375, allocations: 0.5857 MB / 0.5618 GB, free: 15.98 MB / 430.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.002688/0.1402, allocations: 2.056 MB / 0.5638 GB, free: 13.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1402, allocations: 0 / 0.5638 GB, free: 13.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002243/0.1424, allocations: 1.71 MB / 0.5655 GB, free: 12.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.1425, allocations: 4 kB / 0.5655 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00217/0.1446, allocations: 1.52 MB / 0.567 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/0.1454, allocations: 412.5 kB / 0.5674 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.1456, allocations: 59.95 kB / 0.5674 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1469, allocations: 1.181 MB / 0.5686 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.147, allocations: 12.09 kB / 0.5686 GB, free: 9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.524e-05/0.1471, allocations: 67.97 kB / 0.5687 GB, free: 8.934 MB / 430.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.0002262/0.1473, allocations: 141.7 kB / 0.5688 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1474, allocations: 7.953 kB / 0.5688 GB, free: 8.777 MB / 430.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.001497/0.1489, allocations: 0.8866 MB / 0.5697 GB, free: 7.887 MB / 430.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0607668752782047] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.15497270738705993 0.169546426 0.03642076 Calling exit ...