Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001308/0.001308, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001466/0.001466, allocations: 210.8 kB / 23.73 MB, free: 4.164 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.407/1.407, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.2233/0.2233, allocations: 46.95 MB / 360.8 MB, free: 3.949 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.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002508/0.002508, allocations: 84.2 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3272, allocations: 66.08 MB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003465/0.3306, allocations: 1.991 MB / 0.5627 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3325, allocations: 1.045 MB / 0.5637 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.3326, allocations: 7.938 kB / 0.5637 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.333, allocations: 47.69 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003716/0.3333, allocations: 119.4 kB / 0.5639 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.3336, allocations: 107.6 kB / 0.564 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.3339, allocations: 215.3 kB / 0.5642 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.334, allocations: 19.62 kB / 0.5642 GB, free: 464 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001358/0.3342, allocations: 83.64 kB / 0.5643 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.3343, allocations: 75.61 kB / 0.5644 GB, free: 304 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/0.3343, allocations: 15.94 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3345, allocations: 51.98 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.822e-05/0.3346, allocations: 39.89 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.3347, allocations: 59.59 kB / 0.5645 GB, free: 136 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.335, allocations: 203.1 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.335, allocations: 4 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.335, allocations: 0 / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.335, allocations: 0 / 0.5647 GB, free: 15.93 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009821/0.336, allocations: 0.4965 MB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.336, allocations: 8.031 kB / 0.5652 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.3361, allocations: 42.73 kB / 0.5652 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.482e-05/0.3362, allocations: 16.84 kB / 0.5653 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.3365, allocations: 186.1 kB / 0.5654 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.3365, allocations: 8.375 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.3366, allocations: 8.375 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.337, allocations: 184.2 kB / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.495e-06/0.337, allocations: 0 / 0.5656 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.337, allocations: 11.92 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.337, allocations: 4 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.3375, allocations: 107.9 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.3381, allocations: 0.5 MB / 0.5662 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.3388, allocations: 158.6 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.339, allocations: 72.73 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3391, allocations: 7.984 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.3395, allocations: 164.9 kB / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.3395, allocations: 0 / 0.5666 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009305/0.3404, allocations: 261.3 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.3405, allocations: 59.39 kB / 0.5669 GB, free: 13.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.3407, allocations: 246.2 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.3408, allocations: 25.7 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.3409, allocations: 128.4 kB / 0.5673 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3409, allocations: 39.69 kB / 0.5673 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-05/0.341, allocations: 37.7 kB / 0.5674 GB, free: 12.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3412, allocations: 326.8 kB / 0.5677 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.3414, allocations: 105.6 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.3417, allocations: 129.9 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.3423, allocations: 189.8 kB / 0.5681 GB, free: 12.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3423, allocations: 7.938 kB / 0.5681 GB, free: 12.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006927/0.343, allocations: 288.7 kB / 0.5684 GB, free: 11.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.343, allocations: 41.83 kB / 0.5684 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.343, allocations: 4 kB / 0.5684 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.343, allocations: 0 / 0.5684 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3432, allocations: 35.97 kB / 0.5685 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3432, allocations: 7.875 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.3434, allocations: 35.86 kB / 0.5685 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3434, allocations: 4 kB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001329/0.3436, allocations: 133.8 kB / 0.5686 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.3436, allocations: 19.91 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006485/0.3443, allocations: 222.9 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3443, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3443, allocations: 3.938 kB / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3443, allocations: 0 / 0.5689 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002194/0.3445, allocations: 196.6 kB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3445, allocations: 4 kB / 0.5691 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.3447, allocations: 27.97 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3447, allocations: 0 / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3447, allocations: 0 / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.3447, allocations: 4 kB / 0.5691 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3447, allocations: 3.938 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.3456, allocations: 317.8 kB / 0.5694 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.3456, allocations: 23.81 kB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.3456, allocations: 4 kB / 0.5694 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3458, allocations: 23.97 kB / 0.5694 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.3459, allocations: 23.91 kB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.3459, allocations: 4 kB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001777/0.3461, allocations: 176.5 kB / 0.5696 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3461, allocations: 3.938 kB / 0.5696 GB, free: 10.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3464, allocations: 40.06 kB / 0.5697 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002713/0.3491, allocations: 1.181 MB / 0.5708 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006697/0.3497, allocations: 248 kB / 0.5711 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.3497, allocations: 4 kB / 0.5711 GB, free: 9.125 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.35, allocations: 75.88 kB / 0.5711 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3504, allocations: 51.56 kB / 0.5712 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.3539, allocations: 2.305 MB / 0.5734 GB, free: 6.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.354, allocations: 116.1 kB / 0.5736 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.3541, allocations: 21.48 kB / 0.5736 GB, free: 6.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3542, allocations: 51.42 kB / 0.5736 GB, free: 6.359 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3542, allocations: 0 / 0.5736 GB, free: 6.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.3881, allocations: 5.895 MB / 0.5794 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.17, allocations: 4 kB / 0.5794 GB, free: 0.5 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.935405775904655] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.333423625677824 11.349097963 11.011021328 Calling exit ...