Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.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.002234/0.002234, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002891/0.002891, allocations: 210.9 kB / 24.51 MB, free: 3.945 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.589/1.589, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2341/0.2341, allocations: 46.96 MB / 361.7 MB, free: 4.047 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.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.91 kB / 0.4969 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 66.04 MB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003017/0.3281, allocations: 1.651 MB / 0.563 GB, free: 2.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3297, allocations: 0.952 MB / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.3298, allocations: 0 / 0.564 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.3301, allocations: 63.72 kB / 0.564 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.3305, allocations: 111.5 kB / 0.5641 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.3307, allocations: 75.72 kB / 0.5642 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001941/0.3309, allocations: 107.6 kB / 0.5643 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.048e-05/0.3309, allocations: 4.234 kB / 0.5643 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.872e-05/0.331, allocations: 51.77 kB / 0.5644 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3311, allocations: 51.81 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.3311, allocations: 4 kB / 0.5644 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.3312, allocations: 31.92 kB / 0.5644 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.3313, allocations: 19.88 kB / 0.5645 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.3313, allocations: 31.8 kB / 0.5645 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3315, allocations: 109.4 kB / 0.5646 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3315, allocations: 3.984 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3315, allocations: 0 / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3316, allocations: 0 / 0.5646 GB, free: 0.9336 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005551/0.3321, allocations: 337.6 kB / 0.5649 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3321, allocations: 12.03 kB / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.305e-05/0.3322, allocations: 192 / 0.5649 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.3322, allocations: 30.75 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.3322, allocations: 16.83 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002926/0.3325, allocations: 155 kB / 0.5651 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.3325, allocations: 4.125 kB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.3326, allocations: 7.984 kB / 0.5651 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3327, allocations: 49.61 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3327, allocations: 0 / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3327, allocations: 4 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3327, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.646e-05/0.3328, allocations: 15.98 kB / 0.5652 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.333, allocations: 152.7 kB / 0.5654 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.3332, allocations: 58.61 kB / 0.5654 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.3333, allocations: 20.73 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.3333, allocations: 0 / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.3335, allocations: 71.38 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.3335, allocations: 0 / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003133/0.3338, allocations: 97.62 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3338, allocations: 51.41 kB / 0.5656 GB, free: 15.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.334, allocations: 198.2 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.334, allocations: 29.7 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.3341, allocations: 108.1 kB / 0.566 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.3341, allocations: 15.84 kB / 0.566 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.3342, allocations: 25.7 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3343, allocations: 322.8 kB / 0.5663 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.3344, allocations: 12.25 kB / 0.5663 GB, free: 14.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.232e-05/0.3344, allocations: 33.69 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.3345, allocations: 53.64 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3345, allocations: 3.938 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001694/0.3347, allocations: 93.55 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3347, allocations: 4 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.3347, allocations: 4 kB / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3347, allocations: 0 / 0.5665 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.486e-05/0.3348, allocations: 11.94 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3348, allocations: 0 / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.41e-05/0.3349, allocations: 4 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3349, allocations: 0 / 0.5665 GB, free: 14.77 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 (7): * Single equations (assignments): 7 * 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.0001113/0.335, allocations: 140.4 kB / 0.5666 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.335, allocations: 7.953 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/0.3352, allocations: 98.75 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3352, allocations: 0 / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3352, allocations: 0 / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3352, allocations: 0 / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.3354, allocations: 164.6 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3354, allocations: 0 / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.987e-05/0.3354, allocations: 7.984 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3354, allocations: 3.938 kB / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.3354, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3354, allocations: 0 / 0.5669 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3354, allocations: 4.125 kB / 0.5669 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.3356, allocations: 129 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.3357, allocations: 11.91 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3357, allocations: 0 / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.152e-05/0.3357, allocations: 7.984 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.229e-05/0.3357, allocations: 3.984 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3358, allocations: 8 kB / 0.5671 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001337/0.3359, allocations: 144.2 kB / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 0.5672 GB, free: 13.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.3361, allocations: 27.92 kB / 0.5672 GB, free: 13.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002018/0.3381, allocations: 0.9944 MB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.3383, allocations: 43.92 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3383, allocations: 0 / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.3384, allocations: 19.98 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.3386, allocations: 19.98 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3403, allocations: 1.533 MB / 0.5698 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.311e-05/0.3404, allocations: 89.38 kB / 0.5699 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.447e-05/0.3405, allocations: 12.48 kB / 0.5699 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.3405, allocations: 31.42 kB / 0.5699 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3405, allocations: 4 kB / 0.5699 GB, free: 11.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.3635, allocations: 3.504 MB / 0.5733 GB, free: 7.812 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.64, allocations: 5.859 kB / 0.5733 GB, free: 7.812 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.80189225799404] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.858226904994808 11.875256077 11.540488645 Calling exit ...