Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.001664/0.001664, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002125/0.002125, allocations: 210.5 kB / 24.52 MB, free: 4.07 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.423/1.423, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2198/0.2198, allocations: 46.93 MB / 361.6 MB, free: 4.172 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 75.88 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3264, allocations: 66.08 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.003324/0.3298, allocations: 1.745 MB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3315, allocations: 1.045 MB / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.3316, allocations: 0 / 0.5643 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3319, allocations: 51.69 kB / 0.5643 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003101/0.3322, allocations: 91.56 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.3324, allocations: 79.72 kB / 0.5645 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.3326, allocations: 99.69 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.3327, allocations: 13.95 kB / 0.5646 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3329, allocations: 55.72 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.3329, allocations: 27.86 kB / 0.5647 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.333, allocations: 7.938 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.3331, allocations: 43.97 kB / 0.5647 GB, free: 1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.3331, allocations: 23.86 kB / 0.5648 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.3332, allocations: 31.75 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3334, allocations: 115.5 kB / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3334, allocations: 0 / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3334, allocations: 0 / 0.5649 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.3334, allocations: 0 / 0.5649 GB, free: 0.832 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006029/0.334, allocations: 349.6 kB / 0.5652 GB, free: 472 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3341, allocations: 11.97 kB / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.342e-05/0.3341, allocations: 192 / 0.5652 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.891e-05/0.3341, allocations: 38.75 kB / 0.5653 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.993e-05/0.3341, allocations: 16.83 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.3344, allocations: 147.7 kB / 0.5654 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3344, allocations: 4.375 kB / 0.5654 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.3345, allocations: 4.375 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3346, allocations: 61.61 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3346, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.3346, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3346, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.3347, allocations: 23.92 kB / 0.5655 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.3351, allocations: 252 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3353, allocations: 62.67 kB / 0.5658 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.123e-05/0.3353, allocations: 16.86 kB / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.3353, allocations: 0 / 0.5658 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.3355, allocations: 67.33 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.3355, allocations: 0 / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005609/0.336, allocations: 181.6 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.3361, allocations: 63.41 kB / 0.5661 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002017/0.3363, allocations: 179.3 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.3363, allocations: 29.7 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.3364, allocations: 100.1 kB / 0.5664 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.3364, allocations: 23.8 kB / 0.5665 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.3365, allocations: 25.7 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3366, allocations: 326.8 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.3367, allocations: 20.06 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.3368, allocations: 37.7 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3369, allocations: 65.64 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3369, allocations: 192 / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.3371, allocations: 105.5 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3371, allocations: 15.92 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3371, allocations: 0 / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3371, allocations: 4.031 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.3372, allocations: 15.94 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3372, allocations: 4 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.127e-05/0.3373, allocations: 0 / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.3373, allocations: 11.92 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001091/0.3374, allocations: 124.5 kB / 0.5672 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.082e-05/0.3374, allocations: 7.953 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.3377, allocations: 115.1 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3377, allocations: 8 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3377, allocations: 0 / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3377, allocations: 0 / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.3382, allocations: 370.4 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3382, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.3382, allocations: 11.98 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3382, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3383, allocations: 7.938 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3383, allocations: 4.031 kB / 0.5677 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3383, allocations: 4 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3385, allocations: 196.3 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.317e-05/0.3385, allocations: 19.89 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.3386, allocations: 7.922 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.047e-05/0.3386, allocations: 4 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.3387, allocations: 7.984 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3387, allocations: 4 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3388, allocations: 140.9 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3388, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3391, allocations: 27.92 kB / 0.5681 GB, free: 13.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002271/0.3413, allocations: 1.085 MB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.3415, allocations: 55.91 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3415, allocations: 4.062 kB / 0.5692 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.417e-05/0.3416, allocations: 23.98 kB / 0.5692 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.342, allocations: 27.25 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.3439, allocations: 1.65 MB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.3443, allocations: 0.7041 MB / 0.5715 GB, free: 9.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.071e-05/0.3443, allocations: 12.97 kB / 0.5716 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.176e-05/0.3444, allocations: 35.42 kB / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3444, allocations: 0 / 0.5716 GB, free: 9.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.3686, allocations: 3.599 MB / 0.5751 GB, free: 6.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.98, allocations: 8.047 kB / 0.5751 GB, free: 6.141 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test18.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.866989748959895] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.19343468605075 11.208570547 10.872214537 Calling exit ...