Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001432/0.001432, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00137/0.00137, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.514/1.514, allocations: 230.5 MB / 258.2 MB, free: 8.008 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.249/0.249, allocations: 46.93 MB / 361.6 MB, free: 4.188 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.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16",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.002309/0.002309, allocations: 76.16 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3813, allocations: 66.1 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.00325/0.3845, allocations: 1.63 MB / 0.5631 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.3856, allocations: 0.5654 MB / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.6e-05/0.3857, allocations: 0 / 0.5637 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.386, allocations: 79.7 kB / 0.5638 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003067/0.3863, allocations: 103.6 kB / 0.5639 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.3866, allocations: 111.7 kB / 0.564 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.3868, allocations: 87.75 kB / 0.564 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3869, allocations: 11.98 kB / 0.5641 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.831e-05/0.387, allocations: 39.91 kB / 0.5641 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3871, allocations: 55.81 kB / 0.5641 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3871, allocations: 7.938 kB / 0.5642 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3872, allocations: 43.98 kB / 0.5642 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.111e-05/0.3873, allocations: 31.84 kB / 0.5642 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.3873, allocations: 35.73 kB / 0.5643 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.3875, allocations: 103.5 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3876, allocations: 0 / 0.5644 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.918e-06/0.3876, allocations: 4 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3876, allocations: 4 kB / 0.5644 GB, free: 1.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005449/0.3881, allocations: 341.6 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.3881, allocations: 8.031 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.3882, allocations: 34.75 kB / 0.5647 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.453e-05/0.3882, allocations: 12.84 kB / 0.5647 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3884, allocations: 150.9 kB / 0.5649 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.3884, allocations: 4.359 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.256e-05/0.3885, allocations: 8.375 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3886, allocations: 50.25 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3886, allocations: 3.938 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.3886, allocations: 11.98 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3886, allocations: 0 / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3887, allocations: 23.98 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00042/0.3892, allocations: 279.8 kB / 0.5653 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.3893, allocations: 50.56 kB / 0.5653 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.521e-05/0.3893, allocations: 20.94 kB / 0.5653 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.3894, allocations: 0 / 0.5653 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.3894, allocations: 30.56 kB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.3894, allocations: 0 / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009228/0.3903, allocations: 249.2 kB / 0.5656 GB, free: 12 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.3904, allocations: 55.41 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.3906, allocations: 210.3 kB / 0.5658 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3906, allocations: 25.7 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.858e-05/0.3907, allocations: 108.1 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.101e-05/0.3908, allocations: 31.73 kB / 0.566 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.3908, allocations: 25.72 kB / 0.566 GB, free: 15.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3909, allocations: 326.8 kB / 0.5663 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.894e-05/0.391, allocations: 31.97 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.497e-05/0.3911, allocations: 27.98 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3913, allocations: 68.81 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3913, allocations: 0 / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002298/0.3915, allocations: 129.7 kB / 0.5666 GB, free: 14.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3915, allocations: 4 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3915, allocations: 4 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3915, allocations: 0 / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3916, allocations: 15.98 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3917, allocations: 0 / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.21e-05/0.3917, allocations: 7.984 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3917, allocations: 7.938 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.000117/0.3918, allocations: 130.7 kB / 0.5667 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.3919, allocations: 15.91 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003173/0.3922, allocations: 131 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3922, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3922, allocations: 0 / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3922, allocations: 3.984 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/0.3928, allocations: 394.7 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3928, allocations: 0 / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.3928, allocations: 19.98 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3928, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.3929, allocations: 3.938 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3929, allocations: 4 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3929, allocations: 4 kB / 0.5673 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.3931, allocations: 220.3 kB / 0.5675 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.3932, allocations: 15.91 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.3932, allocations: 3.938 kB / 0.5675 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.3933, allocations: 11.92 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.3933, allocations: 4 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.3933, allocations: 0 / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3934, allocations: 172.2 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3934, allocations: 4 kB / 0.5677 GB, free: 13.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3937, allocations: 23.94 kB / 0.5677 GB, free: 13.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002167/0.3959, allocations: 1.096 MB / 0.5688 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002469/0.3961, allocations: 79.88 kB / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3961, allocations: 0 / 0.5689 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.135e-05/0.3962, allocations: 35.98 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.3966, allocations: 15.98 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.3987, allocations: 1.712 MB / 0.5706 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.399, allocations: 0.7196 MB / 0.5713 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.578e-05/0.3991, allocations: 16.97 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.3992, allocations: 35.42 kB / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3992, allocations: 0 / 0.5714 GB, free: 9.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02768/0.4269, allocations: 3.246 MB / 0.5745 GB, free: 6.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.345, allocations: 7.188 kB / 0.5745 GB, free: 6.742 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test16.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.360470484010875] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.488819286692888 8.50616836 8.11488519 Calling exit ...