Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001728/0.001728, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002167/0.002167, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2316/0.2316, allocations: 46.93 MB / 361.7 MB, free: 4.258 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.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.89 kB / 0.497 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3124, allocations: 66.03 MB / 0.5615 GB, free: 4.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003173/0.3155, allocations: 1.846 MB / 0.5633 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3175, allocations: 1.112 MB / 0.5644 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.37e-05/0.3176, allocations: 7.938 kB / 0.5644 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.3182, allocations: 307.3 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005372/0.3187, allocations: 259.2 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.319, allocations: 107.7 kB / 0.565 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.3193, allocations: 271.2 kB / 0.5653 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.3194, allocations: 5.812 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.3196, allocations: 143.5 kB / 0.5654 GB, free: 396 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.3199, allocations: 223.4 kB / 0.5656 GB, free: 172 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.3199, allocations: 8 kB / 0.5656 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.32, allocations: 47.98 kB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3202, allocations: 131.7 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3204, allocations: 154.7 kB / 0.566 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.3208, allocations: 384.1 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3208, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3208, allocations: 4 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.3208, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009994/0.3218, allocations: 0.6825 MB / 0.567 GB, free: 14.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3219, allocations: 11.97 kB / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.174e-05/0.3219, allocations: 192 / 0.567 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3219, allocations: 38.73 kB / 0.567 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.322, allocations: 48.61 kB / 0.5671 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.3226, allocations: 410.4 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3226, allocations: 4.125 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3227, allocations: 4 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3229, allocations: 95.33 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3229, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.3229, allocations: 0 / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3229, allocations: 4 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.323, allocations: 31.92 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004457/0.3235, allocations: 357.4 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002909/0.3237, allocations: 105.1 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.3239, allocations: 37.7 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3239, allocations: 4 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.3242, allocations: 105 kB / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.3242, allocations: 0 / 0.5682 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005614/0.3247, allocations: 197.3 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.3248, allocations: 85.05 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.326, allocations: 1.058 MB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.326, allocations: 33.7 kB / 0.5695 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.3262, allocations: 228.1 kB / 0.5697 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.3263, allocations: 27.8 kB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.994e-05/0.3263, allocations: 33.7 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.3265, allocations: 366.8 kB / 0.5701 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.188e-05/0.3266, allocations: 39.8 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.3267, allocations: 59.41 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3269, allocations: 91.8 kB / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3269, allocations: 0 / 0.5703 GB, free: 11.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003118/0.3272, allocations: 177.2 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.3272, allocations: 10.66 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3273, allocations: 3.938 kB / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3273, allocations: 0 / 0.5705 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3274, allocations: 27.92 kB / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3274, allocations: 0 / 0.5705 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3275, allocations: 11.92 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3275, allocations: 8 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000249/0.3278, allocations: 225.8 kB / 0.5708 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.3278, allocations: 55.62 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.3283, allocations: 197.8 kB / 0.571 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3283, allocations: 4 kB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3283, allocations: 0 / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3283, allocations: 0 / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003245/0.3286, allocations: 328.4 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3286, allocations: 3.938 kB / 0.5713 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.3287, allocations: 12.25 kB / 0.5713 GB, free: 9.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3287, allocations: 4 kB / 0.5714 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3287, allocations: 4 kB / 0.5714 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.3287, allocations: 4 kB / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3287, allocations: 0 / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.329, allocations: 221.4 kB / 0.5716 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.3292, allocations: 67.59 kB / 0.5716 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.3292, allocations: 8 kB / 0.5716 GB, free: 9.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.563e-05/0.3293, allocations: 7.938 kB / 0.5717 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.3293, allocations: 7.984 kB / 0.5717 GB, free: 9.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.3294, allocations: 11.98 kB / 0.5717 GB, free: 9.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008834/0.3302, allocations: 0.78 MB / 0.5724 GB, free: 8.855 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3302, allocations: 4 kB / 0.5724 GB, free: 8.852 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.3305, allocations: 40 kB / 0.5725 GB, free: 8.812 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.002215/0.3327, allocations: 1.065 MB / 0.5735 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.333, allocations: 75.91 kB / 0.5736 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.333, allocations: 0 / 0.5736 GB, free: 7.797 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.3332, allocations: 44.09 kB / 0.5736 GB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.3337, allocations: 72.2 kB / 0.5737 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/0.3399, allocations: 4.571 MB / 0.5782 GB, free: 3.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005801/0.3405, allocations: 0.8507 MB / 0.579 GB, free: 2.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3407, allocations: 62.92 kB / 0.579 GB, free: 2.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.3409, allocations: 155.4 kB / 0.5792 GB, free: 1.922 MB / 414.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3409, allocations: 3.938 kB / 0.5792 GB, free: 1.918 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03081/0.3717, allocations: 9.398 MB / 0.5884 GB, free: 8.617 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.52, allocations: 11.86 kB / 0.5884 GB, free: 8.605 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --stepSize=1.56986 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.511662525997963] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.743993601005059 12.760014563 12.435896058 Calling exit ...