Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.002084/0.002084, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001938/0.001938, allocations: 212.5 kB / 24.51 MB, free: 3.914 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.56/1.56, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.2345/0.2345, allocations: 46.96 MB / 361.7 MB, free: 4.035 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.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00297/0.00297, allocations: 59.91 kB / 0.4969 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.349, allocations: 66.03 MB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003165/0.3522, allocations: 1.74 MB / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.3539, allocations: 0.9637 MB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.467e-05/0.3539, allocations: 4 kB / 0.5641 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.3543, allocations: 103.7 kB / 0.5642 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.3546, allocations: 131.4 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001926/0.3548, allocations: 83.72 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.355, allocations: 139.6 kB / 0.5645 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.171e-05/0.3551, allocations: 17.81 kB / 0.5645 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.3552, allocations: 55.77 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.3553, allocations: 75.73 kB / 0.5646 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.3553, allocations: 4 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3554, allocations: 67.97 kB / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.3555, allocations: 31.84 kB / 0.5647 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/0.3556, allocations: 35.69 kB / 0.5648 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.3558, allocations: 163.3 kB / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3558, allocations: 0 / 0.5649 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3558, allocations: 4 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3558, allocations: 0 / 0.5649 GB, free: 0.582 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005566/0.3564, allocations: 393.2 kB / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3564, allocations: 12.02 kB / 0.5653 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.195e-05/0.3564, allocations: 4.188 kB / 0.5653 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.3564, allocations: 30.75 kB / 0.5654 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.3565, allocations: 16.84 kB / 0.5654 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.3568, allocations: 163.2 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3568, allocations: 12.11 kB / 0.5655 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.3568, allocations: 4 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.357, allocations: 69.66 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.357, allocations: 0 / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.357, allocations: 8 kB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.357, allocations: 0 / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.3571, allocations: 39.91 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004385/0.3576, allocations: 287.8 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.3579, allocations: 74.58 kB / 0.566 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.781e-05/0.3579, allocations: 25 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.3579, allocations: 4 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.3581, allocations: 83.36 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.3581, allocations: 4 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.000846/0.359, allocations: 289 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.359, allocations: 51.41 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.3593, allocations: 267.8 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.3593, allocations: 33.64 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.3594, allocations: 112.1 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.887e-05/0.3594, allocations: 43.61 kB / 0.5669 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.3595, allocations: 33.7 kB / 0.5669 GB, free: 14.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3596, allocations: 326.8 kB / 0.5672 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.52e-05/0.3597, allocations: 43.92 kB / 0.5673 GB, free: 14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.3598, allocations: 49.69 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.36, allocations: 97.75 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.36, allocations: 0 / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002704/0.3602, allocations: 149.5 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3603, allocations: 7.984 kB / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3603, allocations: 0 / 0.5676 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3603, allocations: 7.938 kB / 0.5676 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.3604, allocations: 20.03 kB / 0.5676 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3604, allocations: 7.984 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.3604, allocations: 3.953 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3604, allocations: 4 kB / 0.5676 GB, free: 13.64 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 (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.0001316/0.3606, allocations: 145.8 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3606, allocations: 15.91 kB / 0.5678 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/0.361, allocations: 175.7 kB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.361, allocations: 3.938 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.361, allocations: 0 / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.361, allocations: 0 / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.3616, allocations: 471 kB / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3616, allocations: 0 / 0.5684 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.3617, allocations: 23.98 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3617, allocations: 0 / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3617, allocations: 8 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3617, allocations: 0 / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3617, allocations: 0 / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.3621, allocations: 269 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.3621, allocations: 15.95 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.3621, allocations: 12 kB / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.645e-05/0.3622, allocations: 0 / 0.5687 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.3623, allocations: 11.98 kB / 0.5687 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3623, allocations: 11.98 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.3625, allocations: 193.5 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3625, allocations: 4 kB / 0.5689 GB, free: 12.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000286/0.3628, allocations: 35.92 kB / 0.5689 GB, free: 12.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002806/0.3656, allocations: 1.247 MB / 0.5701 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3658, allocations: 91.83 kB / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3658, allocations: 0 / 0.5702 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3659, allocations: 51.86 kB / 0.5703 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.3663, allocations: 45.52 kB / 0.5703 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.3687, allocations: 1.98 MB / 0.5723 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001494/0.3689, allocations: 118.8 kB / 0.5724 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.758e-05/0.3689, allocations: 21.06 kB / 0.5724 GB, free: 8.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.369, allocations: 51.42 kB / 0.5724 GB, free: 8.699 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.369, allocations: 0 / 0.5724 GB, free: 8.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.3939, allocations: 4.614 MB / 0.5769 GB, free: 4.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 14 kB / 0.577 GB, free: 4.152 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.033063650946133] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd2_t_new.y'] 12.038481904077344 12.063197724 11.702340795 Calling exit ...