Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.235/0.235, allocations: 46.95 MB / 360.9 MB, free: 4.051 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.91 kB / 0.4962 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3343, allocations: 66.03 MB / 0.5607 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003996/0.3383, allocations: 1.968 MB / 0.5626 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3403, allocations: 1.064 MB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.3404, allocations: 3.938 kB / 0.5636 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.3408, allocations: 55.62 kB / 0.5637 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.3411, allocations: 103.5 kB / 0.5638 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.3414, allocations: 115.6 kB / 0.5639 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.3417, allocations: 211.4 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3418, allocations: 23.61 kB / 0.5641 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.342, allocations: 83.64 kB / 0.5642 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3421, allocations: 83.55 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.3421, allocations: 12 kB / 0.5643 GB, free: 500 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3423, allocations: 51.98 kB / 0.5643 GB, free: 448 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.474e-05/0.3423, allocations: 39.84 kB / 0.5644 GB, free: 408 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.3424, allocations: 63.64 kB / 0.5644 GB, free: 344 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.3428, allocations: 203.1 kB / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.018e-05/0.3428, allocations: 0 / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3428, allocations: 0 / 0.5646 GB, free: 140 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.3428, allocations: 8 kB / 0.5646 GB, free: 132 kB / 398.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.001104/0.3439, allocations: 0.4889 MB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3439, allocations: 8.031 kB / 0.5651 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.344, allocations: 42.73 kB / 0.5651 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.344, allocations: 16.84 kB / 0.5652 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.3444, allocations: 194 kB / 0.5654 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3444, allocations: 12.38 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.3445, allocations: 7.938 kB / 0.5654 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.345, allocations: 180.5 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.345, allocations: 0 / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.345, allocations: 4 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.345, allocations: 4 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.3455, allocations: 115.9 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007439/0.3462, allocations: 0.4922 MB / 0.5661 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.3469, allocations: 170.4 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000316/0.3472, allocations: 72.8 kB / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3472, allocations: 0 / 0.5664 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.3476, allocations: 165 kB / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.3476, allocations: 0 / 0.5665 GB, free: 14 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000946/0.3486, allocations: 269.2 kB / 0.5668 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3486, allocations: 55.34 kB / 0.5668 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.3489, allocations: 244.1 kB / 0.5671 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3489, allocations: 29.69 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.3491, allocations: 132.4 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.3491, allocations: 35.69 kB / 0.5673 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.3492, allocations: 37.7 kB / 0.5673 GB, free: 13.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3493, allocations: 330.8 kB / 0.5676 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.3496, allocations: 101.6 kB / 0.5677 GB, free: 12.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002803/0.3499, allocations: 125.9 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/0.3504, allocations: 197.8 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3504, allocations: 3.984 kB / 0.568 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007439/0.3512, allocations: 288.8 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.3512, allocations: 37.7 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3512, allocations: 0 / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3512, allocations: 7.938 kB / 0.5683 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3514, allocations: 35.91 kB / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3514, allocations: 0 / 0.5684 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.3516, allocations: 35.86 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.3516, allocations: 12.05 kB / 0.5684 GB, free: 11.93 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.0001399/0.3518, allocations: 129.8 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3518, allocations: 15.91 kB / 0.5686 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.3525, allocations: 226.6 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3525, allocations: 3.938 kB / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3525, allocations: 0 / 0.5688 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3525, allocations: 4 kB / 0.5688 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.3527, allocations: 208.6 kB / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3527, allocations: 0 / 0.569 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.3528, allocations: 19.98 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3528, allocations: 0 / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.3529, allocations: 11.98 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.3529, allocations: 3.938 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3529, allocations: 3.938 kB / 0.569 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/0.3538, allocations: 312.8 kB / 0.5693 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.3538, allocations: 19.83 kB / 0.5693 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.3539, allocations: 7.984 kB / 0.5693 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.354, allocations: 27.91 kB / 0.5694 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.3541, allocations: 19.97 kB / 0.5694 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.3541, allocations: 8.062 kB / 0.5694 GB, free: 10.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002051/0.3543, allocations: 177.8 kB / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3543, allocations: 0 / 0.5696 GB, free: 10.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3546, allocations: 32 kB / 0.5696 GB, free: 10.64 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.002736/0.3573, allocations: 1.181 MB / 0.5708 GB, free: 9.613 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006678/0.358, allocations: 248.9 kB / 0.571 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.358, allocations: 0 / 0.571 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.3584, allocations: 84 kB / 0.5711 GB, free: 9.273 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.3587, allocations: 43.39 kB / 0.5711 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00394/0.3627, allocations: 2.31 MB / 0.5734 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.3628, allocations: 120.1 kB / 0.5735 GB, free: 6.656 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.3629, allocations: 17.48 kB / 0.5735 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3631, allocations: 55.42 kB / 0.5736 GB, free: 6.586 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3631, allocations: 0 / 0.5736 GB, free: 6.586 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03576/0.3988, allocations: 5.925 MB / 0.5793 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.31, allocations: 6.594 kB / 0.5793 GB, free: 0.7305 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.28845135497977] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.468765832018107 11.487482457 11.141440555 Calling exit ...