Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001986/0.001986, 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.002155/0.002155, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.504/1.504, 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.2718/0.2718, allocations: 46.94 MB / 361.7 MB, free: 4.355 MB / 286.1 MB " [Timeout remaining time 179] 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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.91 kB / 0.497 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3626, allocations: 66.03 MB / 0.5615 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00335/0.3659, allocations: 1.767 MB / 0.5632 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3678, allocations: 1.049 MB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.747e-05/0.3679, allocations: 0 / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.3683, allocations: 115.6 kB / 0.5644 GB, free: 1.516 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003351/0.3686, allocations: 123.5 kB / 0.5645 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.3688, allocations: 79.67 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.369, allocations: 127.7 kB / 0.5647 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3691, allocations: 21.88 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3692, allocations: 59.7 kB / 0.5647 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.3694, allocations: 75.73 kB / 0.5648 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.3694, allocations: 8 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000129/0.3695, allocations: 59.97 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.749e-05/0.3696, allocations: 23.92 kB / 0.5649 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.3696, allocations: 43.67 kB / 0.5649 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.3699, allocations: 151.3 kB / 0.5651 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.3699, allocations: 4 kB / 0.5651 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3699, allocations: 3.938 kB / 0.5651 GB, free: 0.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3699, allocations: 0 / 0.5651 GB, free: 0.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006058/0.3705, allocations: 373.3 kB / 0.5655 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3706, allocations: 16.03 kB / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.448e-05/0.3706, allocations: 192 / 0.5655 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.3706, allocations: 38.73 kB / 0.5655 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.3707, allocations: 16.84 kB / 0.5655 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.371, allocations: 158.4 kB / 0.5657 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3711, allocations: 16.06 kB / 0.5657 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.192e-05/0.3711, allocations: 7.953 kB / 0.5657 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3713, allocations: 61.64 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3713, allocations: 0 / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.3713, allocations: 8 kB / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3713, allocations: 0 / 0.5658 GB, free: 0 / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3714, allocations: 19.98 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.3719, allocations: 283.8 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.3722, allocations: 58.48 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.3723, allocations: 24.97 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.3723, allocations: 3.984 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.3725, allocations: 67.39 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.3725, allocations: 3.938 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008778/0.3734, allocations: 253.2 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3734, allocations: 55.34 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.3737, allocations: 250.8 kB / 0.5667 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3737, allocations: 25.7 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.3738, allocations: 112.1 kB / 0.5669 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.586e-05/0.3739, allocations: 39.69 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.3739, allocations: 29.7 kB / 0.5669 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3741, allocations: 326.8 kB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.549e-05/0.3742, allocations: 31.98 kB / 0.5673 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.594e-05/0.3742, allocations: 45.7 kB / 0.5673 GB, free: 14.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3744, allocations: 85.69 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3744, allocations: 0 / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002281/0.3746, allocations: 133.5 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3746, allocations: 8 kB / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3746, allocations: 0 / 0.5675 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3747, allocations: 3.938 kB / 0.5675 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.3747, allocations: 23.92 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3748, allocations: 8.031 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.863e-05/0.3748, allocations: 4 kB / 0.5676 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.3748, allocations: 4 kB / 0.5676 GB, free: 13.99 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 (13): * Single equations (assignments): 13 * 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.0001232/0.3749, allocations: 137.8 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.375, allocations: 15.91 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.3753, allocations: 147.6 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3753, allocations: 3.938 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3753, allocations: 4 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3753, allocations: 4 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.3758, allocations: 431 kB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3758, allocations: 0 / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.462e-05/0.3759, allocations: 12 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3759, allocations: 0 / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.3759, allocations: 8 kB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3759, allocations: 0 / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.3759, allocations: 12.05 kB / 0.5683 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3762, allocations: 233 kB / 0.5685 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.368e-05/0.3762, allocations: 11.91 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.3762, allocations: 4 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.912e-05/0.3763, allocations: 7.984 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3764, allocations: 11.98 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.3764, allocations: 4 kB / 0.5686 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.3766, allocations: 196.2 kB / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3766, allocations: 0 / 0.5688 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3768, allocations: 27.94 kB / 0.5688 GB, free: 12.65 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 (11): * Single equations (assignments): 9 * 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.002558/0.3794, allocations: 1.182 MB / 0.5699 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.3796, allocations: 79.84 kB / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3796, allocations: 0 / 0.57 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.3797, allocations: 31.92 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.3801, allocations: 44.09 kB / 0.5701 GB, free: 11.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.3824, allocations: 1.887 MB / 0.5719 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.3827, allocations: 0.7197 MB / 0.5726 GB, free: 8.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.858e-05/0.3828, allocations: 20.62 kB / 0.5727 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.3828, allocations: 47.42 kB / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3828, allocations: 0 / 0.5727 GB, free: 8.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.4074, allocations: 4.249 MB / 0.5769 GB, free: 4.535 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.53, allocations: 6.406 kB / 0.5769 GB, free: 4.531 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.771435614966322] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 11.764864237979054 11.785212082 11.410894512 Calling exit ...