Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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.001338/0.001338, allocations: 105.1 kB / 21.22 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.001374/0.001374, allocations: 211.8 kB / 24.51 MB, free: 3.973 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.2241/0.2241, allocations: 44.93 MB / 359.6 MB, free: 6.082 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20",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.0022/0.0022, allocations: 63.89 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4061, allocations: 65.48 MB / 0.5578 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.004518/0.4106, allocations: 1.701 MB / 0.5595 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.4133, allocations: 0.9637 MB / 0.5604 GB, free: 4.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.4134, allocations: 3.938 kB / 0.5604 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.4138, allocations: 43.77 kB / 0.5604 GB, free: 4.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.4143, allocations: 99.59 kB / 0.5605 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.4146, allocations: 79.67 kB / 0.5606 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.4148, allocations: 107.7 kB / 0.5607 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.415, allocations: 5.828 kB / 0.5607 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.4151, allocations: 43.8 kB / 0.5608 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.4152, allocations: 51.64 kB / 0.5608 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.4152, allocations: 4 kB / 0.5608 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.4154, allocations: 43.98 kB / 0.5609 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.963e-05/0.4155, allocations: 19.92 kB / 0.5609 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.4155, allocations: 27.8 kB / 0.5609 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.4158, allocations: 119.5 kB / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4158, allocations: 0 / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4159, allocations: 0 / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4159, allocations: 0 / 0.561 GB, free: 4.223 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.000761/0.4166, allocations: 355.9 kB / 0.5614 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.4167, allocations: 12.03 kB / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.524e-05/0.4167, allocations: 192 / 0.5614 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.4167, allocations: 38.73 kB / 0.5614 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.4168, allocations: 8.891 kB / 0.5614 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.4172, allocations: 155 kB / 0.5616 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.4172, allocations: 8.125 kB / 0.5616 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.4172, allocations: 4 kB / 0.5616 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.4174, allocations: 53.67 kB / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4174, allocations: 0 / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.4174, allocations: 0 / 0.5616 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.4175, allocations: 4 kB / 0.5616 GB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.712e-05/0.4176, allocations: 23.92 kB / 0.5617 GB, free: 3.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.4181, allocations: 263.9 kB / 0.5619 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.4183, allocations: 50.69 kB / 0.562 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.905e-05/0.4184, allocations: 20.84 kB / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.4184, allocations: 7.938 kB / 0.562 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002012/0.4186, allocations: 63.39 kB / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.4186, allocations: 0 / 0.562 GB, free: 3.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007619/0.4194, allocations: 185.3 kB / 0.5622 GB, free: 2.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.4194, allocations: 63.39 kB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002883/0.4197, allocations: 202.2 kB / 0.5625 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.4197, allocations: 25.7 kB / 0.5625 GB, free: 2.543 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4198, allocations: 104.1 kB / 0.5626 GB, free: 2.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.4199, allocations: 27.78 kB / 0.5626 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.4199, allocations: 17.72 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4201, allocations: 326.8 kB / 0.563 GB, free: 2.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.4203, allocations: 20 kB / 0.563 GB, free: 2.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.4204, allocations: 41.64 kB / 0.563 GB, free: 1.992 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.4205, allocations: 73.62 kB / 0.5631 GB, free: 1.914 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4205, allocations: 3.938 kB / 0.5631 GB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002778/0.4208, allocations: 113.6 kB / 0.5632 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4208, allocations: 4 kB / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4209, allocations: 0 / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4209, allocations: 0 / 0.5632 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.421, allocations: 19.98 kB / 0.5632 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.421, allocations: 3.938 kB / 0.5632 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.421, allocations: 4.031 kB / 0.5632 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4211, allocations: 4.375 kB / 0.5632 GB, free: 1.758 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.0001258/0.4212, allocations: 125.8 kB / 0.5633 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.4212, allocations: 15.91 kB / 0.5634 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.4215, allocations: 119 kB / 0.5635 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.4215, allocations: 3.984 kB / 0.5635 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.4215, allocations: 11.94 kB / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4215, allocations: 0 / 0.5635 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005295/0.4221, allocations: 366.4 kB / 0.5638 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4221, allocations: 8.031 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.632e-05/0.4221, allocations: 11.94 kB / 0.5639 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.4221, allocations: 7.922 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4221, allocations: 4 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4221, allocations: 0 / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4221, allocations: 0 / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.4224, allocations: 212.2 kB / 0.5641 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.4224, allocations: 15.89 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.4225, allocations: 3.984 kB / 0.5641 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.4225, allocations: 4 kB / 0.5641 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.4226, allocations: 11.98 kB / 0.5641 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.4226, allocations: 8.375 kB / 0.5641 GB, free: 0.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001429/0.4227, allocations: 148.2 kB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4227, allocations: 0 / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.423, allocations: 27.94 kB / 0.5643 GB, free: 0.5781 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.002473/0.4255, allocations: 1.142 MB / 0.5654 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.4257, allocations: 55.91 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4257, allocations: 0 / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.4258, allocations: 35.92 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.4262, allocations: 34.53 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.4284, allocations: 1.681 MB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.4285, allocations: 88.19 kB / 0.5672 GB, free: 13.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.433e-05/0.4286, allocations: 12.97 kB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.312e-05/0.4287, allocations: 35.42 kB / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4287, allocations: 0 / 0.5673 GB, free: 13.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.4534, allocations: 3.816 MB / 0.571 GB, free: 9.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.77, allocations: 2.406 kB / 0.571 GB, free: 9.836 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.770281571079977] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.99238690698985 12.016755264 11.596251142 Calling exit ...