Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.001669/0.001669, 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.001526/0.001526, allocations: 214.7 kB / 24.52 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.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2214/0.2214, allocations: 44.92 MB / 359.6 MB, free: 6.09 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 63.91 kB / 0.4939 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3572, allocations: 65.46 MB / 0.5578 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003642/0.3609, allocations: 1.716 MB / 0.5595 GB, free: 5.812 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3628, allocations: 0.9715 MB / 0.5604 GB, free: 4.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.3628, allocations: 3.938 kB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.3631, allocations: 39.77 kB / 0.5605 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.3635, allocations: 91.61 kB / 0.5605 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.3637, allocations: 83.66 kB / 0.5606 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.364, allocations: 107.7 kB / 0.5607 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.978e-05/0.3641, allocations: 9.812 kB / 0.5607 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.3641, allocations: 39.8 kB / 0.5608 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.3642, allocations: 39.78 kB / 0.5608 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.3643, allocations: 4 kB / 0.5608 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3644, allocations: 43.97 kB / 0.5609 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.3645, allocations: 23.86 kB / 0.5609 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.3645, allocations: 19.88 kB / 0.5609 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.3648, allocations: 127.4 kB / 0.561 GB, free: 4.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3648, allocations: 3.984 kB / 0.561 GB, free: 4.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3648, allocations: 0 / 0.561 GB, free: 4.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.3648, allocations: 0 / 0.561 GB, free: 4.211 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005783/0.3654, allocations: 349.5 kB / 0.5614 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3654, allocations: 12.03 kB / 0.5614 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.559e-05/0.3654, allocations: 8.172 kB / 0.5614 GB, free: 3.82 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.3654, allocations: 30.75 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.3655, allocations: 12.89 kB / 0.5614 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.3658, allocations: 151 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3658, allocations: 8.125 kB / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3658, allocations: 0 / 0.5616 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.366, allocations: 57.67 kB / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.366, allocations: 0 / 0.5616 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.366, allocations: 3.938 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.366, allocations: 0 / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.763e-05/0.3661, allocations: 27.98 kB / 0.5617 GB, free: 3.496 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.3665, allocations: 263.8 kB / 0.5619 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3667, allocations: 50.69 kB / 0.562 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.534e-05/0.3668, allocations: 24.78 kB / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.3668, allocations: 0 / 0.562 GB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.367, allocations: 67.39 kB / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.367, allocations: 0 / 0.562 GB, free: 3.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006231/0.3676, allocations: 193.2 kB / 0.5622 GB, free: 2.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.3676, allocations: 59.41 kB / 0.5623 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3678, allocations: 206.2 kB / 0.5625 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3679, allocations: 25.7 kB / 0.5625 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.3679, allocations: 104.1 kB / 0.5626 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.368, allocations: 23.8 kB / 0.5626 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.65e-05/0.368, allocations: 25.7 kB / 0.5626 GB, free: 2.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3682, allocations: 326.8 kB / 0.563 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.3683, allocations: 16 kB / 0.563 GB, free: 2.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.3684, allocations: 33.7 kB / 0.563 GB, free: 1.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3685, allocations: 69.64 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3685, allocations: 0 / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002167/0.3687, allocations: 117.5 kB / 0.5632 GB, free: 1.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3687, allocations: 4 kB / 0.5632 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3687, allocations: 4 kB / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3688, allocations: 0 / 0.5632 GB, free: 1.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.477e-05/0.3689, allocations: 15.98 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3689, allocations: 4.094 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.3689, allocations: 4.375 kB / 0.5632 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.3689, allocations: 8.031 kB / 0.5632 GB, free: 1.746 MB / 398.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.0001175/0.369, allocations: 125.8 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.3691, allocations: 11.91 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/0.3694, allocations: 127 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3694, allocations: 4 kB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3694, allocations: 3.938 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3694, allocations: 0 / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.3699, allocations: 370.4 kB / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3699, allocations: 0 / 0.5638 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.3699, allocations: 19.95 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.37, allocations: 7.938 kB / 0.5639 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.37, allocations: 4.219 kB / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.37, allocations: 0 / 0.5639 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.37, allocations: 4 kB / 0.5639 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.3703, allocations: 216.2 kB / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.3703, allocations: 15.88 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.3703, allocations: 4 kB / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3704, allocations: 0 / 0.5641 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3704, allocations: 11.98 kB / 0.5641 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.3705, allocations: 8 kB / 0.5641 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001488/0.3706, allocations: 152.2 kB / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3706, allocations: 0 / 0.5643 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.3709, allocations: 23.94 kB / 0.5643 GB, free: 0.5625 MB / 398.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.002523/0.3734, allocations: 1.132 MB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.3736, allocations: 63.91 kB / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.3736, allocations: 0 / 0.5655 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.396e-05/0.3737, allocations: 35.8 kB / 0.5655 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3741, allocations: 30.94 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.3763, allocations: 1.674 MB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.818e-05/0.3764, allocations: 92.31 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.35e-05/0.3765, allocations: 12.97 kB / 0.5673 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.3766, allocations: 39.42 kB / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3766, allocations: 0 / 0.5673 GB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.4016, allocations: 3.821 MB / 0.571 GB, free: 9.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 9.281 kB / 0.571 GB, free: 9.816 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.764980250038207] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.941151048056781 11.958922034 11.590877987 Calling exit ...