Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 112.5 kB / 19.81 MB, free: 2.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001561/0.001561, allocations: 216.5 kB / 23 MB, free: 5.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.2 MB / 256.2 MB, free: 8.543 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2391/0.2391, allocations: 46.88 MB / 359.4 MB, free: 4.906 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 87.84 kB / 0.4942 GB, free: 8.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3744, allocations: 65.99 MB / 0.5587 GB, free: 5.148 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003317/0.3777, allocations: 1.733 MB / 0.5604 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3794, allocations: 1.053 MB / 0.5614 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.3795, allocations: 7.938 kB / 0.5614 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.3799, allocations: 55.75 kB / 0.5614 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.3802, allocations: 99.59 kB / 0.5615 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.3804, allocations: 75.67 kB / 0.5616 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.3806, allocations: 103.7 kB / 0.5617 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3807, allocations: 5.828 kB / 0.5617 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3808, allocations: 43.78 kB / 0.5618 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.287e-05/0.3809, allocations: 39.72 kB / 0.5618 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.3809, allocations: 7.938 kB / 0.5618 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3811, allocations: 43.98 kB / 0.5618 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.222e-05/0.3811, allocations: 35.84 kB / 0.5619 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.3812, allocations: 39.67 kB / 0.5619 GB, free: 1.797 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.3814, allocations: 135.4 kB / 0.562 GB, free: 1.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3815, allocations: 3.938 kB / 0.5621 GB, free: 1.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3815, allocations: 4 kB / 0.5621 GB, free: 1.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3815, allocations: 0 / 0.5621 GB, free: 1.656 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.0006793/0.3821, allocations: 458.3 kB / 0.5625 GB, free: 1.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3822, allocations: 8.031 kB / 0.5625 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.3822, allocations: 38.75 kB / 0.5625 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.3823, allocations: 12.84 kB / 0.5625 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.3826, allocations: 221.1 kB / 0.5628 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.3826, allocations: 384 / 0.5628 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.3826, allocations: 4.375 kB / 0.5628 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3828, allocations: 61.73 kB / 0.5628 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3828, allocations: 0 / 0.5628 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3828, allocations: 0 / 0.5628 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3828, allocations: 0 / 0.5628 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.3829, allocations: 23.98 kB / 0.5628 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004377/0.3833, allocations: 304.8 kB / 0.5631 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.3835, allocations: 58.61 kB / 0.5632 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.3836, allocations: 16.86 kB / 0.5632 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3836, allocations: 0 / 0.5632 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.3838, allocations: 71.39 kB / 0.5633 GB, free: 232 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3838, allocations: 0 / 0.5633 GB, free: 232 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005581/0.3843, allocations: 181.3 kB / 0.5634 GB, free: 44 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.3844, allocations: 51.41 kB / 0.5635 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.3847, allocations: 274.8 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.3847, allocations: 33.7 kB / 0.5638 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3848, allocations: 116.1 kB / 0.5639 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.3848, allocations: 23.8 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.3849, allocations: 25.7 kB / 0.564 GB, free: 15.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.385, allocations: 330.8 kB / 0.5643 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.3851, allocations: 19.98 kB / 0.5643 GB, free: 15.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.3852, allocations: 41.64 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.3853, allocations: 61.91 kB / 0.5644 GB, free: 15.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3853, allocations: 0 / 0.5644 GB, free: 15.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002027/0.3855, allocations: 113.4 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.3855, allocations: 4 kB / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.3855, allocations: 0 / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3855, allocations: 4.375 kB / 0.5645 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.827e-05/0.3856, allocations: 23.92 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.3856, allocations: 0 / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.3857, allocations: 8 kB / 0.5645 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.3857, allocations: 4.031 kB / 0.5645 GB, free: 14.86 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 (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.0001347/0.3858, allocations: 144.8 kB / 0.5647 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3859, allocations: 19.89 kB / 0.5647 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002604/0.3861, allocations: 123.2 kB / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3861, allocations: 0 / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3861, allocations: 0 / 0.5648 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3861, allocations: 4 kB / 0.5648 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.3866, allocations: 411.2 kB / 0.5652 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3866, allocations: 0 / 0.5652 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.3867, allocations: 11.98 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3867, allocations: 0 / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3867, allocations: 4 kB / 0.5652 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3867, allocations: 3.938 kB / 0.5652 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.3867, allocations: 3.938 kB / 0.5652 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3869, allocations: 204.3 kB / 0.5654 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.387, allocations: 89.02 kB / 0.5655 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.387, allocations: 4 kB / 0.5655 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.3871, allocations: 7.922 kB / 0.5655 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.3871, allocations: 8 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3871, allocations: 4 kB / 0.5655 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.3873, allocations: 204.6 kB / 0.5657 GB, free: 13.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3873, allocations: 0 / 0.5657 GB, free: 13.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.3876, allocations: 23.94 kB / 0.5657 GB, free: 13.51 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: 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 (8): * Single equations (assignments): 6 * 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.002157/0.3897, allocations: 1.098 MB / 0.5668 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000203/0.3899, allocations: 67.83 kB / 0.5669 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3899, allocations: 0 / 0.5669 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.164e-05/0.39, allocations: 23.98 kB / 0.5669 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.3904, allocations: 31.2 kB / 0.5669 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3925, allocations: 1.839 MB / 0.5687 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.3929, allocations: 0.7196 MB / 0.5694 GB, free: 9.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.71e-05/0.3929, allocations: 20.88 kB / 0.5695 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.749e-05/0.393, allocations: 43.42 kB / 0.5695 GB, free: 9.699 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.393, allocations: 3.938 kB / 0.5695 GB, free: 9.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.4189, allocations: 3.813 MB / 0.5732 GB, free: 5.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.416, allocations: 3.859 kB / 0.5732 GB, free: 5.902 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.32738242999767] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.540926917019533 8.557937532 8.173006642 Calling exit ...