Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001382/0.001382, allocations: 111.9 kB / 20.43 MB, free: 1.473 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.002302/0.002302, allocations: 212 kB / 23.74 MB, free: 4.688 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.552/1.552, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.251/0.251, allocations: 44.92 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3342, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005021/0.3392, allocations: 2.054 MB / 0.5591 GB, free: 5.691 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.3419, allocations: 1.127 MB / 0.5602 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.3422, allocations: 7.938 kB / 0.5602 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004469/0.3426, allocations: 51.56 kB / 0.5602 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005565/0.3432, allocations: 115.4 kB / 0.5604 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.3436, allocations: 115.6 kB / 0.5605 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.3442, allocations: 199.4 kB / 0.5607 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.3443, allocations: 25.59 kB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.3446, allocations: 87.62 kB / 0.5608 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.3448, allocations: 79.62 kB / 0.5608 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.39e-05/0.3448, allocations: 16 kB / 0.5609 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.345, allocations: 55.97 kB / 0.5609 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001106/0.3451, allocations: 39.78 kB / 0.5609 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.3453, allocations: 75.53 kB / 0.561 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.3457, allocations: 197.2 kB / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3457, allocations: 0 / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3458, allocations: 0 / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.3458, allocations: 0 / 0.5612 GB, free: 3.516 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001112/0.3469, allocations: 0.5031 MB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3469, allocations: 8.031 kB / 0.5617 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.372e-05/0.347, allocations: 46.73 kB / 0.5618 GB, free: 2.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.3471, allocations: 16.84 kB / 0.5618 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.3475, allocations: 190.1 kB / 0.5619 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.3476, allocations: 4.375 kB / 0.562 GB, free: 2.68 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.3476, allocations: 11.94 kB / 0.562 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.348, allocations: 156.1 kB / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3481, allocations: 0 / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.3481, allocations: 0 / 0.5621 GB, free: 2.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.3481, allocations: 4 kB / 0.5621 GB, free: 2.496 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.3486, allocations: 115.8 kB / 0.5622 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007854/0.3493, allocations: 0.5194 MB / 0.5627 GB, free: 1.812 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.35, allocations: 162.5 kB / 0.5629 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.3503, allocations: 64.8 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.3503, allocations: 8 kB / 0.563 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003999/0.3507, allocations: 135.2 kB / 0.5631 GB, free: 1.426 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.823e-06/0.3507, allocations: 0 / 0.5631 GB, free: 1.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000915/0.3516, allocations: 261.6 kB / 0.5633 GB, free: 1.164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.3517, allocations: 55.41 kB / 0.5634 GB, free: 1.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.3519, allocations: 236.1 kB / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.352, allocations: 33.64 kB / 0.5636 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3521, allocations: 124.4 kB / 0.5638 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.902e-05/0.3521, allocations: 47.67 kB / 0.5638 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.3522, allocations: 37.7 kB / 0.5638 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3524, allocations: 326.8 kB / 0.5642 GB, free: 276 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.3526, allocations: 71.92 kB / 0.5642 GB, free: 204 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.3529, allocations: 100.2 kB / 0.5643 GB, free: 88 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.3534, allocations: 197.8 kB / 0.5645 GB, free: 15.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3534, allocations: 0 / 0.5645 GB, free: 15.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006652/0.3541, allocations: 251.1 kB / 0.5648 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.3541, allocations: 37.7 kB / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3541, allocations: 0 / 0.5648 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3542, allocations: 12.06 kB / 0.5648 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.3543, allocations: 35.91 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.3544, allocations: 4 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3545, allocations: 27.92 kB / 0.5649 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3546, allocations: 4 kB / 0.5649 GB, free: 15.49 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.0001394/0.3547, allocations: 145.7 kB / 0.565 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.3547, allocations: 15.91 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006436/0.3554, allocations: 222.9 kB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3554, allocations: 3.938 kB / 0.5652 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3554, allocations: 0 / 0.5652 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3554, allocations: 0 / 0.5652 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.3556, allocations: 204.6 kB / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3556, allocations: 0 / 0.5654 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001594/0.3558, allocations: 31.91 kB / 0.5655 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.3558, allocations: 8 kB / 0.5655 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.3558, allocations: 4 kB / 0.5655 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3558, allocations: 3.938 kB / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3558, allocations: 0 / 0.5655 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008676/0.3567, allocations: 304.8 kB / 0.5658 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.513e-05/0.3567, allocations: 15.86 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3567, allocations: 4 kB / 0.5658 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3569, allocations: 23.91 kB / 0.5658 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.357, allocations: 19.97 kB / 0.5658 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.357, allocations: 12.05 kB / 0.5658 GB, free: 14.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001674/0.3572, allocations: 165.9 kB / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3572, allocations: 0 / 0.566 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.3574, allocations: 47.86 kB / 0.566 GB, free: 14.2 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 (12): * Single equations (assignments): 8 * 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.002578/0.36, allocations: 1.137 MB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.3606, allocations: 215.3 kB / 0.5674 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3606, allocations: 3.938 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3609, allocations: 75.88 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.3613, allocations: 53.27 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003391/0.3647, allocations: 2.185 MB / 0.5696 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.365, allocations: 0.7242 MB / 0.5703 GB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.419e-05/0.3651, allocations: 21.47 kB / 0.5704 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3652, allocations: 55.41 kB / 0.5704 GB, free: 9.723 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3652, allocations: 0 / 0.5704 GB, free: 9.723 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.3989, allocations: 5.245 MB / 0.5755 GB, free: 4.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 2.969 kB / 0.5755 GB, free: 4.551 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.633750373031944] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.715716493083164 11.734346474 11.385185683 Calling exit ...