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.001298/0.001298, 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.001497/0.001497, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2339/0.2339, allocations: 46.97 MB / 361.7 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.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.00196/0.00196, allocations: 71.89 kB / 0.4969 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3296, allocations: 66.03 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003252/0.3328, allocations: 1.709 MB / 0.5631 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.3355, allocations: 1.657 MB / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.911e-05/0.3356, allocations: 0 / 0.5647 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3358, allocations: 39.77 kB / 0.5647 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.3362, allocations: 99.53 kB / 0.5648 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.3364, allocations: 83.72 kB / 0.5649 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.3366, allocations: 107.6 kB / 0.565 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.271e-05/0.3366, allocations: 13.81 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.569e-05/0.3367, allocations: 47.78 kB / 0.5651 GB, free: 472 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3369, allocations: 47.77 kB / 0.5651 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3369, allocations: 4 kB / 0.5651 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001849/0.3371, allocations: 103.9 kB / 0.5652 GB, free: 316 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.897e-05/0.3371, allocations: 19.91 kB / 0.5653 GB, free: 296 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.3372, allocations: 27.86 kB / 0.5653 GB, free: 268 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003449/0.3375, allocations: 171.4 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3375, allocations: 0 / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3375, allocations: 4 kB / 0.5654 GB, free: 92 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3375, allocations: 0 / 0.5654 GB, free: 92 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.0005887/0.3381, allocations: 357.6 kB / 0.5658 GB, free: 15.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3382, allocations: 8.031 kB / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.191e-05/0.3382, allocations: 192 / 0.5658 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.3382, allocations: 38.73 kB / 0.5658 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.3383, allocations: 12.84 kB / 0.5658 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.3385, allocations: 150.5 kB / 0.566 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3386, allocations: 4 kB / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3386, allocations: 0 / 0.566 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3388, allocations: 109 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3388, allocations: 3.938 kB / 0.5661 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3388, allocations: 4 kB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3388, allocations: 0 / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.3389, allocations: 19.98 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.3393, allocations: 248 kB / 0.5664 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3395, allocations: 62.61 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.3395, allocations: 20.84 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.3396, allocations: 8 kB / 0.5664 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3397, allocations: 67.33 kB / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3397, allocations: 0 / 0.5665 GB, free: 14.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000602/0.3403, allocations: 189.2 kB / 0.5667 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.3404, allocations: 81.11 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3406, allocations: 168.1 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3406, allocations: 25.7 kB / 0.567 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.3407, allocations: 100.1 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.3407, allocations: 35.72 kB / 0.5671 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.3408, allocations: 21.72 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3409, allocations: 322.8 kB / 0.5674 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.515e-05/0.341, allocations: 23.98 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.3411, allocations: 72.2 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.3412, allocations: 61.7 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3412, allocations: 0 / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.3414, allocations: 97.95 kB / 0.5677 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3414, allocations: 4 kB / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.3415, allocations: 0 / 0.5677 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3415, allocations: 12 kB / 0.5677 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.3416, allocations: 19.98 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3416, allocations: 0 / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.3416, allocations: 8 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3417, allocations: 4 kB / 0.5677 GB, free: 13.54 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.0001108/0.3418, allocations: 121.8 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.3418, allocations: 11.94 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.3421, allocations: 126.4 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3421, allocations: 7.938 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3421, allocations: 0 / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3421, allocations: 4 kB / 0.568 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.3426, allocations: 370.3 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3426, allocations: 3.984 kB / 0.5683 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.3427, allocations: 12 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3427, allocations: 0 / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3427, allocations: 4 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3427, allocations: 4 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3427, allocations: 0 / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.343, allocations: 216.2 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.343, allocations: 15.92 kB / 0.5686 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.343, allocations: 8 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.3431, allocations: 0 / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.3431, allocations: 7.984 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3432, allocations: 4 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3433, allocations: 138.9 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3433, allocations: 0 / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.3436, allocations: 47.83 kB / 0.5688 GB, free: 12.37 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 (9): * Single equations (assignments): 7 * 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.00262/0.3463, allocations: 1.243 MB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002739/0.3465, allocations: 67.89 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3465, allocations: 0 / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.3466, allocations: 27.92 kB / 0.5701 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.347, allocations: 27.98 kB / 0.5701 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.3492, allocations: 1.601 MB / 0.5717 GB, free: 9.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.933e-05/0.3493, allocations: 85.31 kB / 0.5717 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.414e-05/0.3494, allocations: 16.97 kB / 0.5717 GB, free: 9.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/0.3495, allocations: 39.42 kB / 0.5718 GB, free: 9.383 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3495, allocations: 4 kB / 0.5718 GB, free: 9.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.3754, allocations: 4.396 MB / 0.5761 GB, free: 5.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 17.55 kB / 0.5761 GB, free: 5.023 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.866661409032531] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.03147601603996 12.048351938 11.707721884 Calling exit ...