Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.001316/0.001316, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001646/0.001646, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2332/0.2332, allocations: 46.95 MB / 361.7 MB, free: 4.355 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.Test59,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 67.91 kB / 0.497 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3253, allocations: 66.03 MB / 0.5615 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003722/0.329, allocations: 1.741 MB / 0.5632 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.3323, allocations: 1.743 MB / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3324, allocations: 0 / 0.5649 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003795/0.3328, allocations: 39.77 kB / 0.5649 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.3332, allocations: 99.53 kB / 0.565 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.3334, allocations: 79.67 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.3336, allocations: 107.7 kB / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.3337, allocations: 13.81 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3338, allocations: 47.8 kB / 0.5653 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.334, allocations: 47.77 kB / 0.5653 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.334, allocations: 4 kB / 0.5653 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.3342, allocations: 107.9 kB / 0.5654 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.3342, allocations: 23.86 kB / 0.5654 GB, free: 420 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.3343, allocations: 39.72 kB / 0.5655 GB, free: 380 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.3346, allocations: 171.4 kB / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3346, allocations: 0 / 0.5656 GB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3346, allocations: 4 kB / 0.5656 GB, free: 204 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.005e-05/0.3346, allocations: 0 / 0.5656 GB, free: 204 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007398/0.3353, allocations: 345.5 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.3354, allocations: 12.03 kB / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.816e-05/0.3354, allocations: 192 / 0.566 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.3355, allocations: 34.69 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.004e-05/0.3355, allocations: 12.84 kB / 0.566 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.3359, allocations: 159.7 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.3359, allocations: 12 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.336, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.3362, allocations: 67.39 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3362, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.3362, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3362, allocations: 0 / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.296e-05/0.3363, allocations: 23.92 kB / 0.5663 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.3368, allocations: 271.9 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.337, allocations: 54.67 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.3371, allocations: 20.78 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3371, allocations: 4 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.3372, allocations: 75.33 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3373, allocations: 0 / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005724/0.3378, allocations: 173.3 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.884e-05/0.3379, allocations: 81.11 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.3381, allocations: 166.1 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.3381, allocations: 25.7 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3382, allocations: 100.1 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3383, allocations: 27.75 kB / 0.5672 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.3383, allocations: 29.7 kB / 0.5673 GB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3385, allocations: 322.8 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.3385, allocations: 16 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.289e-05/0.3386, allocations: 42.56 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3388, allocations: 69.7 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3388, allocations: 0 / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.339, allocations: 97.66 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.339, allocations: 11.92 kB / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.339, allocations: 0 / 0.5678 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.339, allocations: 7.938 kB / 0.5678 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/0.3391, allocations: 12 kB / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3391, allocations: 0 / 0.5678 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.3391, allocations: 8 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3392, allocations: 7.984 kB / 0.5678 GB, free: 13.73 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.0001115/0.3393, allocations: 117.9 kB / 0.5679 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3393, allocations: 7.953 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3396, allocations: 118.2 kB / 0.5681 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.3396, allocations: 7.938 kB / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3396, allocations: 0 / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3396, allocations: 0 / 0.5681 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.3401, allocations: 370.3 kB / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3401, allocations: 0 / 0.5684 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.3401, allocations: 12.03 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3401, allocations: 4 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3401, allocations: 3.984 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3401, allocations: 0 / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3401, allocations: 192 / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.3404, allocations: 204.5 kB / 0.5686 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.3404, allocations: 11.89 kB / 0.5686 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.3404, allocations: 12.38 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.622e-05/0.3405, allocations: 3.984 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.3405, allocations: 4 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3406, allocations: 8 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.3407, allocations: 127.2 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3407, allocations: 0 / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.341, allocations: 47.88 kB / 0.5688 GB, free: 12.61 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.002459/0.3434, allocations: 1.195 MB / 0.57 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3436, allocations: 63.91 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3436, allocations: 0 / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.98e-05/0.3437, allocations: 27.98 kB / 0.5701 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3441, allocations: 19.98 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.346, allocations: 1.605 MB / 0.5717 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.3463, allocations: 0.7003 MB / 0.5724 GB, free: 9.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.693e-05/0.3464, allocations: 16.98 kB / 0.5724 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.3465, allocations: 39.34 kB / 0.5724 GB, free: 9.012 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3465, allocations: 0 / 0.5724 GB, free: 9.012 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0372/0.3837, allocations: 4.237 MB / 0.5766 GB, free: 4.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.93, allocations: 11.8 kB / 0.5766 GB, free: 4.816 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.89011852996191] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.141543911013287 12.170357363 11.830408656 Calling exit ...